How to loop an 'element exists' Activity

Hi,

I have an element exists activity which is followed by an IF statement. The IF statements states that if the Element Exists then to Click OK on a pop up box. The problem is that once Clicking OK there could be multiple pop up boxes, is there a way to loop this so that it continues to Click on the pop up box until the Element no longer exists please?

Thanks,
Tony

Hi @TRX,

Use Flow chart activity.

  1. Check the element exists or not
  2. If yes click Ok button.
  3. if no don’t do anything.
  4. The 2 point again connect to 1 point.

Regards,
Arivu

2 Likes

Thanks, can a FlowChart activity be placed inside a sequence or does it need to be set up as an invoke?

yes you can

Regards,
Arivu

Hi @TRX

Try with the “Retry Scope” activity

Regards,
JothyPrasanth M