Lets say I have a for-each loop in PAD, and we have to do some web automation for the departments.
I know from a div link inside the web if we are in the 'IT' or 'HR' page at the moment. Instead of checking that div every single loop, is there a way to say
FOR EACH department:
Loop 'x' times (x is based on the number of rows for 'IT' first then 'HR')
Do actions
End
End
TLDR: Go in the 'IT' page, loop through all the rows of Excel that contain the Department: 'IT',
then switch to HR page, loop through all the rows of Excel that contain the Department: 'HR', and so on
