Click on button until status appears

Hello,

I want to click on refresh button until the status appears as success and stop if its an error . I tried check app state but that doesnt help with looping . Can someone help me with this ?

Hi @diya_poovamma
you can use Element Exists
or On apear element activity
put these inside Retry Scope.

Hi @diya_poovamma

You can try with Retry scope activity

Check out the docs

Regards
Gokul

2 Likes

Hello @diya_poovamma

You can cretae a loop using While.

Use check app state and get the output to a boolean variable.
While(variable=“False”){
Usse click activity.
use check app state( used again to recheck the state of the status.
}

Thanks

1 Like

Thank you. This helped

@diya_poovamma Welcome, Happy Learning.

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