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 go through the Intro to section regarding with large web pages of the page objects in test automation course.
Selenium Tutorial – Page Objects in Test Automation Intro to section regarding with large web pages
We are about to get into the final section of our quest to drastically improve our page objects and tackle all of the most common problems that selenium web driver automation engineers experience as they write their functional tests in this section and we’re going to learn how to create simple page objects from complex web pages. As you progress as an automation engineer you’re going to notice that your classes begin to get very bulky in size.
A lot of times you’re going to get very complicated HDMI and pagers that you need to represent inside of a class. And so they’re going to get really bulky really hard to use and really hard to maintain. It’s a common problem for many automation engineers. So in this section I’m going to teach you how to tackle that problem so that you don’t face all of the issues that result from having gigantic classes. So some advantages of having simple page objects as opposed to gigantic monolithic dinosaurs is that they are small in code size right. Less code inside of a single class. Easier to maintain easier to understand. Therefore it’s also easier to manage because everything lives inside of its own small container. Also this methodology that I’m about to show you is going to make our tasks easier to read and easier to write. So all of these benefits are fantastic when we start implementing simpler page objects for complicated web pages. We are going to need a few resources. Don’t worry it’s nothing complicated. What I’ve done is created in sample automation web page where you can practice functional test automation with different kinds of scenarios.
If you go to that URL ultimate create slash automation that’s going to get you started on your path to practice the automation page and the automation page or we’re going to use for practice is going to be this ultimateqa.com/complicated-page. That is the page we’re going to practice functional test automation on with in regards to the scenario. Let’s go ahead and take a look at those pages right now.