Home
Basics
Introduction Software Development Models Testing Lifecycle Testing Types Testing Techniques Testing Levels Defect Life Cycle Test Metrics BDDManual Testing
Introduction Manual Testing tools Requirements Desiging Tests Executing Tests Testing Artifacts Testing Plan Testing Strategy Test Summary ReportAutomation Testing
Introduction Web Automation Desktop Automation Mobile Automation API automation Performance Testing ROI Page Object Model Automation tools Unit Testing frameworks git Linux Commands Package Managers Build Managment tools docker CI CD Cloud Testing ProvidersMiscellaneous
Automation Tester Onboarding Interview Questions and Answers Automation cheatsheetPage object model
Page object models are very popular pattern for creating test frameworks for web applications. In this model, Every page in the application is mapped to a class. Elements in the page are added as a members of the class. Methods in the class are used to perform operations on those members.Page Factory Pattern
In Page factory design pattern, all elements of the page are initialised as soon as we create the instance of that class. So you do not need to use driver.findElement method every time you perform any operation on the element. This is similar to Page object model. Only difference is that in this pattern, all elements are auto-initialised.Web development and Automation testing
solutions delivered!!