refactoror / SelBlocks

SelBlocks extension for Selenium IDE
10 stars 7 forks source link

Limiting the amount of runs #22

Closed UTO-QA closed 9 years ago

UTO-QA commented 9 years ago

Hi, if I use a file that has 100 records on it and I want to only run 5 of them then have the automation stop, how would I do that with SelBlocks? Thanks

apodhajsky commented 9 years ago

use break command in loop -> if (condition) then break

refactoror commented 9 years ago

if/break will work. Also, note that a condition can be specified on the break command itself. See Examples of Use section in the docs: http://refactoror.wikia.com/wiki/Selblocks_Reference