https://addons.mozilla.org/en-US/firefox/addon/85794/
After installed, restart the firefox browser. Now, Flow Control commands available in the selenium IDE.
Here are the commands:
COMMAND| TARGET |VALUE
======================================================
gotoif| CONDITION |LABELNAME
label | LABELNAME|
gotolabel | LABELNAME
Here is the example that i have used:
From the above screenshot, first i am checking whether text("Please select") present in the page using "storeTextPresent" and assign the result to variable "POPUP_EXISTS". Then i am checking whether result is "false" or not. if the result is "false", then skip the next statement and move the execution to "target1"(label). Otherwise, continue the execution to next statement.
No comments:
Post a Comment