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. This is 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.
If you know Object Oriented programming and a different functional automation tool, you can still comfortably follow. Also, you can easily get along with all of the principles and patterns that I lay out in this course.
In this course, you will:
– 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 are going through the outline for the page objects in test automation course.
The course is basically broken down into 5 sections.
In section 1, get started with the course.
You are going to get a brief introduction to the course, you are going to get the outline, you get the resources, and you are going to understand the common problem that we all face as automation engineers when it comes to doing automated functional testing of the web.
In the next section, you are going to learn why recording replay automation, is not effective.
I’m going to begin that section by actually recording rest for out and showing you that process.
Afterward, I’m going to attempt to run the test.
We are going to fix the test to actually make it be able to run.
We are going to understand all the disadvantages of record and replay, functional test automation and all of the problems.
And, once we understand the problems, we are actually going to be able to apply fixes to those problems to improve the recorded testing to make it more robust.
In section 3, we are going to begin leaving the pitfalls of keyword-driven tests automation.
First I’m going to introduce you to keyword driven testing, give you a brief introduction and show you what it looks like.
Afterward, the disadvantages and problems with keyword driven testing and why it does not allow our automated functional tests to be stable and robust like they should be, and of course after we understand the disadvantages and the problems, we can come up with logical solutions to those problems to further improve the stability of our automated tests.
So in section 4, we’re finally going to start having some fun with page object pattern.
I’m going to begin by teaching what a page object is, giving you a brief introduction, showing you what they look like and their properties.
Afterward, I’ll teach you about advantages and disadvantages of those page objects, we are going to implement page objects to fix out tests so that you can see why the page objects are the most efficient way to write automated functional tests.
We are going to write more tests using page objects because it is critical you understand all the concepts here we are going to write lots of tests using page objects and we are going to reinforce the same concepts over and over.
And, we will get into the last section, where we are going page objects even better yes it’s possible.
First, I’m going to teach you the DRY principal, once use the DRY principle, we are going to use the DRY principle to further improve our automated functional tests, to make them even more resilient to changes.
Afterward, you are going to learn the single responsibility principle.
After learning and mastering a single responsibility principle, we are going to implement it further
on out tests, so that you can see how the tests evolve with all of these techniques that were learning to stabilize our tests.
Finally, we are going to learn how to deal with complex web pages, because this is a very common problem when it comes to functional test automation.
So, I want to help you to learn how to overcome it when inevitably you are going to face it, and once that technique.
And, at the end of all of these sections, you are going to have a phenomenal understanding of page objects, and not only you are going to be able to understand page objects, you are going to be able to write amazing page objects that can withstand the test of time.
Now, let’s go ahead and look at the prerequisites for the course.
Yes, there are prerequisites for the course and you definitely need to pay attention.