Selector Issues1234

Hi all,

I am getting an error as mentioned below:
"Cannot find the UI element corresponding to this selector:
"

Please do needful to fix the issue.

@ppr
@Yoichi
@vishal.kp
@ushu
@Gokul001

Hi @Vrishchik,

You’ve not added any selector to your post:

If you had an example of your selector then people may be able to help you with fixing it

Hi @Vrishchik

The error message “Cannot find the UI element corresponding to this selector” typically occurs in the context of UI automation or testing frameworks when the specified selector cannot locate a matching element on the user interface.

Double-check the selector you are using to identify the UI element.

Regards
Gokul

Cannot find the UI element corresponding to this selector:

Hi @Vrishchik,

You’re trying to find a back button? Try going to the activity, click repair and Re-indicate the selector. This should generate a new one which will validate.

If it doesn’t work, then just use Indicate Selector and re-indicate it.

Hi,

When you are relying on AA name attribute, no need of id, you can omit that.
Also remove leading n trailing empty spaces from back button and use a wildcard * instead.
aaname=back

Thanks.

image

I need to click on Back, to go to the previous tab

your selector is trying to look for an innertext=' Back ' and same with aaname, try to replace the white spaces with * should be like this: innertext='*Back*'
and the same for aaname

anyway show us the selector from xthe tool of ui explorer and we would try to fix it

Or else can we use simply go back activity??