Using White to automate interaction on a remote machine

Feb 1, 2012 at 10:07 AM
Edited Feb 1, 2012 at 11:29 AM

Hi,

I have a requirement to automate interaction with a desktop app on a remote machine.

Is it possible for white to

1. launch

2. get handles to application controls

remotely?

Please guide me, if you've worked in that direction.

I tried using WCF service hosted in a Windows Service. I call the WCF service from a remote computer, and then it is supposed to launch the desktop application on the host. It doesn't launch the application but no exception is thrown at the AttachOrLaunch() call. After launching if I try to call GetWindows() - it always returns an emtpy collection of windows.

I say always as I observed this: I tried attaching to an already running desktop application.

It attaches OK and no exception is thrown. But when I call GetWindows() it returns an empty set even if there is already an open window present maximized.

 

Is White(and Windows Automation in general) designed not to automate based on remote calls? Is that a security restriction by design?

Many Thanks!

Coordinator
Feb 11, 2012 at 6:39 PM

>> Is White(and Windows Automation in general) designed not to automate based on remote calls? Is that a security restriction by design?

Not for security but for lack of support from UIA.