Questions tagged [parallel-testing]
189 questions
0
votes
1 answer
Unable to run parallel tests in Cucumber &Testng
I am trying to run parallel tests in 2 browsers using, Testng and cucumber.
Getting the below exception ,
cucumber.runtime.CucumberException: When a hook declares an argument
it must be of type cucumber.api.Scenario. public void
…

Mano Kugan
- 207
- 6
- 23
0
votes
1 answer
Spring + Junit run integration tests in parallel
Currently we run integration/e2e tests using Spring+Junit and one database. We want to run tests faster, so we want to run tests in parallel.
How to configure Spring+Junit to run tests in parallel for example using 2 databases?
We are using Maven.

Combo
- 855
- 2
- 11
- 22
0
votes
1 answer
Running windows app tests in parallel
The problem I am facing is a unique one.. I have set up a testing suite for a windows app using LeanFT and NUnit. At this point, I have around 100 stable UI tests that I have automatically running nightly on a VM I have configured.
The problem is,…

Tree55Topz
- 1,102
- 4
- 20
- 51
0
votes
3 answers
How to run testNG en parallel but for different tests
I'm trying to run my automation suite (implemented using Selenium Webdriver (Java) + TestNG + Maven) in parallel on different Android devices. Here's my code in xml:
…

yue
- 119
- 1
- 11
0
votes
1 answer
Rake parallel:prepare changes schema
I'm using parallel_tests on a Rails 3.2 app and we have two developers, everytime I do a 'rake parallel:prepare' I get this change and it's the opposite for the other programmer.
- t.datetime "created_at", :null => false
- t.datetime…

map7
- 5,096
- 6
- 65
- 128
0
votes
1 answer
SpecFlow Parallel and non Parallel tests
I'm using SpecFlow to automate my web tests and using parallel execution to speed them up.
The issue i have is that one test which checks that invalid passwords are rejected will lock the user account if run 3 times without a successful login.
I've…

LiamHarries
- 570
- 1
- 5
- 20
0
votes
0 answers
parallel-testing with SeleniumGrid and headless Chrome
I try to run the same end2end test parallel (load test, JMeter with JUnitSampler).
If i run parallel tests with real chromeBrowser, its working fine. If i run the Tests with chromeOption “--headless”, no tests are running. What could be the…

Waldemar Zimpfer
- 1
- 1
0
votes
1 answer
What is the best way to synchronize tests in different packages which involve with a global variable?
I'm working on a go project, my task is writing some tests for a package. The tests need to access a global variable in a different package. This global variable might be setup/access in different packages' testing. Because by default go testing…

Bo Ye
- 371
- 2
- 6
- 17
0
votes
2 answers
How to perform parallel cross browser testing with selenium grid testng data provider
I am trying to run a parallel test with chrome and Firefox using selenium grid and TestNG.
I am using @DataProvider to make it data driven with single excel file
However, one of the browser get closed every time I try to run my suite and throws the…

ShreyasPatel
- 1
- 1
0
votes
1 answer
TestNG inherit @Parameters from parent class
I'm trying to get to work a stub for concurrent cross browser test framework using TestNG. BUT seems I cannot get @Parameters from parent class and keep getting
Parameter 'browsername' is required by @Configuration on method setup but has not been…

Oleg Svitskyi
- 83
- 10
0
votes
1 answer
Unable to run parallel tests using maven surefire plugin and EasyMock
I've trying to run my JUnit classes in parallel, every time I run my tests I'm getting different errors. Some times a ClassA fails, some times the ClassB fails, sometimes nothing fails.
I'm using maven-surefire-plugin (version 2.19.1) and JUnit…

victor.herrera
- 108
- 9
0
votes
1 answer
Appium, Cucumber and Junit how to run tests in parallel on multiple devices
Trying to execute my appium tests in parallel on multiple devices.
I currently can execute my test cases on one android device. After a chopping and changing I cannot get my tests to run in parallel.
Heres my current set up. Hoping to execute tests…

Zoidburg
- 159
- 8
0
votes
0 answers
Make parallel_test work in bitbucket pipeline
I get
bundle exec rake parallel:spec
8 processes for 56 specs, ~ 7 specs per process
/usr/local/bin/bundle:22:in load': cannot load such file -- /usr/local/lib/ruby/gems/2.2.0/gems/bundler-1.11.2/lib/gems/bundler-1.11.2/bin/bundle…

Chen Kinnrot
- 20,609
- 17
- 79
- 141
0
votes
0 answers
Running parallel tests with Pabot
I have installed the pabot lib but still struggling to trigger my testcases.
Can someone please suggest how to start the testcase run.
I ran it like below :
C:\Python27\SampleScripts\DataDrivenApproach\KITE>pabot Pabt.robot --processes 2
tests
And…

DISHA MUNSHI
- 53
- 2
- 4
- 8
0
votes
1 answer
TestNG: Parallel Execution: Handling Multiple browser and switching to new Window
I do have a Test Suite with actually 20 Test Cases defined in 20 separate classes which needs to be Executed in parallel in browser Firefox on Linux OS
Some TC's have Java code which handles/opens new windows which passes control to these…

Ag_Yoge
- 77
- 1
- 11