So, I am using Firefox…but this also happened when I used Chrome and it captured selectors (for some reason, sometimes when I use Chrome, it can´t see individual selectors, but only the main screen, leaving the selector field blank and automatically capturing cursor position)
The visible cursor doesn´t even moves. I created two different activities for a field… it CLICKS over the field, and then it INPUTS on the field. Neither activity however shows any sort of interaction with that field, even if I delete the first or second activity.
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)
— 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)
Thanks. I guess I will have to check EACH selector to discover how many characters change in it, right?
From my non expert (in programming or RPA) point of view, RPAs should do that at least semi-automatically. Like, in debug mode, ask the user to reclick at items and UiPath would then automatically (after some 2-3 reloads, compare the selector codes and add “*” or “?” or “@” (arivu suggested using a @… what does the @ do compared to */? ??) where necessary.
ok, and repair function of the selector already does this.
so just to update for anyone else checking this thread in the future, do not manually replace selectors. Use the REPAIR function and ckick again at the same element. UiPath will automatically REPLACE the parts of the selector that change, with “*”
Maybe RPAs need a little more coding skills than advertised…
ps: I am not posting about the selector that completely changed. For some reason, THAT selector is static now.
But below, there is a *j5 selector that is always *j5, but for some reason, UiPath is not finding it, so as you said, I am looking at UiExplorer to discover what is the problem.
Is the menu-entry “Abrir” visible at start?
If you can’t find reliable selectors,
you can try to navigate with keyboard-shortcut (tab, arrow or something like this)
or you try to “click image” activity…