Jump to content

Mouse/keyboard availability in inactive session


Recommended Posts

Guest BuddyMcCool
Posted

I have a test suite that takes control of the mouse and keyboard to perform

UI testing (using Java's Robot class). It runs interactively every few

minutes when I'm logged into the machine via Remote Desktop. When I

disconnect (but don't log off), the mouse and keyboard cannot be controlled

and the tests are not carried out.

 

Is this something that should be possible? Is there a setting somewhere to

keep mouse and keyboard support active in my session even when I'm

disconnected?

  • Replies 1
  • Created
  • Last Reply
Posted

Re: Mouse/keyboard availability in inactive session

 

The behavior you are experiencing is by design, sorry.

 

When you disconnect the active desktop is switched to the

Disconnect desktop object, which is a dummy object

that prevents rendering. Only one desktop can be active at

a time and this [active desktop] is the one that displays the

user interface and receives input from the user.

 

-TP

 

BuddyMcCool wrote:

> I have a test suite that takes control of the mouse and keyboard to

> perform UI testing (using Java's Robot class). It runs interactively

> every few minutes when I'm logged into the machine via Remote

> Desktop. When I disconnect (but don't log off), the mouse and

> keyboard cannot be controlled and the tests are not carried out.

>

> Is this something that should be possible? Is there a setting

> somewhere to keep mouse and keyboard support active in my session

> even when I'm disconnected?


×
×
  • Create New...