Selenium IDE has some programing capacity upto some extend. There we can use If conditions and loop statements.
How to use GOtoIf and while
Click here to download while.js
How to use GOtoIf and while
If your selenium IDE does not support while or if you don't have while js in your extension Please download below js and add in your extension.
store
1
looptimes
while
storedVars.looptimes < 11
store
javascript{storedVars.looptimes++;}
gotoIf
javascript{(storedVars.looptimes==5);}
lbltest
open
http://www.yahoo.com
echo
${looptimes}
endWhile
label
lbltest
Click here to download while.js