Skip to main content

Posts

Showing posts with the label selenium grid testng

Selenium Grid with TestNG

Hi all, Here I want to share some information on "How to run selenium tests in parallel using Grid". Steps: 1.      Keep ready the tests and TestNG.xml file by including tests to be run. 2.      Launch the Grid using " ant launch-hub " 3.      Then, launch how many RC instances you want to run on different environments like,  " ant launch-remote-control " 1.      You should use parameter   -DhubURL=yourHubURL.   Here yourHubURL is the machine address in which you launched Grid Hub. 2.      then you can use parameters   -Dport, -Denvironment, -Dhost   to launch different RCs. 4.      So now, Hub and RC instances are running. To see the running instances, goto  http://localhost:4444/console 5.      After this, you have to make test multiplication for the purpose of making each instance...