Element Exist - repeat till found

Hi

Wondering how I get this to repeat till found.

I’m searching for an element and it could be on pge 1,2,3,4,5 etc
This will only click NEXT PAGE once if not found on first page…

image

Thanks

@KarenL

I guess here you have to use loop and inside that use IF condition.

@KarenL

While or do while would be helpful.

Output of element exist should inverted for while condition is Catch

Let me know if you need further assistance

Try Flowchart.
image

1 Like

Thanks …
I havent used Do While before … is this what you mean? I must have something is wrong order as it just keeps clicking next but doesnt find the element and do next activity

Thanks… but I need it within the sequence as its completing a For each row activity

Hi @KarenL,

I would suggest to use ‘Retry’ activity.
Condition will be Element found = True
and
Actions will be Check if element exists, no then click next page.

Please let me know if this info is not clear.

BR,
Chaitanya

2 Likes

Thanks… just found this and it worked

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.