Openbravo

Selenium Grid and the parallel smoke test suite

Angla

At the QA team we have been playing for a while with Selenium Grid, a great tool to run Selenium tests in parallel.

The first task was to reduce the execution time of the Smoke Test Suite having more than one browser running the tests. This is a complex suite with a lot of dependencies, so there's a limit on the parallelization that is possible to achieve. Pablo Luján prepared a graph to explain this a little better:

Even though we have reduced the execution time of 114 tests from 160 minutes to 90 minutes. And we are working on some options to reduce this even more.

Now that the integration of our testing code has been thoroughly tested we are ready to promote the changes from the experimental branch to the stable one. But this change will require some adjustments on the jobs and scripts.

We have new components: a Selenium Hub and one or more Grid Remote Controllers. The Remote Controllers register themselves with the Hub and wait for requests. The Hub will send tests to idle RCs or queue them if none is available. And the RCs will execute the actions on his browser.

Selenium automation: improvements in test package hirarchies and naming conventions

Angla

Hello dear Internet. My name is Leo Arias and this is my first post for the Openbravo Planet.

I work with the QA team helping the rest of developers to build high-quality software.

Subscribe to RSS - Openbravo