Does OpenTest support specifying implicit waits for element location or page loading?
Asked
Active
Viewed 257 times
1 Answers
1
You don't need to use implicit waits in OpenTest. All keywords know how to wait for the UI elements they interact with. Behind the scenes, OpenTest uses explicit waits, which you can customize, when necessary, by setting the explicitWaitSec
argument for a test action (the default is 10 seconds). For example:
- description: Verify that element is visible
action: org.getopentest.selenium.AssertElementVisible
args:
locator: { id: my_element }
explicitWaitSec: 20

Adrian Theodorescu
- 11,664
- 2
- 23
- 30