How do I continuously run a single test case using Selenium?
Solution 1
You can use Selenium Remote Control to launch the running of your tests from the command line.
Save your test from the IDE in a Test Suite
Run your test suite from the command-line with the following syntax.
Use your favorite scripting language to script the re-running of your test over and over
An alternate approach would be to save your test from the IDE into a Test Suite, and then open the suite in a text editor and copy/paste the same tests hundreds/thousands of times. I've never tried it, but assuming the IDE doesn't choke on large Suite files, this would let you run the test X number of times again and again.
Solution 2
Try the flowControl Selenium extension.
braveterry
Updated on June 04, 2022Comments
-
braveterry almost 2 years
I have recorded a very simple test case Using the Selenium IDE integrated with Firefox. I want the test case to run continuously over a period of time. How can I make the test run continuously?
-
Chris Noe over 11 yearsThis assumes that you have the Selblocks extension installed: addons.mozilla.org/en-US/firefox/addon/selenium-ide-sel-blocks