My first newbie run. Cannot find the UI element, selector error

HI guys!
I’m new here and got a newbie question about my first run in UIPath. I just tried to recording with type Basic and trying to insert some text in Notepad. When I run it I get the following error below:

RemoteException wrapping UiPath.Core.SelectorNotFoundException: Cannot find the UI element corresponding to this selector: <wnd app='notepad.exe' cls='Notepad' title='Namnlös - Anteckningar' /><wnd aaname='Textredigerare' cls='Edit' /><ctrl name='Textredigerare' role='editable text' />  ---> RemoteException wrapping System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector: <wnd app='notepad.exe' cls='Notepad' title='Namnlös - Anteckningar' /><wnd aaname='Textredigerare' cls='Edit' /><ctrl name='Textredigerare' role='editable text' /> 
   at UiPath.UiNodeClass.FindFirst(UiFindScope scope,
String nodeID)
   at UiPath.Core.UiElement.FindFirst(FindScope scope,
Selector selector,
IPlaceholderResolver placeholderResolver)
	--- End of inner exception stack trace ---
   at UiPath.Core.Activities.TaskAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context,
IAsyncResult result)
   at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context,
IAsyncResult result)
   at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)

I validated my selector and got a Green Validate.
I also tried to indicate on screen by clicking in the Notepad insert field, but still got the same error as above when I played it again.
I tried using UI Explorer and indicated the field and copied the selector but got an error as well.

I’m I missing something important in my installation?
Hope I have inserted enough information if not please let me know I will try to add the missing information so you guys can give me a hint on how to continue with my UIPath exploring.

Thanks in advance!

Hi @Lex

You can share your xaml here to see the error to easily address the issue. Thanks :smiley:

cheers :smiley:

Happy learning :smiley:

1 Like

Thanks for your answer @pattyricarte :wink:

Just by reading my xaml got me the answer. I just needed to use a wildcard (*) in my selector since it was the second run that wasn’t working. The first run was okay, but in the second run the title was changed by the program.

1 Like

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