Working on Assignment1 of Level3 Adv. Traning, and i have the following issue:
I have added a “Click” activity, selected the “Work Items” button, enabled the “Simulate Click” property but when running i get the following error:
"19.2.0+Branch.master.Sha.21b678a4c3a8b1362fcdd6e92496f991e5a7da37
Source: Click ‘BUTTON’
Message: Cannot find the UI element corresponding to this selector:
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)
"
In the Selector editor, if i click on “Highlight” the control is successfully highlighted:
Why are you trying in chrome, acme website best works with Internet explorer and try to do in internet explorer and it should be working fine with the below selector.
I changed browser to IE and works fine.
May i ask what’s the best way to get work item data? Data Scrapping doesnt seem to work properly as i get “table expected” error.
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)
The selector you have mentioned in the image for set text, how you have got that, because by indicating a screen into the comment section we get the above selector rashmi has mentioned.
If i may ask a final question: Process ends with an error (following one) after 1-2 rounds when a Work Item has been successfully updated.
I guess i have to close the window, and let the process continue with the rest items.
I noticed the “Attach Browser” and “Attach Window” activities, i could use. The Data Scrapping creates an “Attach Browser” activity - created a local variable (xAppBroswer) which has a CLOSE method.
question: which activity could i use to simply run xAppBrowser.Close?