Questions tagged [parallel-testing]

189 questions
1
vote
1 answer

Running cucumber test script in parallel in different browser

I hava a project with many features, i want to run a test in different browser in parallel using cucumber-jvm-plugin In my POM.XML i add the 2 plugins of cucumber jvm and maver surefire i create the runnerClass and…
user6618310
  • 39
  • 1
  • 5
  • 14
1
vote
0 answers

Reusing threads/spawning new browsers with maven surefire and TestNG with low threadCount

Reusing of threads is probably not quite the right terminology, however I am running a test automation setup that uses from maven surefire in order to run my testNG test suites. the problem is that: the tests are running and opening a…
symon
  • 670
  • 1
  • 7
  • 20
1
vote
1 answer

How to run multiple tests at the same time in a single class using pytest?

I have a class with 3 tests and I am using pytest to run my tests with Selenium-Webdriver to perform UI operations. class abc: def test_1(self): print("I am test_1 open browser and perform operations") def test_2(self): print("I am…
1
vote
2 answers

how to run my selenium test methods in parallel using testng

I am trying to run my automated tests(Selenium webdriver) in parallel using testng. this is the node which I am running: java -Dwebdriver.gecko.driver=chromedriver.exe -jar selenium-server-standalone-3.4.0.jar -role node -hub…
Ali Hamadi
  • 673
  • 3
  • 11
  • 26
1
vote
0 answers

testNG @beforeGroups and parallel tests and suite.xml file

I have a a testNG suite made up of classes like this: A C (and many others) extends B, which extends A. E (and many others) extends D, which extends A. Tests are in classes C and E. Those tests are part of testNG groups, and the @beforeGroups method…
borisivan
  • 71
  • 6
1
vote
1 answer

Running cucumberJS feature files in parallel

I am wondering if CucumberJS can handle running feature files in parallel. Currently, we handle parallel testing by using a handful of Jenkins jobs that point to different test directories at the same time and pass it to the selenium grid hub. This…
Tree55Topz
  • 1,102
  • 4
  • 20
  • 51
1
vote
2 answers

How to Login to a website parallel with different users in Selenium Web driver?

Here is my scenario that needs to be automated: I need to login into website with different users say 'gmail'. Perform different operation say 'compose','change settings', etc. Then logout. I need all the above steps to be performed in…
Bala
  • 184
  • 3
  • 19
1
vote
1 answer

Running Parallel Tests using Gauge Framework with Browserstack

I'm using Gauge framework and Browserstack for my test scenarios. I'm researching how can i parallel execute my test scenarios(.spec) using browserstack? I read many documentation but I couldnt see anything about Gauge framework to run parallel…
Aidan Aidan
  • 33
  • 1
  • 2
  • 9
1
vote
1 answer

Opening multiple appium server Instances on same machine

Can I start 2 appium server instances on my machine at the same time so that I can execute my test script simultaneously on 2 different devices connected to the machine? Actually what I'm trying is to run my test script on 2 devices connected to…
Amrit
  • 89
  • 1
  • 4
  • 11
1
vote
1 answer

Nunit 3.0 Tests not running in parallel in TeamCity

We have a suite of API tests that we have been running on Teamcity with MBunit. There are around 200 tests that are set to run 12 in parallel and they take about 7 minutes to run. Nunit recently released version 3 and supports fixture parallelism.…
1
vote
1 answer

"No such session" / "chrome not reachable" error when running Chrome in parallel in Jenkins

I am getting the issue with running automation tests on Chrome in Jenkins using parallel_test gem (also use with Capybara, selenium - Ruby language). I'm running it in headless mode with Xvfb. However, most of all test scenarios failed due to 'no…
Huy Do
  • 470
  • 1
  • 7
  • 19
1
vote
1 answer

Selenium GRID 2 + NUnit 3 options to run tests in parallel

I decided to switch from current solution (using modified NUnit by our team some years ago NDistribUnit which run tests on VirtualMachines and then gather results on hub server) to Selenium Grid 2. Option with ParallelizableAttribute was…
1
vote
1 answer

parallel_tests RSpec improve performance

I have a suite of tests for a controller that makes calls to an external sandbox api for testing, which makes the performance rather slow. I'd like to improve performance by allowing parallel_tests to not only run suites in parallel, but individual…
jtmarmon
  • 5,727
  • 7
  • 28
  • 45
1
vote
0 answers

Run a single test in Gallio multiple times

Is there a way to run a single test case multiple times (automatically) in Gallio? At this point in time, I have everything set up and parallel tests running correctly. The problem is I want to run the same test in parallel with itself, in theory,…
Bob
  • 21
  • 2
1
vote
1 answer

Running test in parallel with surefire and displaying them properly with the TestNG Jenkins plugin

I'm running tests with parallel execution using surefire, and that all seems to work fine. However, there's only one testng-results.xml generated in the target/surefire-reports/ folder which ... only contains the results of the test that ran last. I…
mac
  • 2,672
  • 4
  • 31
  • 43