Creating hub and nodes on Selenium Grid manually and through automation
Selenium-standalone server can act as a jar(java archive) and also server for creating hub(server) and nodes(client machines where automation will run)
Pre-requistie
1. I am creating hub on my local computer on its default port(4444).
2. I am creating nodes again on local machine on port 5555 and port 5556.
3. I have places my local jar at D:\selenium-server.
Pre-requistie
1. I am creating hub on my local computer on its default port(4444).
2. I am creating nodes again on local machine on port 5555 and port 5556.
3. I have places my local jar at D:\selenium-server.
java -jar D:\selenium-server\selenium-server-standalone-3.141.59.jar -role hub
java -jar D:\selenium-server\selenium-server-standalone-3.141.59.jar -role node -port 5555 -hub http://localhost:4444/grid/register
java -jar D:\selenium-server\selenium-server-standalone-3.141.59.jar -role node -port 5556 -hub http://localhost:4444/grid/register
Now instead of creating manually, I am using java program and doing it programatically. (making use of java runtime class)
***************************************************************************************
QACult is the premier institute catering to the requirements of experienced and fresh pass-out that gives leaders like you a new way to experience Quality engineering—while you work and giving you the flexibility to both advance your career.
Our faculty have 12+ years of industrial experience and have developed many automation testing frameworks in java using TestNG or BDD (cucumber) methodology. We expertise in developing automation testing frameworks in java, python, javascript, php, ruby(WATIR-webdriver & Capybara) and Appium.
please subscribe our channel for more such updates:
Our faculty have 12+ years of industrial experience and have developed many automation testing frameworks in java using TestNG or BDD (cucumber) methodology. We expertise in developing automation testing frameworks in java, python, javascript, php, ruby(WATIR-webdriver & Capybara) and Appium.
please subscribe our channel for more such updates:
And visit for website: www.qacult.com for various blogs and Upcoming Events.
Comments
Post a Comment