I’m trying to use a retry scope to select a radio button tat doesn’t always seem to click correctly. In my scope activity I have the click and a get attribute (returns the text of the radio button, which is either “checked” or “unchecked”).
With this I have an is match condition, checking the input variable test (the result of get attribute, stored as a string) against the pattern “checked”. This is returning true even though the log shows the value of test is actually “unchecked”.
In one case I am able to resolve this by using try/catch instead, as the next field doesn’t show if the button isn’t clicked, but with the other case I need to use retry (I did attempt this with element exists and specifying checked in the selector, but it doesn’t come up as valid).
If anything, I need this to help my understanding