What will you learn in this course?
Are you struggling with working with HTML using Selenium WebDriver? Do you know how to easily identify and manipulate an element using Selenium WebDriver? How about performing a drag n’ drop on an element? If not, then these are just a few of the questions that will be answered in this course.
This course is a complete guide on working with web elements in Selenium WebDriver! Once you are finished with this course, you will know how to work with any web elements, anytime, on any web application.
In this course from Ultimate QA, you will learn:
– Basics of HTML
– All the different locator strategies for Selenium WebDriver
– How to identify web elements using Selenium WebDriver
– Master XPath
– Navigation with Selenium WebDriver
– Web element manipulation
– Web element interrogation
– Mouse and keyboard actions with Selenium WebDriver
– Performing actions such as drag n’ drop, drawing, hovering
– Implicit and Explicit waits
– How to properly handle element identification so that your tests are not flaky
– Expected Conditions in Selenium WebDriver
What will you learn in this lecture?
In this video, we will discuss the things to be covered in the next section.
Selenium Tutorial – Page Objects in Test Automation – What will be covered in the next section?
In this next portion of the course I wanted to focus on creating much better page objects. It’s really important to be able to improve upon our page objects because you will notice that although they’re pretty easy to get started with along the way you’re going to come across some challenges that are going to be pretty hard to deal with and you’re going to have many options and you’re going to need to be able to know how to handle all of those challenges.
So there are three reasons for this next section. First is to cement understanding of page objects. Yes I know I gave you pretty great introduction to page objects but they get much more complicated as time goes by. Therefore with lots of exercises and lots of examples I really want a all to understand page objects and for you to be able to code page objects in your sleep. Next I want to improve the code of our page objects. Yes they are phenomenal and they are way better at helping to make more stable tests. But then something like keywords and framework or record and replay.
However there are always improvements to be made to the code even to this very day. I’m still learning things every single day that I take into my automated functional tests just to further improve it. And I wanted to show you guys some of those improvements. Finally I want to tackle solutions to some common challenges. You will notice through your career that as you begin to utilize page objects you will come across some common challenges that we all face as automation engineers.
I wanted to give you some tools to be able to deal with those challenges whenever you come across them so that you are better able to handle them. So this next section is going to be broken up into three parts. Part one we’re going to make our current page objects more dry as in we’re going to make sure that they follow that don’t repeat yourself principle in the second portion of the section. We’re going to make sure that our current page objects follow SRP. That’s known as the Single Responsibility Principle. I’ll elaborate more on that in a few minutes.
And third we’re going to learn how to use complex pages to write simple page objects because there are going to be times and there are going to be a lot of times when you’re going to have a complicated HVM Al page and so your page object that you use to abstract Dowden HMO page is going to become extremely complicated convoluted and hard to maintain. So you’re going to need to know how to write simple page objects for those complicated HVM pages.