How to use if ...else condition in selenium ide ???
1. Download the below file & store in option > file list.
2. Open the selenium ide
one example is shown below
1. Download the below file & store in option > file list.
2. Open the selenium ide
one example is shown below
Example:
store | 10 | x
gotolabel | target1 |
getEval | alert("Skip This"); |
label | target1 |
store | 14 | y
gotoIf | ${y} > ${x} | target2
getEval | alert("Skip This"); |
label | target2 |
while | storedVars['x'] <= storedVars['y'] |
getEval | storedVars['x'] = ${x} + 1; |
endWhile | |
getEval | alert("Finished"); |
The following commands are available:
goto gotoAndWait gotoIf gotoIfAndWait
gotolabel gotolabelAndWait while whileAndWait
endWhile endWhileAndWait
Download the file
No comments:
Post a Comment