Newest 'selenium-grid' Questions

Q&A for professional and enthusiast programmers

Getting error while executing Cmd command from Java?

Please find below stacktrace for the exception 2016-12-28 16:22:15.685:INFO:osjs.Server:jetty-7.x.y-SNAPSHOT 2016-12-28 16:22:15.706:INFO:osjsh.ContextHandler:started o.s.j.s.ServletContextHandler{/,...

Parallel = “tests” not working in Grid

Following is my Methods code : package testcases; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.net.MalformedURLException; import java....

Selenium for docker issue

I have recently set up a selenium grid running in Docker. My current setup has the hub running in Docker on its own VM. I have another docker instance with 4 chrome nodes running on another VM. Both ...

Selenium RemoteWebDriver release session but don't close browser

I am new to selenium automation testing, Is there a way to kill remotewebdriver session without closing the browser? Also is it possible to wait for user intervention (say Click on certain element) ...

Specify browser version for Selenium nodes into docker-compose.yml

I am currently setting up a Selenium Grid through Docker, and more specifically via docker-compose. I am very new to those tools, so I apologize if the answer is obvious, but I couldn't solve it by ...

JavaScript error (WARNING: The server did not provide any stacktrace information) On IE browser

My Automation scripts are getting braked on IE 11 Browser and getting this error while executing the script on multiple forks .Please help

org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session

I am trying to setup selenium grid. and follow the following steps:- 1) Start hub on Windows 10 (32 bit) :- java -jar "path to standalone jar" -role hub -port 4444 2) Start node on Ubuntu14.04 (64 ...

Unable to create new Chrome remote session

I'm trying to launch a new Chrome browser using Selenium Grid but ending up with the below error Unable to create new remote session. desired capabilities = Capabilities [{browserName=chrome, version=...

Will ATU Report 5.1.1 version supports selenium standalone3.1.0

when i am run the test it is displaying an error as java.lang.NoClassDefFoundError: Could not initialize class atu.testng.reports.utils.Platform at atu.testng.reports.writers....

Strange behaviour in code exection in java

I face strange execution behaviors in login test methods. I run this code Under selenium Grid. and Grid is configured as standalone server. so,first i start the selenium grid(Hub\Node) using batch ...

password protection using selenium grid and remote nodes

When using selenium grid with remote nodes, how can I execute commends on the node without passing information in the clear between the grid and the node? I access the site I am testing uses https, ...

Unable to launch firefox with selenium grid 3.0.1 gecko driver 0.11.1 firefox 50.0.1

trying to launch firefox with selenium grid is through org.openqa.selenium.sessionnotcreatedexception if(useRemoteWebDriver){ URL seleniumGridURL = new URL(System.getProperty("gridURL")); ...

Internet Explorer is not launching my selenium webdriver code

Selenium WebDriver code is: File file = new File("D:\\Polycom_Space\\WebdriversIEDriverServer_x64_2.53.1\\IEDriverServer.exe"); System.setProperty("webdriver.ie.driver",file.getAbsolutePath()); ...

How to host Selenium Grid's hub and node on different VMs?

My host is Windows 10 with VirtualBox on which I have 2 VMs with Debian. I started the hub on one of the machines with the command: java -jar selenium-server-standalone-3.0.1.jar -role hub -timeout ...

NUnit3 LevelOfParallelism And Selenium Multi-Browser Testing

I am currently using NUnit3 in conjunction with a Selenium 3 test framework using the C# bindings to run Selenium tests in parallel. My test fixtures are decorated multiple times like so, because we ...

Selenium Grid request timeout Before session created

In my selenium grid setup, my session requests (that are waiting for empty slots to become available) timeout before hitting the newSessionWaitTimeout because they are hitting the RemoteWebDriver ...

Selenium Grid is launching the wrong version of Firefox

I'm trying to use Selenium Grid 3.0.1 with Firefox 47 on OS X. /Applications/Firefox.app is Firefox 50. /Applications/Firefox 47.app is Firefox 47. No matter what I try, Selenium launches /...

Selenium 3 Grid in Java: SessionNotCreatedException for Chrome

Using Selenium 3 I am not able to run tests in my grid using Chrome. Here's my setup: @Before public void setUp() { this.baseUrl = Config.getProperty("WEBAPP.PATH"); System.setProperty("...

Opening native app ios 10 with grid

I want to run my scripts on IOS 10 with appium. Previously, I've ran my scripts on 7, 8, 9 which worked good. Now I'm making the switch to IOS 10 and I'm having a very hard time starting my scripts ...

Win10 supports selenium3.0.1?

Is selenium-server-standalone-3.0.1.jar compatible with Windows 10 OS ? I am able to run a simple java program, getting below error on launching Firefox browser. Tried using TestNG, but facing same ...

Selenium Remote Web Driver gives java.lang.NoSuchMethodError: com.google.common.collect.Multimaps.transformValues

I have an Spring MVC4 web application: It has one controller class as follows - @Controller public class SeleniumController { @Autowired SeleniumService seleniumService; @RequestMapping(value={"...

Selenium Grid: How to retrieve node information from HUB programatically?

I am trying to run my selenium code using selenium grid. Can someone please tell me how to retrieve system information (Like PC name , OS )of the node using java code

Unable to get Selenium Grid 3.0.1 running on multiple instances of Chrome

I have recently moved from Selenium Grid 2.48 to 3.0.1 but I am having problems getting tests to run on multiple instances of Chrome. It appears that when Selenium Grid changed from v2 to v3 that ...

How to support multiple environments/DNS in Selenium Grid?

I have a suite of automated tests that run on a Selenium Grid. I have a need now to run these tests in multiple environments (QA, Stage, Production). The environments will be set up using a different ...

Unable to create new remote session - Selenium webdriver

I am getting exception Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{marionette=true, ...

Selenium grid Console showing “[/127.0.0.1] failed: Connection refused”

Please refer to attached screen shot. I've registed 2 emulators to Selenium HUB ( started appium server for each of them ) But it's showing this error message, I'm not sure what does it mean ? Is ...

How to run Selenium tests (Java) from Hudson with Selenium Grid?

for my first experience with Selenium Grid (already worked with standard Selenium) I want to use a Jenkins / Hudson which will trigger my test case on 2 nodes with different browsers. Now I'm having ...

How to capture video when testcases are running in parallel in different RC using selenium and java

Am executing testcases in parallel in different RC's. Here am using selenium,java, cucumber and Junit for testing. I want to capture video of the test cases that is getting executed in parallel in ...

Selenium 3 : Maximum instance in Grid is not working

While execute selenium grid , it opens only one instance of chrome. For Node: java -Dwebdriver.chrome.driver=chromedriver.exe -jar server.jar -role node -hub http://localhost:4444/grid/register -...

How to use TestNG annotations when the framework is Hybrid and test cases are driven by excel in Selenium?

When I use a Hybrid framework using Selenium where my test cases are driven by Excel, how can I use TestNG annotations like @Test for my test cases which are in Excel format? Meaning, I have all my ...

Getting Your connection is not secure with marionette firefox selenium 3.0 grid

I have updated the web driver to selenium 3.0.1 When i use firefox browser and try to open the https website I get Your connection is not secure exception. With selenium 2.53.1 web driver below code ...

Docker - Selenium Grid -> container with windows and FF or with mac os and safari

I need a help with docker. I am rooki when it comes to use it but I need it for selenium GRID. I found only conteiners for selenium with different browser like IE, chrome or FF but all of them on ...

Selenium Grid Nodes On Android Mobile

I am New in using Selenium grid.I have a question... is it possible to setup selenium server on an Android mobile to make that mobile acting as a node for my hub?

Run nosetest with selenium grid

I'm currently trying to run python UI automations using selenium grid and nosetest. I finished setting up the hub and two nodes. I tried to run the tests by the command below: nosetests-2.7 --tests=...

How can I update the user password in Selenium-Grid-Extras?

Can anyone link me to a good Selenium-Grid-Extras guide? I have it installed, and need to customize it. Specifically, I need to update the credentials, and reboot settings. When I go to my link: ...

Unable to lauch Opera node on Selenium grid (selenium-server-standalone-3.0.1.jar)

I'm trying to setup Selenium grid (Hub and nodes will run on same VM) which has Chrome, InternetExplorer, Firefox and Opera nodes running on it. Im working with such infrastructure: OS: Windows ...

How to clear Clipboard when running program on remote machine?

Environment: Win 7| Selenium-WebDriver|Java|TeamCity CI Issue: I am testing a textBox that gets the data from clipboard. When I running my testcase on Local machine, it's working fine. However, if I ...

Cannot run tests in parallel (Selenium grid + NUnit)

Im using NUnit 3.5 in combination with a selenium grid (selenium-server-standalone-2.53.0.jar) with two nodes (one node is on the same machine as the hub). Executing tests sequentially on the grid ...

How do I get my Selenium Grid Hub log

I have a selenium grid2 set up on an AWS instance, and I was wondering if there's a way I could view the logs on my local machine? I understand I can visit: http://MyServerAddress/grid/console and ...

Selenium Grid: Unable to run Windows as HUB and MAC as node

I am trying to run the selenium code from windows in MAC machine and the test fails to run. Below is the code used in my frame to execute remotely. 'public Class BrowserHandler{ public ...

Selenium Grid for Database and Mainframe validation

My automation project has 20% UI and 80% as Mainframe and Database validation part. Will Selenium Grid be able to automate Mainframe and Database validation part as well???

Find which node my selenium-grid remote driver is running on?

I obtain a RemoteWebDriver from the hub as follows: RemoteWebDriver driver = new RemoteWebDriver( new URL("http://whatever:4444/wd/hub"), ...

Multiple tests on the same IEdriver instance - memory issues

I'm running lots of selenium tests on my node which is windows machine. In order to speed up test execution by avoiding starting/closing IEDriver instance after every test I decided to reuse the same ...

Selenium 3.0 does not run on firefox on the grid

When I run my scripts using Selenium 3.0 on the grid, only firefox instances open and nothing happens. My setup is like this: Selenium - 3.0.0 Selenium Grid - hub and node started using Selenium 3.0....

Can not start special firefox with Json configuration on Selenium 3

i using Selenium Grid and configuring the node and hub by Json here is my json { "capabilities": [ { "browserName": "firefox", "browser-version": "38.8.0", "maxInstances": ...

Can selenium grid 2.0 hub also act as node?

Can a selenium grid 2.0 hub also act as a node? I ask because I want to cut-down on the cost of buying another node. It would be great to have the hub also do some node work.

Selenium grid multiple nodes (Differen platform and browser) only selenium 3

I run hub on Windows 7 and my script for testing in java run on this machine. java -jar C:\Test\selenium-server-standalone-3.0.1.jar -role hub -port 4444 I have 2 nodes on Windows(VM) and MAC(VM). ...

Programmtically register Appium server node with Selenium Hub

I'm trying to setup android parallel execution with help of multiple emulators and Selenium Grid. For this I need to register Appium server node ( one for each of the emulators ) with Selenium Grid. ...

Selenium ChromeDriver: Adding chrome extension does not work on Grid

I am trying to run a test on selenium grid using Chrome with ModHeader extension. The extension loads fine locally with the solution provided by Florent B in chrome modify headers in selenium java, ...

Not able to run more than 10 Tests in parallel via TestNG Dataprovider

Hi i have designed a selenium test to run in parallel (25) @Test(dataProvider = "getData" ) public void multiUserTest(String url, String username, String password) throws InterruptedException,...
Translating... 0%