Monday, 6 September 2010

To run selenium scripts(html) parallel

I used to run selenium scripts one-by-one in selenium rc, in that case it will take 3 to 4 hours to execute all the scripts completely. client will not wait such a long time to get the results. for that i have taken a selenium grid concept to run selenium scripts(html) and one more thing also using selenium grid we cant run selenium html scripts we can run only selenium scripts in java and c#.

Before running our scripts parallel we need to create one .xml file, so i have given one example .xml file. try to understand this file then you will able to create your own .xml for your projects.

.xml sample:



Steps to run our scripts in parallel.

Step 1: download psexec.exe file from google and paste it inside your scripts folder.

Step 2. open command prompt and run the following command.
ant Main

Main is target name you can change whatever you want.

1 comment:

  1. Hi Neelakandan,

    I don't see any .xml sample in this page ...

    ReplyDelete