How to connect multiple machines to the Selenium Grid hub

There might an instance in which we would want to run, for example, 50 tests in parallel. 50 browsers would consume the CPU power very fast, so we need to split the load between multiple machines. Fortunately with Selenium Grid 2 this is not a problem. Similar Posts from the author: How to register multiple […]

Read more
How to register multiple browser types to Selenium Grid

If we want to register multiple types of browsers to Selenium Grid we must follow the following logic: The base command for when we want to add a node to the hub is the following: java -jar selenium-server-standalone-2.35.0.jar -role node -hub http://localhost:5555/grid/register -browser browserName=firefox,maxInstances=5 Similar Posts from the author: How to connect multiple machines to […]

Read more
How to run parallel tests with Selenium WebDriver and TestNG

First install Java JRE and JDK. In Advanced system settings/ Environment Variables setup java path: Create a new system variable (if it is not created): Name: JAVA_HOME Value(the location of the jdk):   C:\Program Files\Java\jdk1.7.0_25 In to the Path variable add: The location of jre:  c:\Program Files (x86)\Java\jre7\bin\; Install selenium and testing to Eclipse. Download (from  […]

Read more