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 Session can not close automatically and become non-responsive after several runs

I don't know if this is by design or not, just noticed that I set up testNG like this:
user3006967
  • 3,291
  • 10
  • 47
  • 72
0
votes
2 answers

Selenium Grid: Do Features always run in parallel and Scenarios always run in series? Is this customizable?

Does Selenium Grid always run Features in parallel and always run Scenarios in series? Can you specify that certain features run in series or that certain scenarios run in parallel? I am just interested in understanding the flexibility and the…
Fractal
  • 1,748
  • 5
  • 26
  • 46
0
votes
1 answer

Keep getting SessionNotCreatedException: Unable to create new service: ChromeDriverService error

No matter what I try; latest chrome browser, latest chromedriver, latest selenium server, etc. but when I run the test on Mac OSX I keep getting the above error. I have looked at other similar questions and even tried the solutions suggested there…
0
votes
1 answer

How can I run Grid up and running

Is it possible to run the hub and nodes in Selenium Grid through Java/Selenium code? In an example provided by @Boni Garcia, there is GridLauncherV3 but this is not working with Selenium-jupiter version 3.2.1. Can you please help? // Start hub …
0
votes
2 answers

Selenium Grid- Running a test in parallel on IE 11

I want to run my test in parallel on Selenium Grid on IE browser 11. I have one Hub machine(VDI machine) on which i have one node as well. Machine 1 , Hub1 and Node1 For the second Node i have another VDI machine. Machine 2 and Node2. 4.When i…
0
votes
0 answers

How do I determine reason for Selenium Grid hub unexpected shutdown

I have a Selenium Grid with the following setup: Server (Windows Server 2012 R2 Standard ) with Grid hub (selenium-server-3.14.0). 12 x PCs with Selenium Nodes(selenium-server-3.14.0) (each with 4 max sessions/instances of Chrome). All these…
CynicalBiker
  • 579
  • 5
  • 14
0
votes
1 answer

My test is getting failed when i try to execute on "Linux/XP/etc" platforms using Selenium Grid

i'm new to this Selenium grid.. my node is default registered on Win10 platform.. so it is executing the script without any issue. But when i tried to run on Other than Win10 it is getting failed. can someone please help me how to resolve this. i…
0
votes
0 answers

Integration of selenium grid with automation framework

Please Note:Kindly request the people not to mark this as duplicate or etc. Request everyone to read the question. I have come across the task where I need to integrate the selenium grid in my automation framework: I have the following…
0
votes
1 answer

How to run selenium grid with protractor

I have set up the hub in one machine(A) by the command java -jar selenium-server-standalone-3.14.0.jar -role hub -port 4441 and nodes in another machine(B) by command Java -Dwebdriver.chrome.driver="C:/drivers/chromedriver_2.42.exe" -jar…
Devleena
  • 453
  • 9
  • 25
0
votes
1 answer

Can we set multiCapabilities more than one time in protractor

I am using protractor-cucumber framework(protractor 5.2.2 and cucumber 3.2.0).I need to enter some data for multiple users into our application.I am running my protractor script by distributed test execution by selenium…
Devleena
  • 453
  • 9
  • 25
0
votes
1 answer

Can we change multicapabilies in between the test running in protractor

I am using protractor-cucumber framework(protractor 5.2.2 and cucumber 3.2.0). I have a requirements like this - posting some details(from DB) to an application with different user credentials. Currently, I am doing with a single login credential.…
Devleena
  • 453
  • 9
  • 25
0
votes
0 answers

how to download a file to local machine instead of grid node in protractor

in my organization we are using protractor with selenium grid. we have download and edit downloaded excel file functionality Locally i am able to verify whether file downloaded by using "fs.existsSync(filename)" and editing that using protractor. my…
0
votes
1 answer

Selenium Grid: URL in RemoteWebDriver(url, caps)

I am trying to run a test suite using selenium grid, and I was able to establish hub and one node. After this, when I am initializing the RemoteWebdiver(url, caps) call, it is throwing an exception: org.openqa.selenium.WebDriverException: Error…
0
votes
1 answer

Not able to execute Selenum Grid for Chrome Windows

I am using Workspaces. A glimpse of my code is as: @BeforeMethod: driver= gridChrome(); WebDriver gridChrome() { System.setProperty("webdriver.chrome.driver","/absolute/path/to/chrome/driver"); DesiredCapabilities chromeCapabilities =…
0
votes
1 answer

Chrome remote debugging in a seleniumgrid

Im running a selenium-grid with several chrome instances. The selenium grid are 2 machines(windows) with several nodes. The tests are executed from another machine which connects to the grid. To be able to use the features of remote debugging, i…