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
Create Business Pages In POM - Part 4
Posted in Selenium

POM | More Business Pages | Part 4

We have already created a few classes for the web pages, however, there are more web pages in the demo application. These web pages contain business logic, application flow, and other functionalities.

Continue Reading POM | More Business Pages | Part 4
Base Class In Page Object Model
Posted in Selenium

Base Class In Page Object Model | Part 3

In this tutorial, we will learn what is a base class in page object model and how to refactor the code. The page object model is solely based on the pages and

Continue Reading Base Class In Page Object Model | Part 3
Page Object Model Framework
Posted in Selenium

Page Object Model | Framework Design – Part 2

In our previous article, we have created a maven project and in this tutorial, we will add more components to it. This Page Object Model Framework tutorial is without Page Factory.

Continue Reading Page Object Model | Framework Design – Part 2
Page Object Model
Posted in Selenium

Page Object Model Tutorial | Basics – Part 1

The Page Object Model (POM) is an approach/design pattern to implement the Data Driven Framework, Keyword Driven Framework or Hybrid Framework.

Continue Reading Page Object Model Tutorial | Basics – Part 1