There are two types of HTML tables published on the web- Static tables : Data is static i.e. Number of rows and columns are fixed. Dynamic tables : Data is dynamic i.e. Number of rows and columns are NOT fixed.Handling static table is easy, but dynamic table is a little bit difficult as rows and columns are not constant. Using X-Path to Locate Web Table Elements Before we locate web element, first let's understands- What is a web element? Web elements are nothing but HTML elements like textbox, dropdowns radio buttons, submit buttons, etc. These HTML elements are written with start tag and ends with an end tag. For Example, <p> My First HTML Document </p>. Steps for getting X-path of web element that we want to locate. Step 1) In Chrome, Go to http://money.rediff.com/gainers/bsc/daily/groupa Step 2) Right click on web element whose x-path is to be fetched. In our case, right click on "Company" Se...
Comments
Post a Comment