# 3- SeleniumWebDriverJava -Grids WebTable (Dynamic&Static) Absolute&Relative XPath

# 3- SeleniumWebDriverJava -Grids WebTable (Dynamic&Static) Absolute&Relative XPath

FG Software Quality Assurance

54 года назад

61 Просмотров

Video # 3- SeleniumWebDriver Java-AdvancedControl,- How to access the Dynamic&Static WebTable and Grids? , Gettext & SetText
1) Grid.htm file contains simple web controls.
D:\Selenium web driver java\Static & Dynamic grid\Grid.htm
I upload this file at my github account, you can access this file from github link https://github.com/farahgul13/WebdriverTest
Open chrome. Open URI D:\Selenium web driver java\ Static & Dynamic grid \Grid.htm and inspect web controls.
2) Write code for Static & dynamic grids or web table.
Pseudocode:
Static table-GetTextofTable:
1. Find out web table or grid.
2. Count number of rows
3. Count number of columns of each row
4. Get the value at specific column and row
Dynamic table - SetTextatTable:
1. Find out web table or grid.
2. Count number of rows
3. Count number of columns of each row
4. Find the element at specific row and column
5. Set text into found element
Please access actual code from below location.
https://github.com/farahgul13/WebdriverTest/blob/master/Video%20%23%203-%20Content.docx

Тэги:

#XPath #Grid #Webtable
Ссылки и html тэги не поддерживаются


Комментарии: