Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [grid]

Selenium Grid allows you to run Selenium tests in parallel, either locally or on a server farm.

0
votes
2answers
72 views

How can I run the same scripts in three different environments

Here is my script: public class VerifyPageContent { @SuppressWarnings("unused") public static void main(String[] args) throws Exception { System.setProperty("webdriver.ie.driver", "...
1
vote
0answers
189 views

How to control order of testNG package test execution without Priority or Dependency?

I have a package containing the tests I want to run. There are no priority or dependency setings at the testcase or suite level. <suite thread-count="1" name="reg 1"> <listeners> ...
1
vote
0answers
31 views

Run tests while browsers are playing video [closed]

In order to test my application, I need to have a few browsers playing video, and then, while those browsers are playing, run the tests. I'm using Selenium Grid deployed in Docker Swarm, and pytest. ...
0
votes
1answer
40 views

Need to work on Chrome and IE concurrently in Selenium; Any possible workaround?

I have two applications - App A works in Chrome and App B does work only in IE. I have to fill a form in app A and validate the data that i have entered in App B. This entire process is part of the ...
1
vote
1answer
369 views

How to make AutoIt script identify browse window when run in remote machine with Selenium grid?

In a remote machine where Selenium Grid is configured - I integrated an AutoIT script with Selenium script to upload a file, but the browser window is not being identified by AutoIT. However, the same ...
1
vote
1answer
488 views

Unable to take screenshots on RemoteWebDriver - running tests thru Selenium Grid

I am running my selenium test thru Selenium Grid and I couldn't take screenshot on the node from my hub. I have followed the code from the Selenium HQ: public class ScreenShotRemoteWebDriver : ...
0
votes
2answers
484 views

Unable to run remote tests using Selenium Grid Chrome in MAC OS

I am having problems running my selenium grid in mac. I have downgraded my server standalone from 3.4 to 3.0.1. I get a System.InvalidOperationException using 3.4 so I downgraded till I get to 3.0.1 ...
3
votes
3answers
8k views

Selenium: how to move physical mouse pointer outside the browser window

I am using selenium (C#) with Grid to test web application. But I get unexpected results when the physical mouse is over the browser window. Issue details same question on stackoverflow. I would ...
4
votes
1answer
3k views

Geckodriver: How to use “moz:firefoxOptions” on node.config for selenium grid

I am running tests on selenium grid using nunit C# with: selenium-standalone-server: v3.3.1 selenium webdriver: v3.3 geckodriver: 0.15 firefox: v52 Firefox is not installed on the default location ...
1
vote
1answer
162 views

How to view Description column in Gridview Microsoft test manager

I need to view the description column in greadview in MTM, the issue is that when I go to Column options I can not find the description column, is there is something I should do? or is it not possible?...
3
votes
2answers
922 views

How to record HTTP traffic in Selenium Grid?

I would like to record HTTP traffic to HAR file when using Selenium Web Driver. One way is to use BrowserMob Proxy. This works perfectly fine locally but not when in Selenium Grid, because Selenium ...
0
votes
1answer
824 views

Selenium 3.0.1 is failing to create new remotewebdriver instances

After upgrading from selenium-server-standalone-3.0.0-beta2.jar to selenium-server-standalone-3.0.1.jar I am getting these console logs after creating each webdriver Nov 04, 2016 12:56:34 PM org....
1
vote
4answers
1k views

What to do if Relative Xpath is keep on changing [duplicate]

Below are my xpaths and keep on chining, Element path <div class="dijitInline utilizationTitle">5.00%</div> Here need to capture values (5.00%).... Element Xpath //*[@id="...
0
votes
1answer
200 views

Error in selenium grid simple test script

import org.openqa.selenium.*; import org.openqa.selenium.remote.DesiredCapabilities; import java.net.MalformedURLException; import java.net.URL; import org.openqa.selenium.remote.RemoteWebDriver; ...
2
votes
1answer
149 views

What is node in Selenium Webdriver GRID?

From what I learn- Nodes are the Selenium instances that will execute the tests that you loaded on the hub. So this means, on a node which runs 5 browsers on a particular OS has basically 5 nodes ...
0
votes
1answer
335 views

webdriver doesnt Click (sometimes) even after waiting for ElementToBeClickable

Example not exact code: WebDriverWait wait = new WebDriverWait(driver, TimeSpan.FromSeconds(45)); wait.Until(ExpectedConditions.ElementIsVisible(By.Id(Element))); wait.Until(ExpectedConditions....
0
votes
2answers
3k views

How to handle file upload through windows form when using selenium grid?

Writing tests with c#/nunit and running tests on the same machine i could use System.Windows.Forms, or call Autoit script to handle upload window that selenium cant interact with normally. But this ...
2
votes
2answers
911 views

Are other classes able to access the webdriver instance when extending test base class? Getting NullPointerException Error

I am getting this error when running the below selenium scripts using TestNG with Selenium Grid. I'm extending the testbase class to access the WebDriver, but I'm not sure if each class is getting the ...
1
vote
1answer
713 views

Blank Browser launches on Selenium Grid Hub with Every Test Run on Node

Why does the hub keep launching a blank browser before it runs a test on the node? Every time a test starts to run, a blank browser is launched on the hub before it opens the same type of browser on ...
1
vote
2answers
890 views

Parallel Testing with Selenium Grid - Static classes have driver issues

I am currently working on an automation project. I have the project itself complete. However, I am now integrating Selenium Grid into my project to run my tests parallel on different browsers e.g (...
2
votes
2answers
3k views

How to write good test cases for filters in Grid?

How to group test cases for filters in Grid? There are few filters options: dx popup with ranges and dx filters menu with list of parameters. How to do this on high level instead of describe every ...
2
votes
1answer
703 views

Failed to connect to Safari driver through Selenium Grid

Getting the following exception when trying to run the selenium tests on Mac- Safari using Selenium Grid. I could see the safari browser on Hub console, but when running the tests getting the ...
0
votes
0answers
265 views

Selenium Grid2 and Sikuli

Has anyone tried integrating Sikuli to Selenium Grid architecture ? I have read many articles online but unfortunately couldn't reach to a solution. To briefly explain, my scripts are equipped with ...
5
votes
2answers
294 views

Tomcat Server when used amongst Selenium Grid setup

We are using a different style of Automation framework in our project (as per client request) wherein we have designed a JSP page and this page contains links and buttons through which each ...
1
vote
0answers
567 views

Why a PhantomJS grid node is defined differently compared to other browsers

I am trying to set up one of my Selenium Grid nodes using PhantomJS. (The rest of the nodes are all working fine with Firefox browsers) Now generally, when we configure a node, we launch a selenium-...
1
vote
1answer
895 views

How do you monitor Selenium Grid?

I havea grid of 18 nodes testing our application. Currently I have written a rest-api, which returnes the CPU information on the machine through a java servlet. It's working, but it is not nice. How ...
1
vote
2answers
2k views

Verify grid data in selenium webdriver using c#

I am new to selenium. I want to verify data shown in grid on my web application page with database value. I have gone through blogs, and what I have found is: Using Selenium Webdriver in C#: i. ...
5
votes
1answer
403 views

Selenium Grid2 - IOException thrown while closing Closeable.

I am executing my Selenium tests against a Grid server, hosted on a different machine. My grid invocation is (bat file): cd c:\ start java -jar c:\selenium-server-standalone-2.46.0.jar -role hub -...
0
votes
1answer
7k views

How to connect node to hub that are in different networks

If I use case when hub and node are on the same network - here is how I do this: launch hub: java -jar selenium-server-standalone-2.45.0.jar -role hub -port 4444 launch node: java -jar selenium-...
0
votes
1answer
832 views

Automation framework structure for two browsers simultaneous testing

Some high level (UI) smoke test scenarios should be automated for the web application made for audio/video/chat conference calls. At least one to one(peer-to-peer) users should be used to simulate ...
2
votes
2answers
1k views

Selenium Grid and TestNG Parallel option

This is my first posting here. I already searched here and couldn't find an answer. I'm in the process of integrating Appium with Selenium Grid to run our iOS and Android mobile app test cases in ...
1
vote
2answers
8k views

how to run concurrent users using different browsers in selenium for LogIn script

I have created login scripts using hub and nodes. execute command to start selenium server Started a Hub along with selenium server. Started multiple Nodes. Worked on scripts and run for Firefox. ...
1
vote
3answers
3k views

Connecting Appium to Selenium Grid

I'm having trouble connecting Appium to our local Grid. When I try to connect I don't get any errors, but I do not see Appium in the Grid console. Here's my node config file. { "capabilities": ...
2
votes
2answers
1k views

Alternative to Selenium Grid Console?

Does anyone know of any alternative to Selenium Grid's console? We are thinking about building our own console. What I was asking was, are there any alternatives out there for the default Selenium ...
8
votes
2answers
2k views

How to manage application data when running multiple tests in parallel?

Our functional test suite is slow I have inherited a functional test suite using Selenium 2 (Webdriver) and Junit. We have around 500 tests written for our Java web application. Running the full ...
1
vote
0answers
403 views

Occasional no response from Selenium Grid server - any theories?

While locally we're having no problems, on a virtual server we're running Jenkins which kicks off Selenium Grid to execute some of our tests. Exception has been thrown by the target of an invocation. ...