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

Take This Entire Course for Free

What will you learn in this lecture?

In this video, we will go through the process on how to identify fields using Xpath of the Elements Identification course.

Selenium Tutorial – How to Identify Fields Using Xpath


Let’s talk about the field and the web at it’s and how to work with those. So I got two fields here that we can fill out and I can click in here and right away you can see nad ex-pat given to me contains an ID. Excellent. So we can use that. Right. And I wouldn’t complain about this just because it has an ID as if it is an idea. We can obviously use the ID value to passing to the Web drive or doing something like.

By the just like that. And also I mean that’s about 80 percent ID does great. If you want to get complicated. Right I can show you guys how to get complicated if you want to get to that level. So rather than a star let’s put it p here and inside was if I had to and now that doesn’t select anything right. So let me copy this over go back to here. So inside of the P We have an import living.

So import and the input has an ID that’s there. So if I had enter that works exactly as required but why is that necessary. That’s just extremely complicated overengineered. And we don’t need that at all. Therefore something like this with a star of course works just as well. Except it’s not overengineer just a simple query. So I would just simply use the identifier. Don’t make your life harder if you don’t need to do it. Just use the simple identifier. Selenium provides us this. Just passing the value and that’s it. Email field.

Let’s look at the email field. Same thing. It has an ID user ID. No problem

Nikolay Advolodkin is a self-driven SDET on a lifelong mission to create profound change in the IT world and ultimately leave a legacy for his loved ones, community, and the world at large. Today, he serves as the CEO and Test Automation Instructor at UltimateQA.com and contributes informative articles to leading test automaton websites like SimpleProgrammer.com and TechBeacon.com

Pin It on Pinterest

Share This