Solved Capturing table element footer when number of rows change

boulay

Member
I have a page with a table that can have any number of rows, and I need to capture the last row of the table for its (Filter) field (see attached).

/HTML/BODY................ TR(102)/TD(13)/TABLE(1......
This example show 102 rows and only works with exactly 102 rows results...
How do i make this dynamic? or, 'go to last row'?

This table could have anywhere between 1-1,000 rows
 

Attachments

  • table image.jpg
    26.9 KB · Views: 12

VJR

Well-Known Member
Hi boulay,

Are you unable to spy the html table and use 'Get Table' action in the Reader stage which will return the table in a collection? If this is a html page it should be possible to do so. Spy thoroughly and very minutely move the mouse over the table borders to see if you directly get the table element. Also try using the Application Navigator and identify the html table element. If you succeed in doing so, once you get the table in a collection you can use the 'Count Rows' action of the internal collection VBO and get the number of rows.

Refer the screenshots in Post #7 here for the Get Table.
 

boulay

Member
Thanks for the Help. Counting rows via get table did the trick, plus making the path dynamic like:

.../TR(" & [Counter] & ")/TD(13)/TABLE(1)...
 
  • Like
Reactions: VJR
Top