If it is set to 3 than maximum 3 browsers(tests) are able to run parallel. The maxInstance will determine the max number of the browsers. Java -jar selenium-server-standalone-2.33.0.jar -role node -hub -browser browserName=firefox,maxInstances=3 Open a new command prompt window, go to c:\ and enter the following line to register the browser to the Selenium Grid: J ava -jar selenium-server-standalone-2.33.0.jar -role hub -port 4444 Go to c:\ and enter the following line to start Selenium Grid: Now open command prompt (with administrator privileges). The location of jre: c:\Program Files (x86)\Java\jre7\bin\ ĭownload (from ) the selenium-server-standalone-2.33.0.jar file (or the newest).Ĭopy this file to a simple place, for example C:\ Value(the location of the jdk): C:\Program Files\Java\jdk1.7.0_25 In Advanced system settings/ Environment Variables setup java path:Ĭreate a new system variable (if it is not created):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |