Retry scope error

its select the element and in condition exist the element… and i give 2 retries and with 00:00:05 sec time interval. you can see as given below but still its through the error


please let me know why its happens

Hi @meeraa

This error “Action failed to execute as expected” usually occurs when the condition is not met after the number of retries mentioned in the property.

Regards
Gokul

1 Like

Hello @meeraa

Can you share Screenshot of the Retry scope with its properties.

Also you can try removing the element exists from the condition block, it will retry if any application exception occurs in click activity.

1 Like

Hi @Gokul001,

would i check the element exist selector ?

Hi @meeraa

Check on the below aspect

  • Check whether the windows is not minimized while running the process.

  • Enable all the activities with Activate property or with simulate click property that makes the page come foreground and accessible with elements inside the retry scope.

Regards
Gokul

1 Like

@meeraa
Retry works when an error is occurring and we are putting activities in retry so that if in first time it throws error then try again so it will run till number of retries you given in properties. If error persist it will through error, so please check selectors of activities inside Retry

1 Like

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