Using a website , and to complete the action i need to first click a button which then prompts a pop-up which i then also need to click a button to get by.
I get the Cannot find the UI element corresponding to selector. Anyone got any ideas?
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
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, IVariableResolver resolver)
— End of inner ExceptionDetail stack trace —
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Check some points
Is the selector Dynamic? (Changes every time page loads)
Is the selector pointing to desired element?
Use Debug features to understand what’s happening inside
Hi @shawnmurray - Dynamic is something that in the Selector some of the value gets changed every time you get it into that Page for that particular action. Check whether its an image or button.
For example, sometimes elements has a “idx” or “id” property that can vary. Our suggestion is Evaluate Selector to check if some part of selector could change in every execution. You can use Debug Features putting a breakpoint to check if Element is detected correctly.
@asesor-rpa I will explain the process i run a search on LinkedIn using names from an excel sheet which works fine, hits enter to search then tries to click the “Connect” button to connect with the person and i get an error, the enter key wont work here.