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 the previous video, we learned executing the first test with complex page of the page objects in test automation course. In this video, we will go through the Coding out the 2nd complex page test of the course.
Coding out the 2nd complex page test
So here you see the complicated web page again. And in this next test why don’t we check that if we search for selenium in the search bar and click the Search button that we get taken to a search page and they guess we can see that it’s the right page by checking that you are all. So just like before let me code the text and then I will explain it afterwards. So here I am trying to find the unique search box.
You can see that I was able to figure out that it has a attribute called roll and it’s value a search so I’m attempting to find all of the search roll attributes and I think there are three. There are three. One he didn’t want to appear two and three.
So for our purposes I am just going to use the first one.
So I think with a search button what I’m going to do is because it lives inside of this form I am going to search for the element inside of the form saw such.
And I think I made a mistake right here.
It should be the second one not the first one because the first element is hidden in that upper left of the web page.
OK. Excellent. I coded the test. Let’s go ahead and look at it for better understanding