Loop through application until data table is null?

I have a design question, and I want to resolve it in the least hacky way possible and I am going to try to explain without screenshots.

I have a robot that will open a desktop application, make an sql query and retrieve a number of rows, the number being variable between one and 100. Lets consider the datatable to consist of the; Names, Breed, Colour, and Price of particular kitties.

The robot opens the application, and then will arrive at a particular screen, and will then start entering kitty attributes. Its my wish for the robot to perform a loop and continue to enter kitty attributes until the table is complete then do something else.

Can I accomplish all of this in a for each loop?

Thanks in advance

Hi @Tristan_Stumpf ,

Yes of course, why not! :grinning: