If not equal, return and redo the step

2023-05-19_104528
Hi,guys
If ‘trueURL’ obtained dynamically is not equal to the default value ‘trueURL1’ that I filled in, I want it to return and redo the step. Can you provide me with some ideas on how to achieve this?

I am automating the login process on a webpage, where I enter the username and password automatically. If the input is incorrect, the corresponding URL obtained will be different from the URL I filled in. This requires repeating the login process. Can you provide me with some ideas on how to achieve this?

Hi @shenyu

Please use Retry activity to return & redo the steps. You can make certain actions to be retried until a specific condition matches.

Hope this helps,
Best Regards.


‘trueURL’ and ‘trueURL1’ are not equal, but the ‘Retry’ activity is not being triggered. Can you please tell me if there is any issue with my usage?

@shenyu

Debug the process & check for the same condition in the Immediate panel to verify the true/false output. Also, try with trueURL.ToString.Trim.ToLower <> trueURL1.ToString.Trim.ToLower

Hope this helps,
Best Regards.

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