Apache Maven – Create a simple maven project

Table of Contents1 What is Apache Maven?2 Key Features of Maven3 Maven Project Structure4 What is POM.xml file?5 Pre-requisite6 Create maven project7 Maven Dependency Management What is Apache Maven? Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a...

How ByChained works in selenium

In this blog post let us understand what is ByChained class. Table of Contents1 Introduction to ByChained class in selenium1.1 Working of ByChained object1.1.1 Program demonstrating without ByChained class1.1.2 Program demonstrating by using ByChained class Introduction to ByChained class in selenium In Selenium API ByChained is a predefined class which is part of package org.openqa.selenium.support.pagefactory The ByChained class has a...

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...