12
votes
3answers
4k views

Has anyone found a way to run C# Selenium RC tests in parallel?

Has anyone found a way to run Selenium RC / Selenium Grid tests, written in C# in parallel? I've currently got a sizable test suite written using Selenium RC's C# driver. Running the entire test ...
9
votes
2answers
466 views

How to run selenium server sessions on different xvfb screens?

My problem is how to get an isolated video streams from SeleniumServer browser instances. Let me explain. I have Selenium Server hub running at Ubuntu Server machine and the Selenium Server node ...
8
votes
1answer
6k views

Selenium Grid: MaxSessions vs MaxInstances

I was wondering if anybody could shed some light on a Selenium question that has been giving us a bit of head scratching. We're confused on meaning of MaxSession and MaxInstances of Selenium Grid. ...
8
votes
4answers
2k views

Executing tests Concurrently on different OS and Browsers with WebDriver using Java and TestNG

I have configured grid in my system and written my test script. I can run my test on any specified OS and any Browser but only on one OS and one Browser at one time not all OS and all Browser ...
7
votes
2answers
763 views

Getting a 404 on /wd/hub/session when I try to connect to selenium grid remotely via Python

I can see two remotes under the console but when I try to connect remotely and execute something it fails with a 404. from selenium import webdriver browser = webdriver.Remote( ...
6
votes
4answers
6k views

Selenium Grid on Multiple Browsers: should each test case have separate class for each browser?

I'm trying to put together my first Data Driven Test Framework that runs tests through Selenium Grid/WebDriver on multiple browsers. Right now, I have each test case in it's own class, and I ...
5
votes
1answer
3k views

Error running PhantomJS with Selenium RemoteWebDriver

I start a selenium grid hub with it's default startup command, java -jar selenium-server-standalone-2.33.0.jar -role hub And I start up PhantomJS in it's webdriver mode, on the same machine, like, ...
5
votes
2answers
1k views

Selenium Grid, how to utilize WebDriver with ThreadSafeSeleniumSessionStorage.session()

I am working on a project that involves using the Selenium WebDriver and a specific Firefox Profile heavily to find elements and manage the page. For example, ...
5
votes
2answers
682 views

Selenium Grid with Ant sequential + parallel execution

I am trying to run the selenium tests with selenium grid 2 set up. My tests are more dependent . I have to well-define my sequential run & parallel run. Attaching my build.xml file for ref. Inside ...
5
votes
2answers
1k views

How can I identify the Selenium Grid host running my test from within the test?

I am using Selenium Grid with TestNG to run my tests in parallel. I have certain tests that require a user to be logged in, so I have a user account configured for testing. I have been careful to ...
4
votes
4answers
4k views

Automated Browser Testing using selenium, Nunit, Selenium Grid, C#, webdriver/remote control

I have been researching on how to automate browser testing for a number of weeks now using all kind of different methods. Seleniums website is very vague on which is the best route to take. I have ...
4
votes
2answers
6k views

Selenium hangs when launching Firefox on Ubuntu

My end goal is to have Selenium running 'within' Jenkins. My Jenkins installation runs within an Ubuntu virtual machine. After some issues with the jenkins selenium setup (stemming from permissions ...
4
votes
1answer
117 views

Redundancy for Selenium Hubs

I am running a large Selenium Grid and trying to achieve high availability. Currently I have a single point of failure at the Hub - if this machine goes down then my Grid goes down. I want to achieve ...
4
votes
2answers
719 views

Selenium Grid Video Recording

I'm trying to record videos of my Selenium-Tests. These Tests run parallel on Selenium Grid. I wanted to open a VNC-Server for each firefox and then start recording. So one grid-node would open 5 ...
3
votes
4answers
3k views

Selenium Grid support for Selenium 2?

I have read that Selenium Grid support was planned for Selenium 2.0 at the year end - 2010. Apparently it has not happened. Anyone knows of any updates on this?
3
votes
2answers
3k views

RemoteWebDriver Chrome - start maximized

I need chrome to start maximized when running via the selenium grid. This is how do I initialize it now: Selenium selenium = new DefaultSelenium("localhost", 4444, "*googlechrome", ...
3
votes
6answers
7k views

how to close selenium hub/grid from command prompt

I start Selenium hub to start Selenium Grid from command prompt on port 4444. Now I start Selenium RC from other command prompt. It shows me error message that "Selenium is already running on port ...
3
votes
2answers
4k views

Setup for IE6 (and multiple browsers) in Selenium Grid

I'm having a hard time trying to grasp some concepts on selenium Grid/RC. What I need is to provide specific environments (ie6-on-xp, ie7-on-xp, etc) to the tests. For what I've been reading, the ...
3
votes
2answers
863 views

Selenium Grid: queue size of the Hub?

The Selenium Grid Hub distribute the tests launched between the registered RCs, but if there is no available RCs, it will enqueue them. Anyone knows the max size of this queue? I'm asking this ...
3
votes
2answers
632 views

Selenium 2 Firefox Profile Change Location

For many weeks now, I have been looking around and I have not seen anything regards to changing the location the Firefox Profile saves to. I am using a specific Firefox profile, however, when the ...
3
votes
2answers
1k views

selenium grid - api for listing all available nodes

Is there an available API method for listing and getting information for all registered nodes for a Selenium Hub. I can use /grid/api/proxyid=nodeurl:5555 to get a particular nodes information, but ...
3
votes
2answers
994 views

Selenium webdriver - click() succeeded but didn't actually happend

I use selenium grid (to run test on 4 browsers: FF13, FF16, IE9 and chrome. each browser is on different machine. In the relevant section of the test, i find a clickable element and click on it. On ...
3
votes
3answers
4k views

“Cannot call method 'indexOf' of undefined” when using Google Chrome (*googlechrome) as Selenium RC target

I'm trying to run a test in Google Chrome 9.0.597.98 beta using Selenium Grid. I'm firing the test off from C# using the default *googlechrome target that ships with Selenium Grid. When I try to ...
3
votes
2answers
271 views

What coding practices do I use in Vaadin to ensure I can record Selenium scripts?

My team is about to start using Vaadin and wants to integrate Selenium tests to allow for Test-driven development. However I've heard there are issues with recording Selenium scripts out of the box ...
3
votes
1answer
282 views

Selenium grid 2 - Parallelized datadriven tests

I am pretty new in this area, so apologies for the question. I am trying to run datadriven tests in parallel, using Selenium Grid2 here is my setup of the test: [Test] [Parallelizable] ...
3
votes
1answer
211 views

Custom browser in selenium grid

We're running selenium tests using as RC phpunit 3.6 and we configured a selenium hub with four nodes (using selenium version 2.25) I would like to know how is possible to configure *custom browser ...
3
votes
3answers
922 views

How do i use more than one browser in Nunit/Selenium GRID/C# Setup

I have a Selenium GRID Setup with the various browsers on it (IE6, 7, 8, FF 3.5.6) written in C# and individually they work fine. I also have a set of Selenium Tests setup and they also work fine with ...
2
votes
2answers
5k views

Selenium Grid does not run Chrome on another computer

I have this problem. When on different computer, I start HUB and NODE and then run my tests where I initialize Google Chrome like this: Selenium selenium = new DefaultSelenium("localhost", 4444, ...
2
votes
4answers
263 views

Is there any limit to the number of Selenium RCs connected to a Selenium Hub?

Does anybody have experience using 20/50/100 RCs connected to a single Selenium Hub? I'm thinking of a centralized hub that multiple team could use together. I heard that after 20 RCs, performance ...
2
votes
4answers
2k views

How to shutdown Selenium Grid2 server?

I have written batch files to run Selenium Grid2 server and to register the nodes to it but how can I shutdown the server ? I can't kill the batch processes because their ids are just "cmd.exe" and ...
2
votes
1answer
4k views

Unable to connect to Firefox

I'm working on Selenium and I currently have a hub connected to two vms running linux with all the browsers. I was able to launch browsers until suddenly it just stopped . Firefox or any of the other ...
2
votes
2answers
3k views

Selenium-Grid: How to use `user-extensions.js`

We're converting our Selenium tests to use Selenium-Grid. I'm trying to find a way to launch selenium-grid's hub and/or remote so that it can use the user-extensions.js that we created before. I've ...
2
votes
3answers
7k views

Selenium Grid2 - Remote Node not connecting to HUB

My current setup is I have a selenium RC running as a hub on a windows machine(lets assume machine name is machine.name.com). I have used the following command to start it java -jar ...
2
votes
1answer
1k views

Thread aborted in parallel web test with MSTEST and Selenium

I'm on the last mile getting this to work. I have multiple tests running at once in my test project by changing the parallelTestCount setting in Local.testsettings: <Execution ...
2
votes
1answer
4k views

Setting up Selenium Grid Nodes

I have the Selenium Grid hub set up with one local node running. I'm using windows 7. I launched it in the command prompt using: java -jar selenium-server-standalone-2.22.0.jar -role node -hub ...
2
votes
1answer
2k views

Migrate selenium Nunit tests to MBunit for parallel execution

I am trying to migrate my existing selenium tests with Nunit to MBunit so that I can run the tests in parallel using selenium grid. I've added the attributes [assembly: DegreeOfParallelism(8)] ...
2
votes
1answer
2k views

Driver behavior executing parallel TestNG selenium tests with dataprovider

I want to run selenium tests in TestNg in parallel that use the @dataprovider. Ideally tests are parallel by method (one test = one method) and not simple suite parallelism by browser. I have read ...
2
votes
2answers
299 views

Can I run Selenium on Computer A, and see the browser in Computer B?

Imagine I have some Selenium Project ready on Computer A. When you run this project, a new browser opens in Computer A, and connects to www.somesite.com and runs the tests.. Now, also on computer A, ...
2
votes
1answer
661 views

How to connect iphone emulator to selgrid 2?

I have done all the steps listed here to setup a webdriver backed iphone emulator. I am also able to run my scripts of the emulator when running them locally using the below code while creating my ...
2
votes
2answers
1k views

Selenium grid unable to run the demo test

Okay, this is my first ever try to run the Selenium Grid. 1 - I went according this page: http://selenium-grid.seleniumhq.org/run_the_demo.html ant launch-hub ant launch-remote-control ant ...
2
votes
2answers
3k views

Running Selenium Suites on a Selenium Grid

Does anyone know how to run a selenium test suite from a selenium grid. I know you can do it programatically with a single test, but I was wondering if there was an easy way to do it with a full ...
2
votes
1answer
958 views

Migrating to Selenium 2

Selenium 2/Webdriver has all sorts of great benefits but there is one big drawback: it doesn't support running on a grid out of the box. Has anybody switched from using a SE1 grid to using SE2 ...
2
votes
1answer
253 views

Using browsermob concurrently

i am using testng, selenium-grid to run selenium tests in parallel with browsermob proxy. I could have up to 100k tests in total run in parallel mode by batches of 10 tests (default testng parallel ...
2
votes
1answer
789 views

Unable to open more than five Chrome browers with Selenium

I launch the hub and node: java -jar C:\...\selenium-server-standalone-2.25.0.jar -role hub java -jar C:\...\selenium-server-standalone-2.25.0.jar -role node -hub ...
2
votes
0answers
80 views

Setting Device Width for Remote Webdriver in Selenium

I am using Selenium grid 40 with Firefox remote driver that runs in windows 7. I also use C# API. I was wondering how to Set Device width on headless Firefox browser. The device width is less than ...
2
votes
0answers
71 views

How to recover from crashes/hangups with intern on Selenium Grid

I am running my intern unit tests on a Selenium 2 Grid. This works fine when all tests execute normally. Also a run-time error within a test is dealt with properly: the test is reported as failed and ...
2
votes
2answers
237 views

unable to delete %temp% files created due to Selenium Grid

I have a grid configuration where the node is a windows 7 machine configured to run IE9 browser. Test Cases are running fine but after some time the browser gets slow. While searching I found out that ...
2
votes
0answers
213 views

How to get a list of available browsers from selenium hub?

Is there anyway to get a list of available browsers that are registered with the selenium hub using java? For example I can use my browser to go to the console (ie. www.foobar.com:4444/grid/console) ...
2
votes
2answers
3k views

Trying to run a pack of selenium tests written in java using Jenkins

After reading nearly all the posts that it suggests under "Questions with similar titles" (I will continue reading after sending this post) and reading ...
2
votes
1answer
492 views

How to run Selenium tests in Grid in one browser window?

When using only Selenium server it was possible to run the tests in the single browser window with the setting -java -jar selenium-server-standalone-2.2.0.jar -singleWindow When switched to grid ...