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 the wiring up the 2nd test in code of the page objects in test automation course. In this video, we are going to write the description of the 2nd test for the course.
Description of the 2nd test.
So in this next portion, I want to show you guys how to create an automated functional test in real time. There are a few benefits of this. In that, first you guys will get to see how to create an automated functional test using the page object model. And you will be able to see how that extends all the different kinds of pages and how to create different kinds of pages.
As you continue to expand in your test suite so the test in question here is. I would like to make sure that one of my courses can actually open right. If you imagine that courses that ultimateqa.com has a website that runs a business. And so some of the very important features of this business are obviously that a user can sign in sign up and be able to view the actual courses. So if we step through this manually. just so I can show you guys were going to come over here. Click signing in we’re going to sign in with our test user. And then let’s say that I am going to click a resume course for selenium web drive and user interactions.
It’s going to take a few seconds to load a synchronization point and then we get a checkpoint to make sure that we actually have opened the right page. So looking at this page and analyzing its layout I believe that the best option for validating that the page is loaded is actually this expand the bar. Because I notice that whether you’re in fullscreen mode or in mode where there’s a menu on the side this bar is always present.
So, therefore, you know that you have opened an actual course. And I analyzed this before I started showing this for you guys. But if we analyze HDMI Well this is really nice. Because it actually has an ID and ID is one of the best locators to use when trying to identify objects utilizing so many web driver because it’s the most stable. So that’s about it. That’s our test. Let’s go ahead and actually start coding it.