puts "Cannot publish occurred at Time Stamp: #{Time.now}"
To find the time difference in Watir all you have to do is define a variable to read the current time:
timeStart=Time.now
And then print out the difference after storing it in another variable
elapsed= Time.now - timeStart puts "Elapsed[#{elapsed}]"
Easy, aint it!
~joviano_dias@hotmail.com
No comments:
Post a Comment