[wtr-general] Re: Can Watir fetch the system time?

2009-11-08 Thread Pallavi Sharma
Watir is designed in Ruby, and Ruby being a powerful language supports all such functionalities: Link: http://www.tutorialspoint.com/ruby/ruby_date_time.htm http://www.tutorialspoint.com/ruby/ruby_date_time.htmhope this helps. -- Pallavi. On Mon, Nov 9, 2009 at 10:04 AM, yuping zhong

[wtr-general] Re: Can Watir fetch the system time?

2009-11-08 Thread Raveendran P
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