CV Scope activities will be Executable Without Display

Hi I have developed code based upon CV Scope activities, with display ON all the activities working fine. But When the display is OFF or VDI minimized getting error. Please suggest some solution. Thanks.

Hi @srinivasanma1

Check the license you are allotted is Unattended, Only Unattended robot licenses bot machine can run if the VDI is minimized or turned off

Attended Licenses and Studio Licesened flow need to be screen ON and not to display OFF

Hope this may help you

Thanks,
Srini

I am using free version, its not a licensed one. Is that possible in free version

Hi @srinivasanma1

If you are using the the Community version and Studio license then not possible, but in Community Version also you can have unattended license so you can assign one VM to that license and publish your code to Orchestrator and then trigger your process to run on the machine where the unattended license was alloted

Hope this may help you

Thanks,
Srini

UI automation requires a UI. You can’t do UI automation with the display off or minimized, because then there’s no UI.

One thing you could try is creating a second user on your computer and giving it RDP access. Then set up Orchestrator to run the job unattended using that user.

Hi @srinivasanma1

You are executing your process in Attended mode. When you are running in attended mode for Ui activities the Ui element has to be appear on the screen. If the elements are not appears on the screen it will throw the error like Ui element not found.

The CV activities that you are used is Ui activities. When the Screen is in lock or shutdown position when you are executing the code the computer screen is locked or shutdown or VDI is minimized it will not work.

For this we have to use the unattended mode.

Hope it helps!!

@srinivasanma1

  1. Either execute the bot unattended or attended .dont try to start in attended and then minimize or close
  2. If we do so the ui wont be accessible and for foreground it would throw an error
  3. If you want to test try running in unattended completely

Cheers