Mutibrowser parallel execution support for Gauge

355 views
Skip to first unread message

sameer maral

unread,
Apr 7, 2017, 6:19:06 AM4/7/17
to getgauge
Hi Team

I was wondering if Gauge support multibrowser parallel testing of specifications? For example, I have 3 specs and want to execute them on Chrome and Firefox in parallel manner.


Thanks
Sameer


zab...@thoughtworks.com

unread,
Apr 7, 2017, 7:18:27 AM4/7/17
to getgauge
Hi Sameer,
 Gauge does not know that it's being used for browser testing as that depends on how you implement scenarios and steps in the language runner.
 You can use environments to set browser properties with specific report directories and trigger multiple runs. However you do not get a consolidated report.
 
 There's a proposal to implement running environments in parallel (with consolidated reports).
 You can add comments on your specific requirements there so that we can track it when we get to implementing the feature.

Somnath Das

unread,
Apr 20, 2018, 8:17:08 PM4/20/18
to getgauge
Hi,
I am trying to run 2 different spec in parallel.
One spec in Chrome and another spec in firefox.
I created two env i.e. chrome and firefox also. 

But chrome is executing first and after completing the execution safari execution started. But not working in parallel. 
Am I missing something ?

<executions>
<execution>
<id>run_on_chrome</id>
<phase>test</phase>
<configuration>
<env>chrome</env>
<inParallel>true</inParallel>
<nodes>2</nodes>
<specsDir>specs/functional</specsDir>
</configuration>
<goals>
<goal>execute</goal>
</goals>
</execution>
<execution>
<id>run_on_firefox</id>
<phase>test</phase>
<configuration>
<env>firefox</env>
<inParallel>true</inParallel>
<nodes>2</nodes>
<specsDir>specs/functional1</specsDir>
</configuration>
<goals>
<goal>execute</goal>
</goals>
</execution>

</executions>

Thanks,
Somnath

Nehashri Puttu Lokesh

unread,
Apr 24, 2018, 1:03:23 AM4/24/18
to getg...@googlegroups.com
Hi Somnath,
   I see that you have defined your pom with different tasks. That is, each execution that you have defined is a different task in itself in maven. The tasks in maven are executed one after the other. Each of these tasks run a different instance of Gauge. 
Gauge does not have support for parallel execution of specs in multiple browsers. The is an issue for this here. Please add your thoughts to it. 
Thanks,
Nehashri

--
You received this message because you are subscribed to the Google Groups "getgauge" group.
To unsubscribe from this group and stop receiving emails from it, send an email to getgauge+u...@googlegroups.com.
To post to this group, send email to getg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/getgauge/609d448a-6a67-446a-81ab-71aab5627d80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Regards,
Nehashri P L
Reply all
Reply to author
Forward
0 new messages