Manual and Automated Testing
›
Training Session Questions
Search
everywhere
only in this topic
Advanced Search
What is the Best way to stop script for sometime
Classic
List
Threaded
♦
♦
Locked
3 messages
Balakrishna
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
What is the Best way to stop script for sometime
Hi All,
I am running the Scripts in multiple browsers and i need some delay in script for some of the steps. So, what will be the best way to do it ? as of now i am using Tread.Sleep() and it is working some times only.
Regards,
Krishna
Balakrishna
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: What is the Best way to stop script for sometime
can any help me with this one asap. i am totally stuck with my testing.
Prabhakar
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: What is the Best way to stop script for sometime
In reply to
this post
by Balakrishna
You can use Implicit or Explicit wait.
You can study more about this here :
http://docs.seleniumhq.org/docs/04_webdriver_advanced.jsp
Free forum by Nabble
Edit this page