In This Course
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.
In this course, you will 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
– Amazing tips and tricks on how to:
- Implement the Page Objects using Selenium Webdriver
- Improve your Page Objects to follow DRY Principle
- Improve Page Objects to follow SRP Principle
- Create amazing Page Objects for gigantic web pages
In This Lecture
In this video, we will go through the Quiz on how to clean up large pate objects.
Selenium Tutorial – Quiz on how to clean up large page objects
One final test left to clean up and I am actually going to let you do that as an other quiz so that you can get that deliberate practice and you clean this test up. All right. We’re going to work with the toggle so you need to abstract out this center section.
You can call it Center content or whatever you want. I’m going to call it Center content and that when you abstract the center content and you are creating a page object repository. Make sure that you create a new page object repository so that rather than what I was doing here.
So instead of reusing the complicated page object repository I want you to create a new page object repository for that page so that you get more practice in. And I’m actually going to do the same thing when I give you the answer. So again in your quiz is to clean up this test.
So that is following our new design principle where we’re keeping our complicated page smaller redesigned this test and then when you come back I’m going to give you my solution.