# Parallel Testing across browsers

**URL:** <https://forum.katalon.com/t/parallel-testing-across-browsers/12027>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [July 13, 2018, 6:48am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027 "2018-07-13T06:48:11Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![BiswaranjanSahoo](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@BiswaranjanSahoo](https://forum.katalon.com/u/BiswaranjanSahoo)\
**Post date:** [July 13, 2018, 6:48am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/1 "2018-07-13T06:48:11Z")

</div>

Can you please let me know how to run my test suite parallely across 2 different browsers simultaneously.

Thanks

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [July 13, 2018, 7:55am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/2 "2018-07-13T07:55:44Z")

</div>

Why not you use Console Mode Execution  
[https://docs.katalon.com/display/KD/Console+Mode+Execution](https://docs.katalon.com/display/KD/Console+Mode+Execution)

Specify -browserType=Chome for one command, -browserType=Firefox for another command;

Execute each command parallelly using shell capability: [https://www.codeword.xyz/2015/09/02/three-ways-to-script-processes-in-parallel/](https://www.codeword.xyz/2015/09/02/three-ways-to-script-processes-in-parallel/)

---

<div class="post-metadata">

**Author:** ![Andrej\_Podhajsky](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/andrej_podhajsky/32/1055_2.png) [@Andrej\_Podhajsky](https://forum.katalon.com/u/Andrej_Podhajsky)\
**Post date:** [July 13, 2018, 7:57am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/3 "2018-07-13T07:57:48Z")

</div>

from katalon:  
define Test suite collection

![](https://s3.amazonaws.com/katalon-forum/editor/hj/gsvz57svys0p.png)

[image.png](https://s3.amazonaws.com/katalon-forum/editor/hj/gsvz57svys0p.png)

---

<div class="post-metadata">

**Author:** ![Arnel](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/arnel/32/6360_2.png) [@Arnel](https://forum.katalon.com/u/Arnel)\
**Post date:** [July 13, 2018, 8:00am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/4 "2018-07-13T08:00:24Z")

</div>

Hi BiswaranjanSahoo

This might help you;

1. You will need to create a test suite collection and then add your test suites.  
2. Select an execution mode you prefer whether if it’s sequential or parallel.  
2.1 Sequential is to run the suites one by one.  
2.3 Parallel is to run the suite simultaneously.  
3. And then in the ‘run with’ column select the browser you want to use when running your test  
suite.

Hope that helps 🙂

---

<div class="post-metadata">

**Author:** ![D\_Adams](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/d_adams/32/3059_2.png) [@D\_Adams](https://forum.katalon.com/u/D_Adams)\
**Post date:** [July 13, 2018, 12:45pm UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/5 "2018-07-13T12:45:05Z")

</div>

> [Andrej Podhajský](https://forum.katalon.com/profile/2584/Andrej%20Podhajsk%C3%BD) said:
> 
> from katalon:  
> define Test suite collection
> 
> ![](https://s3.amazonaws.com/katalon-forum/editor/hj/gsvz57svys0p.png "Image: https://s3.amazonaws.com/katalon-forum/editor/hj/gsvz57svys0p.png")

In the example you’ve provided, are we assuming that these tests will run on one machine? Won’t there be a resource problem if they try to execute these tests in parallel? What I expected to see on a test suite collection configured this way was each browser starting and then executing the tests at the exact same time. What I actually saw was each browser starting and then executing their portion of the test suite before releasing the resources and starting the tests on the next browser in the collection.

Against one machine, isn’t this actually sequential? Or are there alternatives to running these tests on different machines (or virtual machines) to ensure we actually get parallel execution?

---

<div class="post-metadata">

**Author:** ![Andrej\_Podhajsky](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/andrej_podhajsky/32/1055_2.png) [@Andrej\_Podhajsky](https://forum.katalon.com/u/Andrej_Podhajsky)\
**Post date:** [July 13, 2018, 1:01pm UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/6 "2018-07-13T13:01:22Z")

</div>

i used selenium grid with nodes configured for separate browsers.  
i have no experience to run such setup on workstation.  
in my example i set same test suite for all threads… obviously, you need to have tests written in way that they can be executed in parallel (same user on 3 browsers) without influencing each other

---

<div class="post-metadata">

**Author:** ![BiswaranjanSahoo](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@BiswaranjanSahoo](https://forum.katalon.com/u/BiswaranjanSahoo)\
**Post date:** [July 30, 2018, 10:09am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/7 "2018-07-30T10:09:49Z")

</div>

> [Andrej Podhajský](https://forum.katalon.com/profile/2584/Andrej%20Podhajsk%C3%BD) said:
> 
> from katalon:  
> define Test suite collection
> 
> ![](https://s3.amazonaws.com/katalon-forum/editor/hj/gsvz57svys0p.png)

But I dont see the option for Parallel execution like you do here.

---

<div class="post-metadata">

**Author:** ![BiswaranjanSahoo](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@BiswaranjanSahoo](https://forum.katalon.com/u/BiswaranjanSahoo)\
**Post date:** [July 30, 2018, 10:10am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/8 "2018-07-30T10:10:53Z")

</div>

> [Arnel](https://forum.katalon.com/profile/7314/Arnel) said:
> 
> Hi BiswaranjanSahoo
> 
> This might help you;
> 
> 1. You will need to create a test suite collection and then add your test suites.  
> 2. Select an execution mode you prefer whether if it’s sequential or parallel.  
> 2.1 Sequential is to run the suites one by one.  
> 2.3 Parallel is to run the suite simultaneously.  
> 3. And then in the ‘run with’ column select the browser you want to use when running your test  
> suite.
> 
> Hope that helps 🙂

Thanks a lot. But i dont see the option for parallel execution. Thats the reason i need help here

---

<div class="post-metadata">

**Author:** ![BiswaranjanSahoo](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@BiswaranjanSahoo](https://forum.katalon.com/u/BiswaranjanSahoo)\
**Post date:** [July 30, 2018, 10:15am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/9 "2018-07-30T10:15:57Z")

</div>

This is what i see in my Test Suite window. No option for parallel execution.

![](https://s3.amazonaws.com/katalon-forum/editor/me/08zhdki5w9x4.jpg "Image: https://s3.amazonaws.com/katalon-forum/editor/me/08zhdki5w9x4.jpg")

[Execution.JPG](https://s3.amazonaws.com/katalon-forum/editor/me/08zhdki5w9x4.jpg)

---

<div class="post-metadata">

**Author:** ![BiswaranjanSahoo](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@BiswaranjanSahoo](https://forum.katalon.com/u/BiswaranjanSahoo)\
**Post date:** [July 30, 2018, 10:17am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/10 "2018-07-30T10:17:13Z")

</div>

> [kazurayam](https://forum.katalon.com/profile/4280/kazurayam) said:
> 
> Why not you use Console Mode Execution  
> [https://docs.katalon.com/display/KD/Console+Mode+Execution](https://docs.katalon.com/display/KD/Console+Mode+Execution)
> 
> Specify -browserType=Chome for one command, -browserType=Firefox for another command;
> 
> Execute each command parallelly using shell capability: [https://www.codeword.xyz/2015/09/02/three-ways-to-script-processes-in-parallel/](https://www.codeword.xyz/2015/09/02/three-ways-to-script-processes-in-parallel/)

> 

> 

Thanks a lot. I would certainly try that from my end and let you know.

---

<div class="post-metadata">

**Author:** ![Andrej\_Podhajsky](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/andrej_podhajsky/32/1055_2.png) [@Andrej\_Podhajsky](https://forum.katalon.com/u/Andrej_Podhajsky)\
**Post date:** [July 30, 2018, 11:11am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/11 "2018-07-30T11:11:46Z")

</div>

> BiswaranjanSahoo said:
> 
> This is what i see in my Test Suite window. No option for parallel execution.
> 
> ![](https://s3.amazonaws.com/katalon-forum/editor/me/08zhdki5w9x4.jpg "Image: https://s3.amazonaws.com/katalon-forum/editor/me/08zhdki5w9x4.jpg")

You need to create TEST SUITE COLLECTION … it’s agregator for test suites…

![](https://s3.amazonaws.com/katalon-forum/editor/eh/h92py84695v7.png)

[2018-07-30\_13-13-42.png](https://s3.amazonaws.com/katalon-forum/editor/eh/h92py84695v7.png)

---

<div class="post-metadata">

**Author:** ![Arnel](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/arnel/32/6360_2.png) [@Arnel](https://forum.katalon.com/u/Arnel)\
**Post date:** [July 31, 2018, 2:56am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/12 "2018-07-31T02:56:11Z")

</div>

You need to create a test suite collection and put your test suite in there. The execution information where parallel or sequential options will now be visible on that.

---

<div class="post-metadata">

**Author:** ![BiswaranjanSahoo](https://avatars.discourse-cdn.com/v4/letter/b/c2a13f/32.png) [@BiswaranjanSahoo](https://forum.katalon.com/u/BiswaranjanSahoo)\
**Post date:** [July 31, 2018, 6:22am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/13 "2018-07-31T06:22:43Z")

</div>

> [Arnel](https://forum.katalon.com/profile/7314/Arnel) said:
> 
> You need to create a test suite collection and put your test suite in there. The execution information where parallel or sequential options will now be visible on that.
> 
> Thanks a lot. I would like to know how can i run the same script across 2 different browsers here.

---

<div class="post-metadata">

**Author:** ![Arnel](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/arnel/32/6360_2.png) [@Arnel](https://forum.katalon.com/u/Arnel)\
**Post date:** [July 31, 2018, 6:27am UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/14 "2018-07-31T06:27:35Z")

</div>

![](https://s3.amazonaws.com/katalon-forum/editor/vy/332d6fazmv3g.jpg "Image: https://s3.amazonaws.com/katalon-forum/editor/vy/332d6fazmv3g.jpg")Hi,

There’s a “Run with” in the test suite collection. Under that, you can double-click a row and choose your preferred browser. You can also add the same script/suite and set a different run browser. Refer to the image.

[testsuitecollection.jpg](https://s3.amazonaws.com/katalon-forum/editor/vy/332d6fazmv3g.jpg)

---

<div class="post-metadata">

**Author:** ![birendra](https://avatars.discourse-cdn.com/v4/letter/b/a6a055/32.png) [@birendra](https://forum.katalon.com/u/birendra)\
**Post date:** [April 16, 2019, 1:50pm UTC](https://forum.katalon.com/t/parallel-testing-across-browsers/12027/15 "2019-04-16T13:50:21Z")

</div>

Hi Guys,  
I am also facing same problem while doing parallel execution, not getting the option to select the browser in test suite collection .It will be great if any one can help on this.

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/4/4e9f447714918ded7404600e70c33cf829e5b904.png)
