Questions tagged [selenium-grid2]

Selenium-Grid allows you run Selenium tests on different machines, running various operating systems, against different browsers in parallel. It allows for running your tests in a distributed test execution environment.

Selenium-Grid allows you run Selenium tests on different machines, running various operating systems, against different browsers in parallel. It allows for running your tests in a distributed test execution environment.

Selenium-Grid 2.0 is the latest release. It is quite different from version 1 of Selenium-Grid. In 2.0 Selenium-Grid was merged with the Selenium-RC server. Now, you only need to download a single .jar file to get the remote Selenium-RC-Server and Selenium-Grid all in one package.

Grid allows you to :

  • scale by distributing tests on several machines (parallel execution )
  • manage multiple environments from a central point, making it easy to run the tests against a vast combination of browsers / OS.
  • minimize the maintenance time for the grid by allowing you to implement custom hooks to leverage virtual infrastructure for instance.

Related tags :

170 questions
1
vote
0 answers

Selenium: Running the test suite in parallel (Not cross-browser-testing)

I would like to run a selenium test suite in parallel.(Or distributed mode) (30 tests in the suite, would like 3 threads running in parallel with a total of 30 tests executed when finished, no repeated test) I just want to test against Chrome…
z82 28
  • 11
  • 1
1
vote
0 answers

How to configure Node for Android/ iOS devices for Selenium Grid testing?

I'm learning Selenium Grid from scratch.I'm able to run scripts from my hub to my node systems. But when it comes to using android and ios devices as nodes, I've this confusion. I do not understand if Android/ios device as a node should be…
1
vote
1 answer

How to add cookie to Selenium IDE test running in grid via selenium-side-runner for Zalenium messages

I've recorded a test using Selenium IDE and am submitting the generated .side file to selenium-side-runner to run on a Selenium Grid built using Zalenium. Is it possible to run a command that calls driver.manage().addCookie() from the test that was…
1
vote
0 answers

Appium with Selenium Grid results in - GridException: Cannot extract a capabilities from the request

We would like to run our existing Appium tests in parallel using Selenium Grid. Env: macOS, stand-alone selenium server:3.141.59, appium: 1.17.1. I have 2 android devices connected. Error message in selenium grid server log: /wd/hub/session…
avilana
  • 11
  • 2
1
vote
0 answers

How do I set microsoft Edge browser binary file for Selenium Remote Webdriver

I am trying to execute remote webdriver tests using Selenium Grid, My node is a Windows 8 system, and I have insider version of edge installed on it. Now when I try to execute my tests, the node starts the driver service but it is not able to find…
1
vote
2 answers

TESTNG: How to change thread-count dynamically, while running the suite

I am trying to implement parallel running TestNG tests with selenium grid, where grid gets dynamic nodes attached. Based on the number of nodes in the grid I want to increase or decrease the number of threads in the TestNG. Is it possible if so…
1
vote
1 answer

Issue with Selenium Grid

I am trying to get selenium grid working for the first time. In the setup i have the following Driver = new ChromeDriver(AppDomain.CurrentDomain.BaseDirectory + "../../../Drivers"); DesiredCapabilities capabilities = new…
1
vote
1 answer

chrome browser is being launched eventhough firefox is configured as the browser in testng.xml

Trying to run parallel tests in chrome and firefox. During the execution another chrome browser is being launched instead of the firefox browser and it is being ignored. below are the versions of files being used OS - Ubuntu 16.04 LTS, Firefox…
Rohit
  • 45
  • 1
  • 7
1
vote
1 answer

Is there any way to setup grid nodes from the hub node remotely?

I have one hub and 4 nodes having different OS and browsers. Now I can set this up manually by going to the these 4 nodes and run the selenium node registration commands. What I want is that I should be able to do the node configuration from the hub…
Prasanta Biswas
  • 761
  • 2
  • 14
  • 26
1
vote
1 answer

Quit() is not working in selenium grid 3.4.0 (ThreadLocal)

I am using selenium grid and selenium 3.4.0 version. I am getting error for the tearDown() function (Browser closing but error at the function), I tried @After, before, suite, class etc annotation at tearDown() function but not working. Please…
Selenium
  • 113
  • 1
  • 5
1
vote
3 answers

Unable to run a .bat file in java program

Problem Statement: I just want to start the HUB and Node to perform some tests using Selenium Grid. I have two Batch files START HUB.bat and START NODE.bat which run perfectly when i manually run them. But i want them to run using a Java Program…
Sidhant
  • 675
  • 1
  • 7
  • 13
1
vote
1 answer

Send driver path to selenium node using another library

I use -D java parameters to specify the path to executable driver when register a new node in selenium grid: java -Dwebdriver.chrome.driver="../driver/chromedriver.exe" -jar selenium-server-standalone-3.3.1.jar -role node -hub…
1
vote
0 answers

Selenium: how to move physical mouse pointer outside browser window

I am using selenium with Grid to test web application. But I get unexpected results when the physical mouse is over the browser window. Issue details: https://github.com/angular/protractor/issues/3802 I would like to move the physical mouse outside…
H.D.
  • 455
  • 5
  • 19
1
vote
2 answers

Failure trying to start appium driver with selenium grid

I'm trying to run tests in real iOS devices in parallel using Appium with Selenium Grid. Currently I'm able to create the Hub, instantiate the Nodes and make Appium connected to each respective Node (checked appium_log). My problem right now is that…
1
vote
1 answer

Providing path to Firefox/Chrome/IE installation in cygwin

I'm trying to launch Firefox remotely on a windows machine from UNIX box using remotewebdriver. I've tried by adding Firefox in the PATH as below: $ echo $PATH /cygdrive/c/Program Files (x86)/Google/Chrome/Application/:/cygdrive/c/Program Files…