Because I want to compare whether it selected the correct radio button.
I try to use “get attribute” activity, but it can’t get button name what it selected.
Please give me any ideas.
@pratikg is right. I’d suggest using the uiexplorer to check what attributes are available.
The property explorer panel shows all the available attributes, in this example the attribute checked indicates whther or not it’s checked.
So in this case you would use the get attribute activity with the string “checked”.
If you cannot use the get attribute activity you could always use the image exists activity. Use an image of a selected button, the result is a boolean and so will be true if a selected button image is detected
1 Like