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 Quiz on everything we learned of the page objects in test automation course.
Selenium Tutorial – Page Objects in Test Automation Quiz on everything we learned
Now we’re going to write one more test. The purpose of writing all these automated functional tests is for you to practice what’s known as deliberate practice. Deliberate Practice has been shown in research to be way more effective at creating an expert than the actual time log. Learning a skill. For example it’s not the 10000 hours that you spend learning that it makes you an expert. It’s actually how much time you spend on a small concrete skill practicing it is going to make you an expert and help you to maintain all of the information better.
There’s a great story about an individual who was going to a party in Stanford in the middle of the night and it just happened to be raining a lot. It doesn’t rain very often in Stanford but it was raining that day. And this individual was going to a party and as he was going to a party who was walking by the golf course and heard somebody on the golf course swinging a golf ball as you know hitting him. Tch tch tch. And the person thought OK that’s weird you know it’s raining and it’s in the middle of the night and this person is hitting golf balls. But whatever the person continued and went on to the party after a few hours you know three four hours of partying the person was coming back and that individual was still there on the golf course swinging and golf balls in the middle of the night during the rain.
And so the guy came over there to the golf course and he was like hey Tiger what are you doing here on the golf course in the middle of the night during the rain playing golf and Tiger Woods said that it doesn’t rain very often in Stanford. So he was taking the opportunity to practice his golf in the rain. And that’s a perfect example of deliberate practice. Because Tiger Woods was there on the golf course in the middle of the night in the rain practicing his golfing in the rain for that specific skill that’s known as deliberate practice. So what I want to do now is to pull out everything that you have learned into an automated functional test that says it’s going to be a quiz.
I’m going to give you an exercise you’re going to write automated functional test utilizing everything that we have learned such a Single Responsibility Principle the drive principle and the object repositories. And then when you come back I’m going to give you the answer. So the exercise is this you’re going to come back to this complicated page down here in about the center. We have a toggle I want you to open this toggle and then validate that the toggle has been opened successfully. I’m going to give you a hint. This is really hard to automate. So spend a little bit of time practicing deliberately practicing all of the skills that we have learned. And then after you come back I will give you the answer.