Skip to content

If new alert exists

gcvfi edited this page Oct 24, 2019 · 1 revision

Back to If statement | AIQ Commands | Home


Note: Draft content, work in progress, not yet reviewed or verified.


If new alert exists

Test Steps Data
open website https://www.google.com/
wait 10 sec
if new alert exists, Switch to alert and click on ok
enter try one
Wait 5 secs
exec _js{alert("hello world")}
if new alert exists, Switch to alert and click on ok
enter try two
Wait 1 secs
exec _js{alert("hello world")}
## next step should fail
enter try three
wait 1 sec
... ...
... ...

Clone this wiki locally