Scheduled Job got failed everytime when not login to VM


I connect my VM via RDP, when Job run at scheduled time, BOT works fine.

Now, when I am not opened the RDP/not login, and job run, it got failed by giving exception ‘Bring the UI elements to foreground’ something like that.

But this should work in the background as my BOT is unattended but it is failing every time if I am not connected to VM.

Please suggest.

You have to enable your applications to work behind locked screens . You can work with SimulateClick, SimulateType and SendWindowsMessages of the Click and TypeInto activities.

Some legacy applications won’t work unless they are in the foreground on the screen.

Is your Robot inside of the VM?