Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 2.08 KB

File metadata and controls

57 lines (40 loc) · 2.08 KB
title id slug sidebar_label description hide_table_of_contents number publish_date tags level category
How to Run a Test on Multiple Browsers, In Parallel
42-one-test-multiple-browsers-parallel
/42-one-test-multiple-browsers-parallel
How to Run a Test on Multiple Browsers, In Parallel
In the previous tip I covered how to run a single test against multiple browsers. While this could come in handy, it is still a bit lacking.
true
42
2014-03-18
parallelization
multiple browsers
cloud
sauce
2
remote

How to Run a Test on Multiple Browsers, In Parallel

Intro

In the previous tip I covered how to run a single test against multiple browsers. While this could come in handy, it is still a bit lacking.

Right now, the test is only being run one at a time (a.k.a. in series) for each browser in our list. If this were a longer running test and/or if there were more browsers we cared about, then this could quickly stack up to longer test run times.

A Solution

Let's remedy this by taking the previous tip's example and parallelize it with the help of threads.

import DisplayTips from '@site/src/components/displayTips';

<DisplayTips languages={[ {label: 'Ruby', value: 'ruby'}, ]}/>

About The Author

Dave Haeffner is the original writer of Elemental Selenium -- a free, once weekly Selenium tip newsletter that's read by thousands of testing professionals. He also created and maintains the-internet (an open-source web app that's perfect for writing automated tests against).

Dave has helped numerous companies successfully implement automated acceptance testing; including The Motley Fool, ManTech International, Sittercity, and Animoto. He is also an active member of the Selenium project and has spoken at numerous conferences and meetups around the world about automated acceptance testing.

Dave Haeffner profile picture