Search code examples
seleniumselenium-webdriverselenium-ideselenium-grid

Selenium htmlsuite parallel execution


Is it possible for parallel execution of Selenium recorded HTML test case or html suite. Is it possible through JUnit or TestNG or Ant?

I have looked everywhere for days but did not find anything. thanks.


Solution

  • It's not possible to run the recorded scripts in Grid without doing any changes.

    If you are okay to do changes, read below.

    Assuming that you used Selenium FireFox IDE plugin to record test cases...

    • Export your recorded scripts to appropriate(junit) version using the IDE menu option
    • Change the usage to RemoteWebDriver
    • Configure jUnit (proper installations required)
    • Setup Grid with jUnit (lot of documents available)

    Not clear? Please do a Google search :)

    http://blicksplitter.wordpress.com/running-selenium-grid2-tests-in-parallel/

    http://sauceio.com/index.php/2010/10/parallel-junit-4-and-selenium-part-three-parallelism-and-ondemand/