I’m having trouble executing a Send Hotkey command for Windows + D and then having another Sequence follow it.
It appears that when I run the workflow, it will execute Windows + D to show desktop, then it will hang and I have to exit the execution.
The sequence that is supposed to follow is a double click on a desktop icon, navigate to a webpage, and enter credentials to sign in. The reason I’m doing it this way is the browser is Microsoft Edge and other browsers have given me trouble on this particular website.
Has anyone got a solution to UIPath hanging after a Send Hotkey command?
Edit: I forgot to mention the Sequence works just fine independently.
Hi Michael. What Studio version are you using and what OS? Did you set the Send Hotkey activity on a specific element (Indicate on screen)? Have you left it running for 30s to get the timeout reached error?
Did you set the Send Hotkey activity on a specific element (Indicate on screen)?
No, I just want to trigger the PC to go to desktop, I’m not sure how indicating the element will help with this.
Have you left it running for 30s to get the timeout reached error?
I have now. With the Sequence independently working, the error returned is this:
Oracle Test has thrown an exception
Source: Double Click
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.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)