In my application I need to capture the current system date and Time Spent for the particular activity. But this will vary based on the script execution date and also the time taken to execute that script.
When tried the below mentioned script suggested by you, I am not clear in using the captured image in the syntax. (eg: Date current date 24-December-2008 Time spent 1.0 hours and while executing the same on the next day my current date and time spent needs to be changed as 25-December-2008 & 1.5 hours )
put formattedTime("%1m/%e/%Y") into theDate
if not imageFound(Text:theDate, TextSize:“12”, TextFont:“Arial”) then
logError “Date incorrect”
end if
How to handle the dynamic data in the text image?