Hi Zhong,
Ruby can but i am not sure about Watir.
The Ruby code to get system time in Ubuntu machine:
systime.rb
mytime=`date`
puts time=mytime.split(' ')[3]
output:
10:48:31
For windows --> Please refer http://bit.ly/iub2C
Thanks
On Mon, Nov 9, 2009 at 10:04 AM, yuping zhong <[email protected]>wrote:
>
> Dear All,
>
> I want to know if Watir can get the system time.
> If true,how to do that?
>
> Thanks!
>
> -Zhong
> >
>
--
Regards,
P.Raveendran
http://raveendran.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---