sarya
15 years agoFrequent Contributor
how to retrieve current date from a date field from web page
Hi,
I have a webpage from where I want to retrieve the date that I have marked in the screenshot .As this date keeps on changing ,how can I recover the current value from the webpage.
Also there is another screenshot "history table" from which the first value of the execution date needs to be compared with the value that gets retreived from the webpage as described in the screenshot "dateformat" .
The area marked in second screenshot is the table as recognised by the test complete.This is how innertext appears for the table .
"
I have a webpage from where I want to retrieve the date that I have marked in the screenshot .As this date keeps on changing ,how can I recover the current value from the webpage.
Also there is another screenshot "history table" from which the first value of the execution date needs to be compared with the value that gets retreived from the webpage as described in the screenshot "dateformat" .
The area marked in second screenshot is the table as recognised by the test complete.This is how innertext appears for the table .
"
Job Name R2W_Version_Retention
Filter
Execution DateStatusScheduled
08 Feb 2010 02:45 PM EST CompletedNo
08 Feb 2010 02:40 PM EST CompletedNo
08 Feb 2010 11:20 AM EST CompletedYes
08 Feb 2010 10:40 AM EST CompletedNo
08 Feb 2010 10:30 AM EST CompletedNo
08 Feb 2010 10:30 AM EST CompletedNo
08 Feb 2010 10:25 AM EST CompletedNo
08 Feb 2010 10:25 AM EST CompletedNo
08 Feb 2010 10:25 AM EST CompletedNo
08 Feb 2010 10:25 AM EST CompletedNo
08 Feb 2010 10:25 AM EST CompletedNo
08 Feb 2010 10:20 AM EST CompletedNo
08 Feb 2010 10:05 AM EST CompletedYes
25 Jan 2010 11:20 AM EST CompletedYes
"
Thanks,
Sumedha