-
Notifications
You must be signed in to change notification settings - Fork 0
Home
panama69 edited this page Feb 24, 2016
·
2 revisions
Welcome to the AutomationPracticeTableJava (LeanFT script using Java)
/* Goal as desribed on: http://toolsqa.com/selenium-webdriver/handle-dynamic-webtables-in-selenium-webdriver/ *
-
- Launch new Browser
-
- Get the value from cell ‘Dubai’ with using dynamic xpath
-
- Print all the column values of row ‘Clock Tower Hotel’
- This test was inspired when I came across the above example and figured
- there had to be a better an easier way in LFT to accomplish this rather
- than the cumbersome and in flexible methed shown using Xpath in Selenium.
- Yes, there are other ways to accomplish this in Selenium without using
- Xpath but from my research it is still cumbersome as it doesn't provide
- you with a mechanism to find a row based on its contents and then process
- the row easily.
- When I say easily, I am referring to the fact that LFT can accomplish this
- without needing to knwo the row and column counts or iteratively loop
- through to find ID, tags or even resort to CSS which still needs to know
- column number value. */