BasicsIntroduction Software Development Models Testing Lifecycle Testing Types Testing Techniques Testing Levels Defect Life Cycle Test Metrics BDD
Manual TestingIntroduction Manual Testing tools Requirements Desiging Tests Executing Tests Testing Artifacts Testing Plan Testing Strategy Test Summary Report
Automation TestingIntroduction 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 Providers
MiscellaneousAutomation Tester Onboarding Interview Questions and Answers
Page object modelPage 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 PatternIn 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.
Complex problems, Simple Solutions