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 introduction to HTML tables of the Elements Identification course.

Selenium Tutorial – Introduction to HTML Tables


It right. So I think you guys are getting pretty awesome at using XPath to identify elements. So I’m going to switch it up on you and get a little bit more complicated and I want to talk to you guys about age. TMF tables they are fun to work with if you like a challenge and really annoying and frustrating sometimes whenever you can’t get what you need out of them. So and I’m talking about these exact HVM out tables right here. So we grab our handy firebug and take a look. You guys can see that we have a multiple different cells. And actually the cells live inside of rows and this whole thing right here this table itself. You guys can see is a table right that’s open and has aged him out. And inside of this whole table we have a body and inside of that body we have rows row one two three four inside of the rows.

We may have herder’s or we may have table data. Ok header’s table data. So you guys can see that in order to access this table and get what you need out of it it can get a little bit hectic sometimes. So let’s go back to one note and learn a little bit about HCM tables. So h team l tables have a table tag opening and closing table tag. And inside of that is everything that is going to lay of related to that table. So when I hover over here you guys can see that this table tag is what identifies everything inside of my table inside of that table.We have some body tags. Right. And that represents the table body. So if I expand here you guys can see that I have a body tag inside of which we have

We have some body tags. Right. And that represents the table body. So if I expand here you guys can see that I have a body tag inside of which we have living all of the cells inside of the body. You can have table rows so you have a start to roll Tagen and Roll Tide. Right. And those t rs. TR table row. When I hover over him you guys can see what that represents. Right. So sort of a table we have a body inside of the body we have rows. OK row one two three and four. And then inside over the rows you guys can have either headers for th. You guys see that on top headers or you can have table data.

So one two three if I add another T here it would come out here if I added D 5 with would be over here. So that’s represented in here. So we have our tiaras and inside of the tiaras we average Hedy’s that hold the data. OK. And so that continues for as many rows as you want. I have four if I want to try out a fifth one you just got a fifth one. And then inside of that roll you can place some table bodies where you can even place the table header if you want to get a little bit crazy. That doesn’t matter. But so that’s the structure of a table. And you guys can see how it may get a little bit complicated right.

For example if I want to know what salary a software development engineer in tasks can make than Somehow I have to locate the row in which the software development engineer in test lives and then based on the column header I will locate the salary if I want to know how much an automation testing architect makes. I need to locate the row in which the automation testing architect lives and then get that role and then find the header of the variable that I want in which case it’s salary. And then based on the roll and column I can find the exact value that I need. So it gets a little bit tricky. And let’s go inside a Visual Studio to better understand that.

Pin It on Pinterest

Share This