Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium IDE - stop test suite running on failure

Is it possible when running an entire test suite to make it stop on an assert failure?

It currently stops running that failed test then continues to run the next test.

I want it just to stop and fail on the first failure.

Thanks

like image 854
twiz911 Avatar asked Feb 27 '12 21:02

twiz911


2 Answers

I found https://addons.mozilla.org/en-US/firefox/addon/power-debugger-selenium-ide/ which is a Selenium IDE plugin which adds a Pause on fail button to Selenium IDE.

like image 157
twiz911 Avatar answered Nov 13 '22 07:11

twiz911


In selenium ide we can add Pause on fail it is pause on fail button by simple install one plugin in the selenium IDE. When pause on fail is turned on, Selenium IDE would pause the execution of the test case when there is an error is produced or a command failure

Install plugin from https://addons.mozilla.org/en-US/firefox/addon/power-debugger-selenium-ide/

like image 27
Ankit jain Avatar answered Nov 13 '22 07:11

Ankit jain