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 Creating other browser stack tests of the Fast Tests Execution course.
Selenium Tutorial – Fast Tests Execution Creating other browser stack tests
So now that you know how to run a single test and browsers stack Let’s go ahead and paralyzed those suckers so that we can run the mall as fast as possible. So I’m going to do the similar thing as before. Again remember that using any unit we cannot run multiple test methods inside of a test class. So rather what we have to do is create a class for every single test. So I’m going to go ahead and copy the solver.
I’m going to paste that in here. I’m going to copy this over again.
I’m going to create three tests. OK just to show you guys that I’m not making this stop and that it does work.
Cool. So I got this test. Come over here and modify it. I’m going to call it my solution explorer and call this one too. Sucks it didn’t update the class name. See how it doesn’t update sometimes.
I hate that I don’t know why it does that. What Visual Studio does that I wish it could just update automatically like it does in Java. And then this one going to call three. Copy this just in case it doesn’t update in Visual Studio as well it didn’t update here.
So let me paste that here. So now our class name actually matches up to our c file. And now let’s just update a few other things.
So in test one we’re using Safari and OS X. So in test. Let’s see how this looks. Actually I’m going to update this test because I wanted to check out how my site looks on mobile so I’m going to go here.
Courses that ultimate’s curator. Com of course this is not going to pass. So let me put tru here. Sorry about that I have this huge microphone in front of my face and making typing extremely hard so I’m not as efficient as I normally would be. I mean do that and hear updates too.
True as well actually it’s make this one fail. So they are awesome. And guys remember this code is available on my just good harbor account and I’m going to put the notes with this with these lectures as well for you to access it. The code that you’re going to download from my just’s or from my get help account is going to be a little bit different because I’m obviously creating this on the fly as I’m teaching you guys who’s going to be a little bit different but it will be pretty similar. So you shouldn’t be too lost. Be just be like different the do like different things and stuff and Meuron against different browsers.
But anyway so now I got this let me change which browsers I run against. I’m going to go here to docs see sharp curl down a bit and let’s see how my application looks on Windows 10 and Firefox 43 resolution. I want to see a larger resolution.
So I’m going to copy over all of this page that in here. I hate how they did that.
There you go. That’s one test of data that is going to run in Firefox version 43. And lots of other test to run in Mobile. So if you want to run in Mobile you do that up here. So let me select an OS let me do Android Samsung Galaxy 5. That sounds good. So I’m going to do this like this. So that’s going to be for our third test. And rather doing all of this and it pays the mobile and of course edge of this awesome.