Selenium grid setup is process, we will divide this into 3 tasks, these are
1) Setup Hub
2) Setup Nodes
3) Develop the scripts and execute.
1) Setup Hub
You can place the Selenium Server jar file anywhere in your hard drive, but now am placing into c drive.
2) Go to cmd prompt
3) Navigate where we placed selenium server .
4) Enter ur selenium server as below. (version may be change )
java -jar selenium-server-standalone-2.53.0.jar -role hub -port 6000
by default it will take port number as 4444 if you want you can change

To verify whether hub is running, open the browser and navigate to http://localhost:6000/grid/console

2) Setup Nodes
1) Go to cmd prompt .
2) Enter
java -jar selenium-server-standalone-2.53.0.jar -role node -hub http://localhost:6000/grid/register -maxSession 5

Go to the browser and verify

1) Setup Hub
2) Setup Nodes
3) Develop the scripts and execute.
1) Setup Hub
Download the latest Selenium Server file from http://docs.seleniumhq.org/download/.

You can place the Selenium Server jar file anywhere in your hard drive, but now am placing into c drive.
2) Go to cmd prompt
3) Navigate where we placed selenium server .
4) Enter ur selenium server as below. (version may be change )
java -jar selenium-server-standalone-2.53.0.jar -role hub -port 6000
by default it will take port number as 4444 if you want you can change

To verify whether hub is running, open the browser and navigate to http://localhost:6000/grid/console

2) Setup Nodes
1) Go to cmd prompt .
2) Enter
java -jar selenium-server-standalone-2.53.0.jar -role node -hub http://localhost:6000/grid/register -maxSession 5


No comments:
Post a Comment