Difference between == and .equals() method in Java

The main difference between equals() method and “==” operator is, it is used to compare objects to check equality but with some of the differences. Table of Contents1 Difference between equals() and “==”1.1 Program demonstrating equals() & ==1.2 Overriding .equals() method Difference between equals() and “==” equals() is a method whereas “==” is an operator. “==” operator when used for...

Selenium Grid – Test execution in Cluster (Part-3)

Table of Contents1 Parallel execution in Selenium Grid with Hub and Node(s) configuration2 What is RemoteWebDriver?3 Difference between WebDriver and RemoteWebDriver4 Syntax for RemoteWebDriver: Parallel execution in Selenium Grid with Hub and Node(s) configuration Before starting the parallel execution part, you should know about Selenium Grid concepts (Part-1), Configuring Hub and Node(s) (Part-2). Before start writing script for Parallel execution,...

Selenium Grid – Test execution in Cluster (Part-2)

In this post, we will discuss about the configuration of Hub & Node(s) with Options. Table of Contents1 Configure Hub2 Access Selenium Grid Console3 Configure Hub with Options4 Configure Node(s)5 Configure Node(s) with Options6 Configure Hub & Node(s) with JSON file Configure Hub To configure the Hub, please follow the below steps. Download the Selenium Standalone Server from here. Start...

Selenium Grid – Test execution in Cluster (Part-1)

Selenium Grid Selenium-Grid allows you to run your tests on different machines against different browsers in parallel. Key Features of Selenium Grid Distributing tests on several machines (parallel execution). Running multiple tests at the same time against different machines running different browsers and operating systems. Essentially, Selenium-Grid support distributed test execution. It allows for running your tests in a distributed test...