Get Active window doesn't work on the VM


#1

Hi,
I am trying automate a mail merge word template, where I use “Get active window”. But this activity does not work on the VM and fails with the error: “Error HRESULT E_FAIL has been returned from a call to a COM component.” But when manually logged into the VM and the process is triggered, it works seamlessly. Please help.


#2

Hi @PreethiHari

Is the attach window activity working
Try this please
Thanks
Ashwin.S


#3

Seems like an issue with all UI automation activities on the VM when it is locked. Take screen shot, type into, all of these are failing.


#4

run the process through orchestrator @PreethiHari


#5

It is being run from the orchestrator.