|Re: Alternate for sleep() [message #633990 is a reply to message #633961]
||Wed, 20 October 2010 04:19
| Mariot Chauvin
Registered: July 2009
Nyna a écrit :
> Can anyone suggest me an alternate for the sleep() method.. heard
> about waitUntil(). Can anyone please explain.
> Thanks in advance :)
When you plan to use "sleep", this is for waiting something, for
instance a button enablement, a dialog display or a background job to
end. If you use the sleep method you will specify an amount of time. The
duration will depend on your computer performance and workload. In other
words, the test may work on your computer at this time but will fail in
The "waituntil" method allows you to use a condition rather than a
duration. Until the condition is checked, the test will wait.
In other words, the test will work on any computer at any time.
Hope this help,
Mariot Chauvin @ Obeo
|Re: Alternate for sleep() [message #635790 is a reply to message #634513]
||Thu, 28 October 2010 03:03
Registered: September 2010
I tried to implement the waitUntil() as you mentioned above.Please can you check the message - [ Issue in waiting for tree expansion [message #635771]].
I am facing some issues with this approach. Your help would be appreciated.
Powered by FUDForum
. Page generated in 0.01715 seconds