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
0
votes
1 answer

Selenium grid is not working on latest selenium version

After upgrading to latest selenium, Selenium grid is giving an error for RegistrationRequest(). I am getting req.setRole(), req.setConfiguration(), etc. not found. look like RegistrationRequest() class got change in selenium new version but not sure…
Umang
  • 11
  • 1
  • 1
  • 4
0
votes
2 answers

How to determine a test has finished on a Selenium Grid

I am looking for a way I can ensure certain things happen after each test on a Selenium Grid node. (E.g. controlling certain processes on the node) What is the best way to do on Selenium Grid? Perhaps I don't need to reinvent the wheel and there is…
Eugene S
  • 6,709
  • 8
  • 57
  • 91
0
votes
0 answers

Selenium grid launching browser on hub instead of node

I have configured my hub and one of the node. Hub is setup on jenkins as a plugin which is running on ubundu machine and my node is running on windows machine. Hub and node are correctly configure. Now when I am running the test to launch the…
Javed Ahmed
  • 223
  • 1
  • 3
  • 17
0
votes
0 answers

selenium-server-standalone - Browser launches but then a timeout error is displayed

I am trying to launch Microsoft Edge on WIN10 using selenium-server-standalone-3.0.1. While creating the driver instance, the browser opens just fine on the node, but then the process hangs for about a minute or so the following error is generated,…
0
votes
0 answers

Finding element while using Selenium Remote Server

in my test I'm trying to download file from server, verify (if its downloaded) and delete it. But everytime I run my test with remote server (Selenium Grid, Chrome version=59.0.3071.115), I receive NullPointer during verification. If I try run the…
0
votes
1 answer

Can we distribute the TestNG tests in Selenium Grid when running the tests in parallel but in the same browser

Problem Statement: i have 100 test cases which i am willing to run using Selenium Grid 2 but only in Chrome using two Nodes. Is it possible to divide the test cases 50 per system in Grid. Because when i run the 100 Test Cases in parallel selenium…
Sidhant
  • 675
  • 1
  • 7
  • 13
0
votes
1 answer

Can BDD NUnit test cases run parallel in selenium Grid?

I have a BDD framework and using NUnit for test execution.I am trying to implement selenium grid wherein as the default configuration ,I have 5 instances of chrome , firefox and 1 of IE. However when i select multiple tests from VS to run from a…
NRT
  • 125
  • 2
  • 11
0
votes
1 answer

How to pass platform value through parameter like Vista, WIndows, Mac

I am trying to run my script using Selenium grid where I am able to parametrize the node IP address but not able to pass platform value. Can anybody please help me to find out the solution, how to pass platform value through parameter. I don't want…
demouserabcd
  • 37
  • 1
  • 1
  • 10
0
votes
1 answer

Tests fail - launched with SeleniumGrid

Selenium Grid2 Selenium Grid Hub v.3.4.0 Selenium version 3.4.0 Chrome version v:59.0.3071.115 org.openqa.selenium.WebDriverException: Connection refused (Connection refused) Command duration or timeout: 674 milliseconds at…
0
votes
1 answer

Differences between Selenium grid versions 1 and 2

Could someone please help me understand the difference between the remote control server in Selenium Grid 1 and the remote control server in Selenium Grid 2. From what I've read, one of the main differences between the versions is that version 2 of…
0
votes
2 answers

Selenium grid not able to detect remote firefox driver binary after setting System.setProperty

I am using selenium selenium-server-standalone-3.4.0 and geckodriver-v0.18.0-win64 for selenium grid testing. even after setting system.setProperty("webdriver.gecko.driver","path to firefox binary") it is giving me following…
0
votes
1 answer

How to execute a batch of Selenium tests in parallel on a Selenium Grid

I have a Selenium Grid host on machine H and I have two grid nodes: machine N1 and machine N2. Both nodes have the same capabilities. I have four tests: test1 => test4. I launch the tests on the host machine using nunit console: nunit3-console…
Nicolae Daian
  • 1,065
  • 3
  • 18
  • 39
0
votes
1 answer

JSONOBject hash not found

I am working on Test Automation Script using JAVA and Selenium WebDriver , My test is running on cloud environment (crossbrowsertesting.com). There is an feature to take snapshots of browser window , When I was using RemoteWebDriver this line of…
cod
  • 151
  • 4
  • 13
0
votes
1 answer

Selenium Grid Java Client

I want to create dashboard for QA. It have feature to monitor selenium grid on it. is there any java client or something to get data or control the selenium grid through java code? example : to monitor which node is working to modify node (adding…
Hendrione
  • 225
  • 1
  • 5
  • 18
0
votes
0 answers

Selenium remotewebdriver stuck before launching browser

I'm trying to launch Firefox remotely on a windows machine from UNIX box using remotewebdriver I am also starting the selenium node remotely using ssh(It starts fine) using Cygwin and OpenSSH. (I've installed firefox in the path…