Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to implement the Page Object Model (POM) in WebdriverIO through this comprehensive tutorial video. Discover the advantages of POM, including improved code maintainability, reusability, and readability. Follow along with a step-by-step demonstration on creating a class for each page, defining object locators, implementing action methods, and integrating POM into test scripts. Gain practical insights into writing more efficient and maintainable automated tests using the Page Object Model approach in WebdriverIO.
Syllabus
Intro
What is Page Object Model
Advantages of POM
DEMO How to implement POM in WebdriverIO Project
Sample demo application for testing
Sample Login test
Run demo test
Start of Page Object Model Implementation
Create class for each page
Create object locators in the login page class
Create functions for action on the objects
Refer the class in test script
Run POM test
Outro
Taught by
Automation Step by Step