I will try to explain you the simple general approach to such type of issues. All the below operations needs to be performed under for each loop.
First try to take the whole web table in an datatable variable.
Next find the total number of rows available in this table by using Int_Datatable_Row_number = Datatable.Rows.Count.
Now declare one Int variable name as Int_Counter and initialize it to “0”.
Now Grab the selectors of the live web table on the screen, there just put wildcard (*) in place of the “parent ID” and counter value in place of the “row table1”. In this way your BOT will be getting the instructions about the selectors, row numbers.
Just below this above operation Use If condition to validate the Int_Counter is greater than Datatable row count. If yes then Just put BREAK activity inside it , so eventually it will terminate the For each Loop. If no then just keep the other part of IF statement blank.
Finally Outside the IF Activity Increment the Int_Counter value by 1.
If this solution sounds good to you please mark it as “SOLUTION”.
Use Type into activity → pass the variable instead of the Tablerow=‘1’ to Tablerow=‘Count’ (Check the document or thread how to pass the variable inside the selector)
Check on the above post for dynamic selector
After Typing the first text go for next one
Use Assign activity
Count = count+1
It will loop through for all the cases in the for each row