How to iterate through a JTable in an applet?

Lets say we have an app similar to https://kb.workfusion.com/display/RPA/Automating+SwingSet+App.

How to know how many rows of data are there so that we can iterate through it?

Hi @sayan.dhar try using this approach:

  • click the first cell in the table using Window control
  • use keystrokes Ctrl+A, Ctrl+C to copy the table to clipboard
  • save it to a recorder variable of Table type
  • get the number of rows in the table using Expression action or iterate through the rows using For Each loop