Showing posts with label break Command. Show all posts
Showing posts with label break Command. Show all posts

"break" Command

Main use of "break" command is to halt execution of script until user resume it again manually. Supposing if you want to take some actions manually at any specific stage of your currently running script, then you need to halt your current execution and you can do it with "break" command. See bellow example for better understanding.

New Test
CommandTargetValue
openhttps://www.google.com
break

openhttps://www.yahoo.com
goBack



Here first it will open "https://www.google.com" URL in browser. Second command will halt selenium IDE execution and now it will show "Pause/Resume" button enabled in selenium IDE window. Your script's execution will remain halted until you manually resume it by pressing "Pause/Resume" button on selenium IDE