title: White UIAutomation click() stops working on different platform
body: <p>I'm using <a href="http://white.codeplex.com/" rel="noreferrer">White</a> to automate the BDD testing of our C# WPF UI.  </p>
  
  <p>My first couple of tests are working well on my development machine (running Windows 7).  However, when I try and run the same code on the build server (virtual machine running Windows server 2003 R2) it doesn't work correctly. In both cases the tests are run from the command line and the tests are using the Cuke4Nuke framework.  In the case of the server I am accessing the server via Remote Desktop Connection. </p>
  
  <p>The code looks like: </p>
  
  <pre><code>var application = Application.Launch("whiteApp.exe");
  var initializeOption = InitializeOption.NoCache;
  var windowCriteria = SearchCriteria.ByText("whiteApp");
  var window = application.GetWindow(criteria, initializeOption);
  var criteria = SearchCriteria.ByAutomationId("rightButton");
  var button = (Button) window.Get(criteria);
  button.click();
  </code></pre>
  
  <p>The problem is that the buttons click event is not fired when it is run on the server.  The button can be clicked (using the mouse) if the UI is left open after White has finished executing. One interesting point is that after the click method is run that the button does show evidence of being clicked as in the picture below, in the case of other buttons the mouse over effect is shown. </p>
  
  <p><img src="https://i.stack.imgur.com/lIGAj.png" alt="Button before and after click"></p>