Problem with Desktop(exe) Image automation

Hello Everyone,

We had simple automation request. We get input in pdf, read the value and open a desktop (exe) application. Search for Vendor and copy the data from pdf to desktop application.

However, this application is non readable by normal selectors. I have tried all the method and finally Modern activity, Use Application and its Click activity/Type Into with Image and Anchor worked.

Use Application (UiPath.UIAutomationNext.Activities.NApplicationCard) has input mode as ‘HardwareEvents’

And Click/Type into inside this is using ‘Same as app/browser’.

I have tested this robot countless times in a Dev VM using ‘Run’ mode. However when I run it from Orchestrator, it is not able to find the elements.

Has anyone come across such issue related to Image automation?

Note: I changed the robot settings ‘Login to Console’ to No and provided the same resolution as in my PC where it ran fine.

HI @Lakshmi_Holla

In Same machine or different one?

Regards
Sudharsan

Different machine

Do you have unattended license? @Lakshmi_Holla

If yes means kindly check the following mentioned in this thread

Regards
Sudharsan

Change the Input method type as the Hardware events is not compatible with Background execution.

Reference: Input Methods

Yes machine has unattended license and the machine has UiPath.Service.Host.

@Lakshmi_Holla Yes like @marian.platonov said please change the input mode as simulate and try again once

Regards
Sudharsan

oh but then how do I automate that desktop application? Simulate,window message does not work.

Should it be done with UiPath.Core.Activties ->Image and hot keys?

With hotkeys, you will be able only with SendWindowMessages for desktop apps.

I’ll try and let everyone know.

Thanks

Wanted to let everyone know that this was solved by using Send Hot Keys for all the clicks/typing/navigation.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.