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 debugging a problem and running our first test of the Fast Tests Execution course.
Selenium Tutorial – Fast Tests Execution – Debugging a problem and running our first test
So let’s take a look at this exception. You can come over here click on the Sachs’s going to show you that the message system that no reference exception object reference not set to assist instance of an object. And of course right away I already know what I did wrong. I totally forgot to write our set up method. So I’m going to do a public avoid set up. And I didn’t initialize the driver guys.
That’s what happened. Driver knew Firefox’s driver. There we go. Awesome. So now let’s go to that. He was complaining over here is never signed to and will always default to all. And all that’s missing and to put up another attribute here. Set up.
And so now using and unit was going to happen is always going to execute the setup first and then is going to execute the test. So let’s come back here again and do a another run and this time I believe that it should work. It built you up here we go here’s the browser pop up goes to courses that ultimate QAD outcome and then asserts that it’s true that it doesn’t do anything else but that you can see that the test passed successfully of course as expected because we did assert is true is equal to true. Right. So that’s what is going to pass. But anyways so now we got our very first test. It’s not really parallel but it’s a and unit test that runs using and unit you can see the test explore. We have the tools that are Ranna and all that.
Here you can actually even see it with resharpened as well.
Here’s running it with sharper Yeah with sharper it’s not going to work because the sharper doesn’t work with and unit so therefore that’s not going to work. So you can only use Visual Studio test to run your tests. OK. Awesome So let’s move on.