I am trying to run a report in a java application through a series of clicks and key strokes. As I go through the process, I open up a series of windows and select the correct parameters in each window. In the final window before I submit the report, I am having some issues typing the final parameter.
I get the following error:
Main has thrown an exception
Source: Type into ‘text File’
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.TaskAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
When I try to select the field using UiPath Explorer, I get the following error:
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index.
Please advise. Thanks