Status | ||||
---|---|---|---|---|
|
Table of Contents |
---|
...
1 - Introduction
...
2 - List of waiting commands
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
We therefore recommend the use of the following commands: WaitUntilBeforeClick
commands
WaitUntilByTextBeforeClick
WaitUntilByDescBeforeClick
WaitUntilByTextExactBeforeClick
WaitUntilByIdBeforeClick
The second parameter of these methods is an optional Boolean which, if set to true, prevents the test from failing on this instruction even if it's false. The default value of this parameter is false.
This test will fail if "OK" is not found: waitUntilByTextBeforeClick,OK
This test continues on the next instruction if "OK" is not found: waitUntilByTextBeforeClick,OK,true
Use case 2 : wait the disappearance of an element
It is possible that the element expected in the display is also present in the page before loading. It is possible to wait for a view to disappear using waitUntilGone
.