selenium-grid

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 suite takes a little over an hour to complete. I normally don't have to run the entire suite so it hasn't been a concern up to now, but it's so...

Selenium Grid + Maven 2

Is there a good tutorial or does anyone have experience with setting this up ? I have a Testsuite.html which launches my tests in one browser atm. This is done in the integration-test lifecycle by the maven selenium plugin. I want to run my tests on multiple browsers. I couldn't find any documentation about selenium grid + maven. I hope ...

Will Selenium Grid run under NAnt (not Ant)?

I am trying to get Selenium Grid to run using NAnt but am a little lost, as all explanations I can find use Ant - although I thought they were fairly similar, I can't seem to fire off Selenium Grid on my local PC in this way. Here's the URLs to the Selenium Grid pages online that I've found, but they refer to Ant... Get started ...lea...

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 ensure that any tests involving logging in as my test user are run on separate virtual machines so that sessions are not interrupted, however ...

Selenium Grid with Selenese html based test cases

Hi, Can I any body help in following questions? How to use Selenium Grid with Selenese html based test cases? How to distribute load for Selenese test cases on different machines using Selenium Grid and Selenium RC? Please reply. Thanks Sajjad ...

Selenium Grid with parallel testing using C#/NUnit

I've got several unit tests written with NUnit that are calling selenium commands. I've got 2 win2k3 server boxes setup, one is running selenium grid hub along with 2 selenium rc's. The other box is running 5 selenium rc's. All of them are registered with the hub as running Firefox on Windows (to keep it simple). In my unit test setup me...

Automatically restart Selenium grid on timeout

Is there a way to automatically restart Selenium grid on a timeout? When one of the Remote Controls in our build environment times out on a page, the whole Selenium system has to restart. I have to restart the Selenium grid hub and then go to each remote control and restart it separately. Seems like there should be a way that a timeout o...

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 browser line in grid_configuration.yml do not make any reference of what version of MSIE or Firefox I'm running. So I can't get my head around ...

TestNG + Selenium Grid, only one RC running,

I am using Selenium Grid with TestNG to test a website. The test-code, that i exported from the Selenium IDE works fine. My problem is, the tests are running sequential, not parallel. Here is the code: public class test{ @BeforeMethod public void startSession() { ThreadSafeSeleniumSessionStorage.startSeleniumSession("localhost",44...

Connection Refused running multiple environments on Selenium Grid 1.04 via Ubuntu 9.04

Hello, I'm writing a selenium grid test suite which is going to be run on a series of different machines. I wrote most of it on my macbook but have recently transfered it over to my work machine, which is running ubuntu 9.04. That's actually my first experience with a linux machine, so I may be missing something very simple (I have disab...

Possible to register Selenium RC's with the Hudson Selenium Grid Hub w/o the RC's being slaves in the Hudson cluster?

I am trying to get Hudson to run my ruby based selenium tests. I have installed the Selenium Grid plugin, but I don't want to have the RC's running as slaves in a Hudson cluster. The reason for this is I don't want to waste the next six years of my life trying to configure each of my projects in various Windows environments. Hudson cur...

Distributing requests to Selenium Grid RC's?

I've got a situation here where I have a central selenium grid hub, and several RC's running on my gogrid account. When I access it to run tests, it basically queues all the incoming test requests and executes them serially on only one of the RC's, instead of spreading them out to use available RC's. The tests come from multiple projects...

How Can I test my website using selemium Grid?

Hello Friends, I want to use selenium grid for my web page testing. I have successfully installed the demo of selenium grid on my PC and it is running fine. I have followed this link to install and run the selenium grid demo. I am trying to code a java program using selenium rc which can run with selenium grid for testing the web site...

How to make the selected testcript is run in selenium grid

Hi, I need a help......... I can launch some remote control by using: ant launch-remote-control but I dont know how my script connect to hub? I set up ant, selenium-grid on the same computer. I have an grid.dll which is written by C# and run through NUnit. The test data is read from xml file (ValidData.xml) The example code is below :...

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 the envirments that i pass to them. What i am asking for is a way to prgrammatically set the differant unit tests to cycle through all of ...

Upgrading Selenium grid to 1.0.7

I have just been tasked with upgrading our build system to selenium grid 1.0.7 from 1.0.3. I did not create the original instance of our selenium grid. My problem is this: our 1.0.3 installation has a windows service running that cruise control can use. In addition, there are extra folders in our selenium-grid-1.0.3 folders such as /bin...

Selenium Grid not always using all of its registered RC's, why?

My Selenium Grid setup is as follows (all VMs) VM1 - Windows 7 x64 Windows XP x32 - Grid Hub + 2 RCs registering the default *firefox environment VM2 - Windows XP x32 - 2 RCs registering the default *firefox environment VM3 - Windows XP x32 - 2 RCs registering the default *firefox environment I'm happily using Mbunit and Gallio to dr...

Is there any way to delete an HttpOnly cookie from C# Selenium tests?

I have a set of C# Selenium tests that need to delete a cookie that has the HttpOnly flag set. Unfortunately the DefaultSelenium.GetCookie() and DefaultSelenium.DeleteCookie() commands aren't able to access the cookie, because it has that HttpOnly flag set. I've confirmed this by removing the flag by hand, and checking that subsequent c...

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 been able to get everything to work with our old tests except for our extensions. Searching online I found that you can edit the project.p...

selenium grid + registering RC to it

Hi all , i started hub with ant ,i dont to start rc using ant instead i want to invoke it from code .iam using junit to run rc .please suggest me how?? ...