Tag: Page Object Model
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
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
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.
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
.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.
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.
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
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.
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.