Gettng the below error, Can you please guide me on this?
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 System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
I checked your workflow. You are not opening the PDF file anywhere. Get text can read the element only if it exist. That’s why error says selector not found. So open the file using run command or open application activity.
However, the best approach for this case is using “Read PDF” activity. If you don’t find it, you need to goto manage packages and install Uipath.PDF.Activities.
The bot is running fine, but every time i close the application and open the next day, i get the same previous error,
I have to then redo the get text and then run.
Is there any way i can save these changes at once ?
once i close Acobat Reader, it can no longer find the element. I have to re-open Acrobat Reader, and then re-select the options once again and leave Acrobat Reader open for it to work.
Is there any way that i can just do the changes once and dont have to keep selecting every time i close and open adobe reader?