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

How do you test against Internet Explorer on a selenium grid?

I'm setting up a selenium grid by running the hub and nodes as windows services. I'm having no issues with Chrome or FireFox but I am with IE and from what I see IEDriverServer doesn't support being run as a windows service or in the background and…
Sh3mm
  • 113
  • 1
  • 11
0
votes
1 answer

Data driven framework on Selenium Grid 2

In my project we have decided to implement Selenium Grid setup. We are using a data driven from Excel framework, currently all these spreadsheets are present in a workstation (which will turn to a hub once we implement Grid). I was wondering after…
0
votes
1 answer

How to open broswer's tab on remote machine

Scenario: I have configured Grid 2 and multiple tests are now running in parallel. When test starts there is opened browser window (only one tab opened) and some controls filled inside it. After that I open another tab (in the same browser window),…
Mr. Blond
  • 1,113
  • 2
  • 18
  • 41
0
votes
2 answers

Start a selenium hub on a remote machine programmatically

How can we start a selenium grid hub on a remote machine programmatically? As of now, i know the following ways of doing it but i have some questions on those. Approach 1: Execute a batch file on remote machine with required command (java -jar…
Santhosh Ramini
  • 384
  • 2
  • 5
  • 20
0
votes
2 answers

Selenium: Run same test on different browsers

I want to run same test on different browsers (Firefox, Chrome and Safari). To do this I am using parametrization in tests. Where in if browser is chrome run chrome and so on. And in testng.xml I have specified to run tests in parallel and repeated…
paul
  • 4,333
  • 16
  • 71
  • 144
0
votes
2 answers

Grunt with selenium grid

Could anybody make grunt work with selenium grid? I could set up grid by passing the role: hub under serverOptions of start-selenium-server task in my gruntfile but soon end up getting - Error: Timeout waiting for selenium to start. Check if an…
KBM
  • 341
  • 4
  • 16
0
votes
1 answer

Jenkins selenium grid hub refuses incoming selenium Node connections from external IP's

I have a Selenium Grid hub running on Jenkins using the Selenium Plugin. I have a Selenium grid node running on the same machine and it is successfully connected to the Hub. From an external machine i cant't seem to ping the 4444 port on which hub…
0
votes
1 answer

Multiple Selenium Grid 2 Test: how to run in Firefox with hidden windows Browser

I would like to run a Selenium Grid 2 Test with 50 parallel Instances of Firefox independent Browsers (or more). But if all these browsers windows open, it requires a lot of machine memory. For this reason I want to run the test with the hidden…
JEFA
  • 151
  • 2
  • 13
0
votes
1 answer

Selenium Grid Tests to distribute on multiple nodes

I have set up Selenium Grid 2 with one hub (on a high spec Dell 7910 Server , Windows) and 8 nodes (on VM's all are on Windows) and my test framework is on cucumber-jvm using Junit. I use Jenkins to kick of tests and build the project using…
Vamshi
  • 41
  • 1
  • 6
0
votes
2 answers

Selenium webdriver with tomcat

I have a java web application in which i have integrated some selenium code which basically does the following job : I have a login page with user name and password,so once i fill the details and click on login button, it gives call to the selenium…
Zee
  • 41
  • 2
  • 8
0
votes
3 answers

Could not initialize class org.openqa.selenium.os.Kernel32

I am new to Selenium grid. My hub and the node is running. I tried a test to automate in the node. But I am getting the error "Could not initialize class org.openqa.selenium.os.Kernel32". I could not find the solution anywhere. Please help My code…
0
votes
1 answer

Proxy issue while running script

I'm trying to use Selenium Grid2 to run concurrent Watir WebDriver scripts. I have the started the hub successfully, as I can open it up in my browser and I've spawned two nodes, each of which show in the console. I started the node by doing…
0
votes
0 answers

Selenium Grid 2 not running test case

I have successfully set up Selenium GRID using Remote WebDriver which worked perfectly when using it locally without connecting to a remote node. If both the hub and the node are on the same machine it runs fine, but running a remote node only opens…
0
votes
2 answers

Do I need to change config settings to use Selenium Grid for running multiple cucumber-jvm feature files?

I have a maven test project which uses Cucumber-jvm internally. I want to run my feature files in parallel using Selenium-Grid 2.0. I have started the hub and node but when I am running my tests. It is running tests sequentially in only one chrome…
Manisha Awasthi
  • 449
  • 1
  • 5
  • 16
0
votes
2 answers

Setup Node for android on Selendroid on Selenium GRID

Setting up android as a node on Selenium GRID remains the last part by adding the .json configuration file to the selendroid .bat file left me confused. I ave tried it in several ways but still remain dump not responding as expected. These are the…
ken4ward
  • 2,246
  • 5
  • 49
  • 89