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
Parameterized JUnit tests with Selenium WebDriver

With JUnit 4 we’re able to Parameterize the tests. Parameterized tests allow developers to run the same tests over and over again using different values. Now we introduce the way to use the parameterized JUnit tests with Selenium WebDriver. Here is the sample code, which opens the Google search page, searches three different phrases and […]

Read more
Mobile testing – Screen recording on Android – rooted device

Along with the spreading of the Android smart phones, more and more Android applications have been published. These apps should be thoroughly tested before they appear for download in the Play Store. When testing a mobile application, you will need to take screenshots and record a video to document the error that happened. There are […]

Read more