Login
Remember
Register
Ask a Question
How to pause a test execution for 5 seconds at a specific point?
0
votes
asked
Aug 22, 2019
in
Selenium
by
john ganales
How to pause a test execution for 5 seconds at a specific point?
#selenium-for-load-testing
selenium-bot-detection
selenium-for-ios
ios-selenium
automated-visual-testing-
selenium
load-testing-selenium
python-selenium
selenium-online-training-videos
learning-selenium
selenium-syllabus
selenium-tools-for-testing
selenium-element
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 22, 2019
by
rahulsharma
By using java.lang.Thread.sleep(long milliseconds) method we could pause the execution for a specific time. To pause 5 seconds, we need to pass parameter as 5000 (5 seconds)
Thread.sleep(5000)
1
Thread.sleep(5000)
...