I’m going through the Lesson 2 - Practice 1 Walkthrough and I’ve completed the practice. I can run the workflow, but the problem is, after I selected either Yes or No, it will just launch the notepad, and after a few seconds (around 30 seconds), it will display the error
Main has thrown an exception
Message: Desktop has been disconnected while performing UI actions.
Source: Type into ‘editable text’
Exception Type: ElementOperationException
UiPath.Core.ElementOperationException: Desktop has been disconnected while performing UI actions. —> System.Runtime.InteropServices.COMException: Desktop has been disconnected while performing UI actions.
at UiPath.UiNodeClass.WriteText(String text, UiInputMethod inputMethod)
at UiPath.Core.UiElement.WriteText(String text, InputMethod method)
— 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)
I’ve tried restarting UIPath but the same error still persists. Hope anyone can help.