Screenshot in Disconnected Mode

robot

#1

Hi All,

I am trying run robot in Disconnected Mode using Interactive Session. Robot is unable to take the screenshot of a image using selector. This is working perfectly fine in connected mode.
But in disconnected Mode, “object reference not set to an instance of an object” issue is occurring. Can you please provide a solution
TIA


#2

what is disconnected and connected mode?


#3

It only works under the lock screen if you start the robot from Orchestrator.
For RDP use case check the Desktop Disconnected issue.


#4

Disconnected Mode: bot running in Interactive Session.
Connected Mode: Bot running in regular session.


#5

I am not facing any problem in running the bot…
Robot is able to do most of the steps in interactive session but it is getting stuck on the screenshot activity.
I am providing selector to the screenshot activity


#6

Are the steps performed via background automation?


#7

and also, how are you running the workflow: studio, tray, orchestrator?


#8

Yes, via background automation … I am using activities which work fine in interactive session… like click activity with send window message checked,get text,set text etc


#9

Task Scheduler


#10

Did anything ever come of this?
We are trying to figure out how to get a screenshot when there is an error (running in unattended mode on a VDI) to assist with troubleshooting. But we cannot get a screenshot.

Thank you,
Scott