Hi, I am new to UIPath and working on recording sequence of Windows app Excel!
When I start recording on Desktop all my activities are under Attached window, but this attached window is throwing the following error:
Main has thrown an exception
Source: Attach Window ‘Template Xlmain’
Message: Cannot find the UI element corresponding to this selector:
Exception Type: SelectorNotFoundException
UiPath.Core.SelectorNotFoundException: Cannot find the UI element corresponding to this selector: —> System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector:
at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID)
at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector)
— End of inner exception stack trace —
at UiPath.Core.Activities.ScopeActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.Core.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
I have read the following link before and tried using Wildcard * in my title for excel but unable to get success !
I just have simple click events in Excel and have recorded the using Desktop Recording, but as all the activities are recorded under Attached window it is showing me the above error !
Please check my Selector as it is showing :
Not only main attached window, try to manipulate the selector in click activities inside the attach window.
Hope you will do some work around to select the proper selector by using UiExplorer
A problem that I ran into was for one of my applications it had a system specific selector (ex: “C:applications/file/user/…”, so if I unselected that, the selector would work like a charm. Another thing to consider is using the repair tool to reselect or use the “data scraping” tool and testing different methods of data extraction.