Setting current date for Robot
I have SQA Robot 188.8.131.52 I don't know how to set up the current date, each time run the script and view the result in SQA Test Log Viewer, it gives me 1994 which is not the current year
Can you please help me or suggest the way to set up the date
Re: Setting current date for Robot
Hello, sounds like you have a very old version of Robot. And, it looks like it is a y2k bug as it is showing 1994 instead of 2004. Here is the syntax for getting current time using SQABasic & Robot 2003.
Dim CurrentDate As Variant
'Initially Recorded: 08/09/2004 9:32:46 AM
'Script Name: Time
CurrentDate = Date
SQALogMEssage sqaNone, "Current Date is = " + CurrentDate,""