UIPath hanging after a Send Hotkey command

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 @MichaelFox,
Can you check the WaitForReady Propery is in Complete.And try with Interactive or None.

image

Regards
Balamurugan.S

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?

Hi Gabriel,

What Studio version are you using and what OS?

Community, Windows 10

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)

Hi Bala,

I’ve attempted this now and it’s not working. I’ll need to find another solution.

Thanks for your assistance.

what`s the exact version of Studio? 18.2? i ve just tried this scenario and works fine. see the attached workflow
a.xaml (5.6 KB)

Gabriel,

Yes sorry, 18.2.

I’ve tested yours and it works. It’s not different to mine that doesn’t work. I’m stumped.