Updating SleniumHQ Documentation for Parallel Testing Reference

83 views
Skip to first unread message

James Crocker

unread,
Mar 6, 2015, 2:37:31 PM3/6/15
to selenium-...@googlegroups.com
Hello!

Had a need for a concurrent/parallel Selenium testing in Java. Noted there was no reference at the document area: http://docs.seleniumhq.org/docs/04_webdriver_advanced.jsp#parallelizing-your-test-runs

Before I made any edit online I wanted to know if OK to do so. I've completed the CLA and read up on the wiki HowTo's on "Getting Involved with Selenium". Didn't appear that I needed to clone anything to be able to edit the documentation in place.

I've created a reference Selenium/Java/TestNG project on GitHub which will conduct concurrent test executions using either or both local and Selenium-Grid. I didn't want to just put a 'plug' in that documentation area for it, but was unsure what else might be helpful there surrounding the project. Any guidance or suggestions are most appreciated.

What I thought to add to that section is:
-----------------------

A reference Selenium/Java/TestNG project coseng has been created at GitHub which provides a means to submit Selenium tests in parallel to both local and/or Selenium-Grid. Additional details can be found at the coseng/wiki. In short coseng will:
  • Run Selenium/TestNG UI tests concurrently!
  • Run tests exclusively or in any combination of local or via Selenium GRID.
  • Concurrent tests are defined via JSON and composed of a set of individual tests.
  • Individual tests are composed of one or more TestNG suites; being executed serially.
  • The Java Selenium/TestNG tests are extended from Base.
  • The Base class handles capture of the correct Selenium WebDriver for each test based on the JSON test configuration.
  • Each test is saved as a TestNG report and uniquely identified by the browser, run location, platform, browser and time.
  • Screenshots are available and when called are saved in the TestNG report output directory.
  • Will accommodate IE*, IE9, IE10, IE11, FIREFOX, CHROME
  • Will accommodate WINDOWS, LINUX
  • Will execute on either Windows or Linux
  • Can be imported as an Eclipse project to execute tests -OR- bundled into an executable JAR for portable test execution.
-----------------------

Regards,

-James

Mark Collin

unread,
Mar 9, 2015, 4:15:26 AM3/9/15
to selenium-...@googlegroups.com
There is also one available here.

https://github.com/Ardesco/Selenium-Maven-Template

The problem as I see it is that there are so many ways to do this, what should be the correct documented version? You could probably dedicate a whole site to carious different ways of coding concurrent tests in Selenium.

Should this even be in the Selenium documentation? You are doing parallelisation with TestNG, the fact that Selenium is being used by the TestNG threads is a lucky coincidence. Does this really belong on the TestNG site as documentation, rather than on SeleniumHQ?

It’s also possible to do it with jUnit and i’m sure you could roll your own way of doing it totally from scratch.

Regards

Mark
> --
> You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to selenium-develo...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/8d02ca8f-2a8a-4dd3-8302-6a9da272491a%40googlegroups.com
Reply all
Reply to author
Forward
0 new messages