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

preview_player
Показать описание
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.
Рекомендации по теме
Комментарии
Автор

Hi @QASCRIPT I loved your tutorials, please could you add to this list CI/CD, how we can implement with this framwork. Best regards.

brunomauricioavilaperez
Автор

Hello @QAscript dis you provide training as well?

ssjjsksknnnnnryf
welcome to shbcf.ru