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 recording automation test using selenium builder of the page objects in test automation course.
Selenium Tutorial – Page Objects in Test Automation – Recording automation test using Selenium Builder
So today for the purposes of demonstration we’re going to focus on only a single scenario. It’s a very simple scenario but a very common scenario that probably most applications have nowadays. I’m going to show you guys this scenario manually. And then we’re going to proceed through automating it through a bunch of different methods. So that scenario is really simple you just go to courses that ultimate QA click the sign in link once you hear you’re going to enter a username and password click the sign in button you’re going to be signed and validate that you’re at the correct page and that’s it. That’s our scenario. I obviously have a test user here set up for me. If you don’t have a test user it’s really easy to get one for yourself. Just click to sign in and then you’re going to be able to create a new account and it’s significantly easier to create and your account has got to fill out four fields completely free or you can sign up with LinkedIn. Not a problem. And then you can use that for your automated testing. So that’s the manual scenario and it’s a single one that we’re really going to focus on. But the important thing to remember here is that all of the concepts that we cover they are applicable to all of the automated tests not just a single scenario. And that’s the key is that the more automated tests you have the more are problems or solutions are going to be magnified for those automated tests just keep that in mind. Anyways let’s go ahead and automate that scenario.
I’m going to put Firefox here and then come in here and get to my selenium builder out. If you’re not familiar with selenium builder it’s just an extension for Firefox that you can install similar to selenium ID either but selenium builder is actually better easier to use and more user-friendly. So I’m actually going to go back to courses that ultimate curate and you can see here that I can start a recording using selenium builder just like any other kind of recording tools and just pay attention to the commands that occur here on the left as I proceed through the actions on the right through the actual web page. I’m actually going to do this really quick just recorded because I don’t want to waste your time with the recording. That’s not the purpose of it at all. I just want to show you guys what I’m doing just so you know how everything starts so that you know where we’re going to be headed. So I’m going to start the recording. All right. So there’s our recorded automated super fast right. And the beauty about this record it automated test was so any builder is I can now export it into whatever kind of binding that we want I am going to export it into C-Sharp and we’re going to head to Visual Studio so I can show you that.