Page Object Pattern in Selenium Webdriver
4.7 (3,157 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
7,556 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Page Object Pattern in Selenium Webdriver to your Wishlist.

Add to Wishlist

Page Object Pattern in Selenium Webdriver

Drastically stabilize your automation tests bylearning the Page Object Pattern
4.7 (3,157 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
7,556 students enrolled
Last updated 7/2017
Curiosity Sale
Current price: $10 Original price: $75 Discount: 87% off
30-Day Money-Back Guarantee
  • 3.5 hours on-demand video
  • 5 Articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Design a proper page object in test automation
  • Utilize the DRY principle to improve tests
  • Utilize the Single Responsibility Principle to improve page object classes
  • Create simple page objects from complicated web pages
View Curriculum
  • Good understanding of Selenium Webdriver
  • Good understanding of object oriented programming

Did you know that a recent poll revealed that 80% of QA Automation Engineers cannot run more than 100 functional tests daily, with 95% reliability? Furthermore, over 50% of these Automation Engineers struggle to run between 0 - 50 automated functional tests per day!

Functional test automation is a hard job. However, you can make your job much easier by learning a pattern known as the Page Object Pattern. The Page Object Pattern helps to resolve a lot of the problems that other automation techniques cannot. Making your test automation more stable as a result.

This course is designed to teach you how to properly code the Page Object Pattern using Selenium Webdriver with C#. 

However, all of the information here is equally applicable to any other functional testing tool because the Page Object Pattern is a universal principle that makes test automation more robust. Similar to other universal concepts such as Don't Repeat Yourself or Single Responsibility Principle.

Therefore, if you know Object Oriented programming and a different functional automation tool, you can still comfortably follow along with all of the principles and patterns that I lay out in this course.

"The best tutorials I have ever seen, simply awesome. I take off my hat in front of you, you are an gorgeous professor, I am speechless to express how satisfied I am with these tutorials." -Lisbey

What will you learn?

- Why other methods such as Record & Replay or Keyword Driven do not work when it comes to test automation

- What the Page Object Pattern is in automation

- Advantages and disadvantages of the Page Objects

- How to implement the Page Objects using Selenium Webdriver

- How to improve your page objects to follow DRY Principle

- How to improve page objects to follow SRP Principle

- How to create amazing Page Objects for gigantic web pages

What is the target audience?

  • QA Automation Engineer working with a functional testing tool
  • Individual with knowledge of Object Oriented Programming
  • Student who wants to drastically improve the stability of their functional test automation

What my students are saying:

"As an Automation Engineer in the process of switching from Java to C#, I found this course interesting. By starting off with the basics of developing in C# and then progressing through unit testing and developing an automation framework, this course delivers everything you need to build a foundation to become an automation engineer. As if the development knowledge wasn't enough, the students are provided with a section about Scrum and a wealth of references about the business value of automation. I have already recommended this course to my proteges as a way to reduce their learning curve and improve productivity." -Shawn

"I've been searching for good Selenium C# videos since December 2014. I've been using the IDE but now it's mandatory that I use webdriver. Just in the past few videos I have been provided with more useful information than I've discovered independently in 23 months. Thank you for creating this series" -Kay

Crafted to perfection

Every course of mine is crafted with extreme dedication. See how this course compares to other Selenium courses

- Udemy

"Excellent! Has been designed in a way that offers sufficient details at each step. At this point I feel confident about developing a robust automation framework following best practices. Great work. Thank you!." -Student

Who is the target audience?
  • This course is for Automation Testers seeking to drastically stabilize their tests
  • This course is for QA Engineers who struggle to have stable functional test automation
  • This course is for Automation Engineers who want to take their automation to a new level
Students Who Viewed This Course Also Viewed
Curriculum For This Course
64 Lectures
Introduction to Page Objects in Test Automation
8 Lectures 27:00

Course resources

How many functional tests can you run per day

How can we handle automation in an evolving world
Learning why Record & Replay test automation is not effective
10 Lectures 25:00

Course Feedback

Changing the remote webdriver to firefox driver

Understanding why the test failed a 2nd time

Finally getting the recorded test to run

What are the problems with recorded functional tests v2

Conclusions regarding recorded tests

What can we do to fix the problems with recorded functional tests
Learning the pitfalls of Keyword Driven test automation
5 Lectures 16:05

advantages and disadvantages of keyword driven tests

Transition into Page Object Pattern

Page Object Pattern
11 Lectures 32:32

understanding BaseTest and CoursesPage

Page objects look similar

Description of the 2nd test

Wiring up the 2nd test in code

How to implement the UserInteractionsCoursePage

Implementing the IsAt method

Running the 2nd automation test

Making Page Objects Even Better
30 Lectures 01:34:43

Quiz-What about our page objects is WET

Quiz Answer to why our page objects are WET

How to add a BasePage class to our page objects

Further understanding SRP

Analyzing the new CoursesPage

Analysis of ObjectRepository implimentation

Implemention ObjectRepo for StudentDashboard

Fixing the StudentLoginPage

Fixing final page and executing functional tests

Implementing the functionality of the first test

Executing the first test with complex page

Coding out the 2nd complex page test

Debugging the 2nd complex test

Learning how to evaluate elements at run time

Quiz on everything we learned

Explaining the solution to the quiz

Executing the solution to the quiz

Explaining the possible problems that we will run into with our page object

How do you clean up large page objects

Cleaning up large page objects example 2

Quiz on how to clean up large page objects

Quiz answer to large page objects


FInal Exam
About the Instructor
Nikolay Advolodkin
4.6 Average rating
10,453 Reviews
22,650 Students
6 Courses
Automation Test Engineer and passionate teacher

Nikolay Advolodkin is a prolific Automation Test & Quality Assurance Engineer. Currently, he is the CEO and Software Testing Instructor at Ultimate QA. He has been voted as one of 33 Test Automation Leaders to follow in 2017 by TechBeacon. He is also the #1 Selenium Webdriver instructor in the world as rated by Udemy.

He is a frequent Contributor for the blog, SimpleProgrammer and a speaker at Automation Guild 2017.When he isn’t immersed in the realm of coding and all-things QA, Nikolay Advolodkin enjoys self-improvement and aims to hone his vast skill set daily, all while teaching online students how to master automated software testing.