Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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, but I am not getting how does I make change on the selenium grid existing demo so that it will work for my web test.

Can some body provide me any link/example so that I will do that?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

My understanding of Selenium Grid is that you will either need a way to run your tests in parallel or have multiple processes firing requests to the Remote Controls.

If you're using JUnit, there's a post on StackOverflow that has a number of recommendations for parallelization.

There's actually an example in the Selenium Grid demo as well. It uses TestNG's built-in multi-threading capability. If you write your test harness in TestNG, that should simplify the process of following the pattern in the demo build file.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.