I’m struggling with getting the thought process right for validating the steps in my automation.
Currently i’m going through these steps:
- Check app state: To ensure that the robot is at the right place in the browser
- Retry Scope:
2.1: Click to open the dropdown
2.1.1: Short delay, because the application is a bit slow
2.2: Click to pick the correct dropdown option.
What i’m missing here is to ensure that it picked the dropdown option, and if it didn’t I want it to retry from 2.
I hope this makes sense.
I need to do this validation because the Website often registers the clicks, but the dropdown option isn’t registered.
Did you try already if the “Select Item” activity works for your application?
As for ensuring that it picked the dropdown option, you could add a “Check app state” to the “Condition” part of the Retry Scope.
I’ve tried with the ‘Select Item’ Activity it gives me this feedback:
I’ll try with the ‘Check app state’ to my condition
I’ve put the ‘Check app state’ into my condition, but i’m unsure what i need to check for, for it to work as intended.
Do i go for A or B as my condition:
A. Picked the state while the dropdown input was chosen
B. Picked the state while the dropdown input wasn’t chosen (in default value with —)
If you check in properties of click you will have verify execution option where you can give retry as wel
Hope this helps
This look just like the sort of feature that solves my issue. I’ll try it tomorrow morning when I turn on the laptop. Thank you so much !
This. There’s also the possibility to check if the default option has was not chosen, but this one’s better since then you can check that the correct result.
Thank you for the help, this together with the Verify Execution on the ‘Click’ activity does the job!
Thank you so much, this and the Condition in my retry scope works wonders!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.