Back to Browse

Advanced Selenium Java Full Course - Session 16 -Cucumber Framework Live Project & Page Object Model

3.3K views
Jun 19, 2022
52:39

Page Object Model: It is a design pattern frequently used with test automation frameworks. It helps in reducing code duplication, increases reusability and reduces maintenance efforts. It contains different page classes which contains web elements and methods to interact with web elements. Each page class represents a page or feature in the application. Example: If an application has 3 pages – Login, Home and Register Page. Then we can create 3 different Page Object classes with all web elements and methods in each page. Advantages of POM: 1. Code is much cleaner and optimized. 2. Complete abstraction of internal code from the tests. 3. Methods and objects can be reused across different tests. 4. No code duplication. 5. Maintenance efforts are much lesser compared to other frameworks. 6. It can act as an Object Repository for Automation Framework.

Download

0 formats

No download links available.

Advanced Selenium Java Full Course - Session 16 -Cucumber Framework Live Project & Page Object Model | NatokHD