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

Take This Entire Course for Free

What will you learn in this lecture?

In this video, we will go through the Introduction to the page object pattern of the page objects in test automation course.

Selenium Tutorial – Page Objects in Test Automation Introduction to the page object pattern

So the page object pattern What is it exactly. Well if you deconstruct its name it is actually a really beautiful name that literally implies what we must do in order to utilize page objects over on the left hand side you can see an actual HTML page. And over on the right hand side what you’re you can see is my page dots. Yes class and this class whenever it’s instantiated it’s obviously going to be instantiated in the form of an object. So whenever you’re writing your class what you’re going to do is you’re going to take the HTML page and encapsulated inside of your page class so that whenever you’re interacting with the page you’re using that object to interact with the HTML page. That’s how beautiful this pattern is. The page object pattern so literally what’s happening at the end of the day is that you are utilizing your page classes to interact with Charnel page just as you would interact with it manually. So if you think of an HTML page like this one in front of you in the actions that you might take against it as a manual test or as any user those same actions you would perform utilizing the page object pattern and your code. So for example if you want to click the Start here button you just call the click Start here but method if you want to navigate to the video tutorials you use page that go to video tutorials. It’s as simple as that and your tests begin to look beautiful.

Pin It on Pinterest

Shares
Share This