I have a task where I need to login to one web application and download an image. Am able to open browser and navigate to location where the image is located. Once I click on image download button then a pop-up window will be displayed and need to click on Accept button to continue for further activities.
The challenge am facing here is when pop up is displayed am able to click on Accept button if i keep the RDP machine window open but when I minimize or disconnect from RDP machine .It is unable to find the ui element of pop up box.
Getting below exception :
UiPath.Core.InvalidUiElementException: The UiElement is no longer valid —> System.Runtime.InteropServices.COMException: Invalid UI node. at UiPath.UiNodeClass.BringIntoView() at UiPath.Core.UiElement.BringToForeground() — End of inner exception 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)
Can anyone help me how I can handle such scenario.