Download seleniumgrid1 .navigate to the folder and
1. create a batch file called rc_grid1.bat and paste the below
ant -Dport %1 -Denvironment="*firefox" -DseleniumArgs="-userExtensions user-extensions.js " launch-remote-control
2.create a batch file called rc_hub and paste below
ant launch-hub
3.Launch hub and multiple RC's by creating another batch file called start_hub_rc.bat
start cmd /k Call rc_hub.bat 4444
pause 20
start cmd /k Call rc_grid1.bat 5555
start cmd /k Call rc_grid1.bat 6666
start cmd /k Call rc_grid1.bat 5570
start cmd /k Call rc_grid1.bat 5575
start cmd /k Call rc_grid1.bat 5580
start cmd /k Call rc_grid1.bat 5574
start cmd /k Call rc_grid1.bat 5578
start cmd /k Call rc_grid1.bat 7777
start cmd /k Call rc_grid1.bat 8888
start cmd /k Call rc_grid1.bat 9999
start cmd /k Call rc_grid1.bat 1010
start cmd /k Call rc_grid1.bat 1011
start cmd /k Call rc_grid1.bat 1012
start cmd /k Call rc_grid1.bat 1013
start cmd /k Call rc_grid1.bat 1014
start cmd /k Call rc_grid1.bat 1015
start cmd /k Call rc_grid1.bat 9998
start cmd /k Call rc_grid1.bat 1016
start cmd /k Call rc_grid1.bat 1017
start cmd /k Call rc_grid1.bat 1018
start cmd /k Call rc_grid1.bat 1019
start cmd /k Call rc_grid1.bat 1020
start cmd /k Call rc_grid1.bat 1021
start cmd /k Call rc_grid1.bat 1022
start cmd /k Call rc_grid1.bat 1023
You can see multiple rcs launched and connected to the hub.
1. create a batch file called rc_grid1.bat and paste the below
ant -Dport %1 -Denvironment="*firefox" -DseleniumArgs="-userExtensions user-extensions.js " launch-remote-control
2.create a batch file called rc_hub and paste below
ant launch-hub
3.Launch hub and multiple RC's by creating another batch file called start_hub_rc.bat
start cmd /k Call rc_hub.bat 4444
pause 20
start cmd /k Call rc_grid1.bat 5555
start cmd /k Call rc_grid1.bat 6666
start cmd /k Call rc_grid1.bat 5570
start cmd /k Call rc_grid1.bat 5575
start cmd /k Call rc_grid1.bat 5580
start cmd /k Call rc_grid1.bat 5574
start cmd /k Call rc_grid1.bat 5578
start cmd /k Call rc_grid1.bat 7777
start cmd /k Call rc_grid1.bat 8888
start cmd /k Call rc_grid1.bat 9999
start cmd /k Call rc_grid1.bat 1010
start cmd /k Call rc_grid1.bat 1011
start cmd /k Call rc_grid1.bat 1012
start cmd /k Call rc_grid1.bat 1013
start cmd /k Call rc_grid1.bat 1014
start cmd /k Call rc_grid1.bat 1015
start cmd /k Call rc_grid1.bat 9998
start cmd /k Call rc_grid1.bat 1016
start cmd /k Call rc_grid1.bat 1017
start cmd /k Call rc_grid1.bat 1018
start cmd /k Call rc_grid1.bat 1019
start cmd /k Call rc_grid1.bat 1020
start cmd /k Call rc_grid1.bat 1021
start cmd /k Call rc_grid1.bat 1022
start cmd /k Call rc_grid1.bat 1023
You can see multiple rcs launched and connected to the hub.
No comments:
Post a Comment