filmov
tv
Find Elements Using ID And XPATH - Selenium WebDriver Tutorial

Показать описание
Find Elements Using ID And XPATH is a free tutorial by Lets Kode It from Selenium WebDriver course
Link to this course(Special Discount):
This is the best Selenium WebDriver Course
Course summary:
At the end of this course, you will have detailed understanding of Web Automation Frameworks
You will be able to EXPLAIN, DESIGN and IMPLEMENT structured AUTOMATION FRAMEWORKS using Page Object/Factory Model
In-depth understanding of Selenium WebDriver CHALLENGES with real time examples
You will be able to implement CONTINUOUS INTEGRATION TESTING using JENKINS
We have 10 dedicated INSTRUCTORS to help you with queries within 24 HOURS, resume preparation, Interview questions
You will be able to perform CROSS-BROWSER testing using SELENIUM GRID
You will be able to create GREAT LOOKING REPORTS using the best advanced REPORTING TOOL
You will have complete understanding of TestNG Framework
You will have excellent command on Build Management using MAVEN
You should be able to lead any Selenium Automation Project from scratch on your own
You will have understanding of Behavior Driven Testing Using CUCUMBER, Gherkin language
You will be able to understand and write efficient testing code
You will have required skills to automate any web application
You should be able to verify Data Integrity with the GUI of the application
Additional Knowledge of running Performance tests with Selenium WebDriver Automation
With all this knowledge gained, you should be easily able to clear Selenium Automation interviews
English [Auto]
Hello all welcome back to the next one and this one we're gonna learn how we can find the elements by using I.T. and expat attributes. Let me just bring up chrome and I'll get into the details of explanation. What I'm gonna do here is I'm going to go to London. Let's call a dot com and I'm going to take some examples of elements to explain you how finding by I.T. and finding by expat works. Let's go to the logon page and then we'll work with fewer elements. So here there are fields e-mail address password and log in button and I click the field and inspect we're using chrome and we're going to be using chrome dev tools. I always encourage people to use Chrome dev tools instead of using any third party add ons or extensions chrome dev tools has pretty much everything and it's very very useful and helpful. I'm going to dock it to the right this way so here you go. When we inspect the element if you see it highlights the element on the right side. Right. This is the dev tools. It shows input. It's a tag because it's a tax feel. The tag is input usually for all the text fields. The tag is input. So this is plain as HTML I hope you guys understand a little bit of Tamil. If not also then it's okay. There's not much need to understand a lot of this table but it's good to know a little bit about it. So I'll explain a little bit. All of these whatever you are seeing here their input. R B R sender. All of these are estimable tags. These are known as elements and inside D tag like input. What you're seeing here is autofocus class type value. Name I.D. All of these are attributes of an element. So these are the attributes which help us in finding the elements like this is the idea we can find an element by Idi or we can use other attributes to create the expat. So these are the element and the attributes. Now what we're gonna do here is I'm going to click on the right hand side and then I'm gonna say command F on the Mac and control F on the windows. It's gonna open the finder kind of thing so please make sure you don't find anything in this window. This is a separate find that it only shows up when you do command f or control of what you see here is fine by string select or expat. You can pretty much put any kind of locator strategy here and chrome the tools will find the elements. So when if I type user underscored email so you can see that it just finds everything with it and hey you can see it has one after which means it totally found two elements with something as user underscoring M.. So this is the div It has four equals to user email. If I go to the next one I see the input which has an IP called User email. So pretty much even if I don't type a proper expat I just want to randomly type something. It's gonna find all the things then it helps us to build X expat are figured out the ideas and everything right. So here we can see that this input element has an idea called User underscore email. So this is the thing that we can use to find the element with the IP. These are the ideas 99 percent of the time they're always unique. Sometimes they can be duplic
Link to this course(Special Discount):
This is the best Selenium WebDriver Course
Course summary:
At the end of this course, you will have detailed understanding of Web Automation Frameworks
You will be able to EXPLAIN, DESIGN and IMPLEMENT structured AUTOMATION FRAMEWORKS using Page Object/Factory Model
In-depth understanding of Selenium WebDriver CHALLENGES with real time examples
You will be able to implement CONTINUOUS INTEGRATION TESTING using JENKINS
We have 10 dedicated INSTRUCTORS to help you with queries within 24 HOURS, resume preparation, Interview questions
You will be able to perform CROSS-BROWSER testing using SELENIUM GRID
You will be able to create GREAT LOOKING REPORTS using the best advanced REPORTING TOOL
You will have complete understanding of TestNG Framework
You will have excellent command on Build Management using MAVEN
You should be able to lead any Selenium Automation Project from scratch on your own
You will have understanding of Behavior Driven Testing Using CUCUMBER, Gherkin language
You will be able to understand and write efficient testing code
You will have required skills to automate any web application
You should be able to verify Data Integrity with the GUI of the application
Additional Knowledge of running Performance tests with Selenium WebDriver Automation
With all this knowledge gained, you should be easily able to clear Selenium Automation interviews
English [Auto]
Hello all welcome back to the next one and this one we're gonna learn how we can find the elements by using I.T. and expat attributes. Let me just bring up chrome and I'll get into the details of explanation. What I'm gonna do here is I'm going to go to London. Let's call a dot com and I'm going to take some examples of elements to explain you how finding by I.T. and finding by expat works. Let's go to the logon page and then we'll work with fewer elements. So here there are fields e-mail address password and log in button and I click the field and inspect we're using chrome and we're going to be using chrome dev tools. I always encourage people to use Chrome dev tools instead of using any third party add ons or extensions chrome dev tools has pretty much everything and it's very very useful and helpful. I'm going to dock it to the right this way so here you go. When we inspect the element if you see it highlights the element on the right side. Right. This is the dev tools. It shows input. It's a tag because it's a tax feel. The tag is input usually for all the text fields. The tag is input. So this is plain as HTML I hope you guys understand a little bit of Tamil. If not also then it's okay. There's not much need to understand a lot of this table but it's good to know a little bit about it. So I'll explain a little bit. All of these whatever you are seeing here their input. R B R sender. All of these are estimable tags. These are known as elements and inside D tag like input. What you're seeing here is autofocus class type value. Name I.D. All of these are attributes of an element. So these are the attributes which help us in finding the elements like this is the idea we can find an element by Idi or we can use other attributes to create the expat. So these are the element and the attributes. Now what we're gonna do here is I'm going to click on the right hand side and then I'm gonna say command F on the Mac and control F on the windows. It's gonna open the finder kind of thing so please make sure you don't find anything in this window. This is a separate find that it only shows up when you do command f or control of what you see here is fine by string select or expat. You can pretty much put any kind of locator strategy here and chrome the tools will find the elements. So when if I type user underscored email so you can see that it just finds everything with it and hey you can see it has one after which means it totally found two elements with something as user underscoring M.. So this is the div It has four equals to user email. If I go to the next one I see the input which has an IP called User email. So pretty much even if I don't type a proper expat I just want to randomly type something. It's gonna find all the things then it helps us to build X expat are figured out the ideas and everything right. So here we can see that this input element has an idea called User underscore email. So this is the thing that we can use to find the element with the IP. These are the ideas 99 percent of the time they're always unique. Sometimes they can be duplic