Recent Posts

Data Driven Framework Tutorial
Posted in Selenium

Configure Log4j | Data Driven Framework | Part 4

Logs provide an easy way to debug the execution flow. In this data driven framework tutorial, we will use log4j Logger to

Continue Reading Configure Log4j | Data Driven Framework | Part 4
Data Driven Framework Tutorial
Posted in Selenium

Data Driven Framework | First Test | Part 3

At the end of this data driven framework tutorial you would be able to:create a test script and execute it using TestNGwrite a generic method

Continue Reading Data Driven Framework | First Test | Part 3
Data Driven Framework Tutorial
Posted in Selenium

Data Driven Framework | Creating The Project | Part 2

In this part of data driven framework tutorial, we will perform the following:

Create a new Maven project and add necessary packages

Continue Reading Data Driven Framework | Creating The Project | Part 2
Data Driven Framework tutorial
Posted in Selenium

Data Driven Framework Tutorial | Part 1

Data driven framework is a testing framework that uses external sources to store and manipulate test data. These sources could be excel sheets, databases, etc.

Continue Reading Data Driven Framework Tutorial | Part 1
Stale Element Reference Exception In Selenium
Posted in Selenium

Stale Element Reference Exception In Selenium

The Stale Element Reference Exception is one of the infamous exceptions in selenium. This exception is caused when

Continue Reading Stale Element Reference Exception In Selenium
Listener, Screen shot & Extent Report
Posted in Selenium

Take Screenshot & Generate Extent Report | POM tutorial – Part 9

No framework is complete without reporting feature and we will use Extent report for this purpose.  After this tutorial, you would be

Continue Reading Take Screenshot & Generate Extent Report | POM tutorial – Part 9
Posted in Selenium TestNG

Creating Test Classes Using TestNG | Part 8

So far we have been using a single test class (LoginPageTest.java) with main method to execute all the tests. Now, we will break that class into different classes containing separate tests

Continue Reading Creating Test Classes Using TestNG | Part 8
Generate logs in page object model
Posted in Selenium

Generate logs in page object model | Part 7

In this tutorial, we will introduce the logging capability to our framework. Logs are the files which are generated during run time. Log4j API is used to generate the logs. 

Continue Reading Generate logs in page object model | Part 7
COMMON METHODS IN POM
Posted in Selenium

Creating Common Methods | Part 6

In this section, we will:

Remove the driver dependency from all the page classes (except BasePage.java and NavBar.java)
Create common methods

Continue Reading Creating Common Methods | Part 6
.proprties file in pom
Posted in Selenium

.properties File In POM | Part 5

We will create 2 .properties files for this framework. Recall from the previous post, where we created folder properties.

Continue Reading .properties File In POM | Part 5