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
2
votes
2 answers

Selenium Grid - For Chrome browser when selenium node is run as a Windows service, I get InitSession unknown error: unable to discover open pages

I am a Selenium newbee. In fact I am covering for another automation tester. I am trying to setup Selenium Grid, I have successfully setup Hub and node. When I run Selenium node as a Windows Service, for chrome browser I get following…
Rocky
  • 391
  • 7
  • 20
2
votes
1 answer

Confusing Build log in TeamCity in case of parallel tests

I'm using Java, Gradle, TestNG, Selenium Hub and Node on Localhost and trying to run 5 tests in parallel, the following is a sample code. This is Base class: package tests.temp; import java.net.MalformedURLException; import java.net.URL; import…
sidrom
  • 23
  • 5
2
votes
2 answers

parallel test with appium & selenium grid

I'm trying to run parallel test on 2 devices using appium & selenium grid but for some reason it runs only on the first node server (and first device) but nothing happen on the second server. Also if I'm shutting down the first server and run the…
user3718160
  • 481
  • 2
  • 11
  • 23
2
votes
0 answers

How start remote webdriver after regitering a node in a hub?

I'm trying to launch remoteWebdriver, for that I have created a hub progmatically then I have added a node on it. That is fine.The problem now when I execute: Thread.currentThread().join(); The program stop executing, and if I remove this line I…
omar
  • 81
  • 1
  • 9
2
votes
1 answer

How to use java robot class on remote machine

Hi i am using selenium grid to run my test everything is running fine.my application is using maps (like google map) and to perform some action on the map i have used java robot class. the problem is when i run my test case on the local machine…
Rajnish Kumar
  • 2,828
  • 5
  • 25
  • 39
2
votes
1 answer

Facing issue in running chrome browser on Selenium Grid

I am able to run my test cases on firefox browser on Selenium Grid, but I am having issues while running the tests on Chrome Browser, its kind of configuration issue it seems. I am getting below error while running the…
2
votes
1 answer

Remote WebDriver does not get initialized if i try to make my WebDriver threadSafe

I am trying to make my WebDriver threadSafe but when i run the test i get the nullPointerException. I then checked if my remote WebDriver get initialized but it doesn't and am not sure where am going wrong. I am using help from online to make my…
2
votes
4 answers

TestNG, Selenium How to share object among multiple Classes

I am executing my test cases using Selenium + TestNG. My test cases are spread across multiple classes. I want to use same copy of webDriver with every class. (I dont want to login every time and then do other operations so option of invoking…
Vinaykumar Patel
  • 864
  • 11
  • 26
2
votes
0 answers

Selenium server max firefox instances

I have one server with 32 Gb RAM and I want run 70 firefox instances in parallel. I try simple selenium server config like this: java -jar /usr/lib/selenium/selenium-server-standalone.jar -port 4444 -maxSession 100 -DPOOL_MAX=1024…
stepozer
  • 1,143
  • 1
  • 10
  • 22
2
votes
1 answer

Getting remote node IP address in Selenium Grid env

I need to get the remote node IP which is connected with Selenium grid hub. We are using multiple os platforms (Linux, Mac, Windows). Any have idea of getting remote node IP in selenium Grid env using java programming?
Aayush
  • 116
  • 5
  • 14
2
votes
1 answer

No response from Selenium Server when starting from jar file

I am setting up a headless Ubuntu server as a node. This node runs Chrome via Chromedriver, and I am able to run tests when I launch the jar via bash. This is the command I am using: java -jar /opt/selenium-server-standalone-2.39.0.jar -role node…
Andrew
  • 815
  • 2
  • 13
  • 33
2
votes
3 answers

Running Selenium Grid through Vagrant

I'm trying to migrate from running my Selenium server and client from all on my Mac, to having the servers run in a Vagrant VM, and the clients run locally on my Mac. I'm using Vagrant 1.4.3 running on Mac OS X 10.9.1 to launch an Ubuntu 13.10 VM.…
Ryan Parman
  • 6,855
  • 1
  • 29
  • 43
2
votes
1 answer

Selenium Grid configuration of timeouts

I'm using Selenium Grid 2. I have a single hub and 6 nodes. The problem I'm running into is some test fail due to unexpected javascript popups, and selenium doens't seem to be cleaning up these sessions. When the tests finish, there are browsers…
alphanumericone
  • 268
  • 3
  • 12
1
vote
1 answer

How to Run Parallel Appium Test With Selenium Grid Only By Specifying Platform

I am running parallel robot framework Appium tests using pabot. Below are my config files: configDevice1.json { "capabilities":[ { "platformName": "Android", "platformVersion": "9.0", "browserName":…
Raymond
  • 604
  • 1
  • 9
  • 27
1
vote
1 answer

Selenium Grid2 Port not working only on port 4444

I have set up Selenium Grid2 and I have a dilemma that is driving me crazy. If I start the Hub in the default port (4444), for some reason all my HTTP requests are redirected to a page that says You are using grid .0.0Find help on the official…
prestomanifesto
  • 12,528
  • 5
  • 34
  • 50
1 2
3
11 12