Selenium Automation Framework Tutorial - Handling Dynamic Web Tables in Selenium

  Рет қаралды 12,430

QASCRIPT

QASCRIPT

4 жыл бұрын

Learn how to handle dynamic web tables in selenium webdriver. Following will be covered in this video:
- What is web table ?
- Different web table tags
- Real-time example of automating a web table

Пікірлер: 11
@reshmapn7941
@reshmapn7941 2 жыл бұрын
Awesome Explanation sir Thank you
@QASCRIPT
@QASCRIPT 2 жыл бұрын
You're most welcome
@kiransingh8239
@kiransingh8239 2 жыл бұрын
excellent explanation,brother,thanks a lot
@QASCRIPT
@QASCRIPT 2 жыл бұрын
Glad you liked it
@chukwuemekatasie5118
@chukwuemekatasie5118 3 жыл бұрын
Hi, can you help me with an issue. I am using your exact method above, but clicking on the text instead of printing. However I keep getting a stale element reference error after clicking and taking me to the next page. Here is my code WebElement PositionTable = driver.findElement(By.xpath('//td[2]/table/tbody/tr/td/table')) List Rows = PositionTable.findElements(By.tagName('tr')) println('No. of rows: ' + Rows.size()) table: for (int i = 0; i < Rows.size(); i++) { List Cols = Rows.get(i).findElements(By.tagName('td')) for (int j = 0; j < Cols.size(); j++) { if (Cols.get(j).getText().equalsIgnoreCase(ExpectedPosition)) { Cols.get(j).findElement(By.tagName('a')).click() WebUI.delay(5) table: break } } }
@QASCRIPT
@QASCRIPT 3 жыл бұрын
For stale element reference exception, try using Fluent Wait or load the element again before performing any operation on it.
@emreyucel5838
@emreyucel5838 11 ай бұрын
thanks a lot
@QASCRIPT
@QASCRIPT 11 ай бұрын
Welcome!
@kritishah1659
@kritishah1659 3 жыл бұрын
What is the difference between the Selenium and SelectorsHub?
@QASCRIPT
@QASCRIPT 3 жыл бұрын
Both are completely different. Selenium is an Automation tool and SelectorsHub is a XPath generator tool
@kritishah1659
@kritishah1659 3 жыл бұрын
@@QASCRIPT thank you so much it really helped
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 37 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 7 МЛН
Handle Dynamic Google Search Using Dynamic XPath - WebDriver Session - 15
21:51
Naveen AutomationLabs
Рет қаралды 164 М.
Selenium WebDriver Tutorial #36 - How to Handle Web Table in Selenium
26:09
Software Testing Mentor
Рет қаралды 56 М.
Handle WebTable in Selenium WebDriver || Dynamic WebTable Handling
30:24
Naveen AutomationLabs
Рет қаралды 92 М.
How To Handle Dynamic WebTable In Selenium WebDriver || Java
26:42
Automation Testing
Рет қаралды 5 М.
How to Handle Frames in Selenium WebDriver
21:20
H Y R Tutorials
Рет қаралды 57 М.
How To Explain Selenium Automation Framework In Interviews
12:03
RD Automation Learning
Рет қаралды 192 М.
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 544 М.
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 488 М.
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 6 МЛН
Частая ошибка геймеров? 😐 Dareu A710X
1:00
Вэйми
Рет қаралды 4,9 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 65 МЛН
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 18 МЛН