Re: [wtr-general] synchronisation in ruby

2010-04-14 Thread arihan sinha
Hi, I've gone through the below link http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir but it says that sleep 1 until ie.text.include? new results are loaded This code will keep sleeping until the text new results are loaded appears on the page. However, you may not want to wait forever.

Re: [wtr-general] synchronisation in ruby

2010-04-09 Thread arihan sinha
I am using wait_until and its working fine and it seems the default value is 60 secs. I mean it waits for 60 secs . If it doesnt find then status is fail. but if I want to change that to say 120 secs ( because in our apps few cases it takes more than 60 secs) then where i need to change. there

[wtr-general] synchronisation in ruby

2010-03-29 Thread arihan sinha
Hi , can I use the synchronisation statement in the ruby test rather than sleep statement. I am using some similar kind of code as below where the for loop runs with 0.5 secs gap unless the assert gets passed. once passed then it would come out of the for loop. Any other approach? Any where

Re: [wtr-general] synchronisation in ruby

2010-03-29 Thread Željko Filipin
On Mon, Mar 29, 2010 at 4:22 PM, arihan sinha arihan.si...@googlemail.com wrote: can I use the synchronisation statement in the ruby test rather than sleep statement. Did you read this? http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir Željko -- watir.com - community manager