Posts tagged "Page Object Model "

Tag Archives: Page Object Model

Singleton Design Pattern in Selenium

Let’ see how can you use Singleton Design Pattern in Selenium. In this tutorial, We will learn about the Framework Design Pattern using singleton class in Selenium. In the Previous tutorial we have seen, How can we run the Test using Page Factory. Now question is, Will we repeat the Browser invoke and Logger code again and again … Continue reading Singleton Design Pattern in Selenium

Page Factory in Selenium POM Framework

In this tutorial, We will learn about the Page Factory in Selenium. We will see how can we use the Page Factory Concept with Page Object Model in Framework designing.   What is Page Factory? The PageFactory Class is an extension of the Page Object design pattern. It is used to initialize the elements of the Page … Continue reading Page Factory in Selenium POM Framework

Parameterized Test Execution Order

Let’s see, How can you Paramertize Execution Order of tests in Selenium. In this tutorial, We will learn How can we decide the Execution Order at Compile time in Selenium. In this tutorial we will see, If we have the requirement to run the Test Cases Related to one functionality only then How can we … Continue reading Parameterized Test Execution Order

Log4j Integration with Selenium

Let’s see, Log4j Integration with Selenium. In this tutorial, We will learn How can we generate the logs in Selenium. In Automation, reporting plays an important role so we can generate the different type of HTML reports, XSLT report, log files etc. For Log generation, we will use Log4j in our scripts.   Why is … Continue reading Log4j Integration with Selenium

Design Page Classes in Page Object Model

Let’s see, Hiow can you design Page Classes in Page Object Model. In this tutorial, We will learn How can we generate the Page Classes in POM. We have learned, we keep the Web Elements and action methods on these Web Elements in Page Classes for the specific page.   Now just think, What if … Continue reading Design Page Classes in Page Object Model

Design POM Classes

In this tutorial, We will learn the concept of Inheritance and Encapsulation in POM. In the previous tutorials, We have learned about the POM, Encapsulation, and Inheritance in details.   Now we will see, How OOPS concepts are important and helpful in creating the POM testing frameworks. Inheritance – Inheritance is a way in which … Continue reading Design POM Classes