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 the previous video, we learned coding out the 2nd complex page test of the page objects in test automation course.In this video, we will go through the Executing the first test with complex page for the course..
Executing the first test with complex page
Let’s go ahead and execute the test. One thing that happened with my test is for some reason and you know it is no longer pulling up all of the tests here in my test to explore not sure why I dug into it for a little bit but not able to figure it out.
So I’m just going to ignore that for now and I’m actually going to use Reshad power to run my tests. So if you see me running my tests in a different manner. Don’t get alarmed for whatever reason and you know it’s not working. So I’m just going to use recharter which gives me this little dot here on the side.
So I’m just going to run it using that as opposed to the old way that I was doing it. No big deal. For now I’ll figure it out later but I just wanted to let you know. So we went to the complicated page and then you can see that we clicked the Twitter button and then we opened Twitter. So our test was successful.
Let’s go take a look at the complicated page again and write another test.