Quantcast
Channel: Silk Test - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 625

How to find the number of rows in a table using Silk 4J?

$
0
0

 Hi,

 

I have a scenario where I need to iterate the rows in a table find a particular value and do some logic. For this if I know the number rows I can Iterate using for loop.

Can someone guide me in this.

In Selenium, we get the table as an objet and then try to find the 'Tr' from that table. Eg: List<WebElement> tblRows = table.findElements(By.tagName("tr")); I tried something similar but could not achive. Could you please help me solving this.

 

-Alice


Viewing all articles
Browse latest Browse all 625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>