title: Windows UI Automation - Not capturing all subtree elements
body: <p>I m trying to capture all the sub tree elements of a particular application, in some machines I m getting all the elements, but in some machines half of the elements (i.e. Child Elements) are missing.</p>
  
  <pre><code>FindAll(TreeScope.Subtree, Condition.TrueCondition);
  </code></pre>
  
  <p>I have tried installing <strong>Microsoft .NET Framework 4.5</strong> but no luck</p>
  
  <p>What might be the issue? why UI Automation is behaving differently in different machines? What might be missing in client machine which is not allowing UI Automation to fetch all the child elements?</p>
  
  <p>Is <strong>Microsoft .NET Framework 4.5 SDK</strong> is also required in client machine?
  System configuration:</p>
  
  <p><strong>Developers Machine: (Working Fine)</strong></p>
  
  <p><strong>Operating System</strong>: Windows 7 Professional</p>
  
  <p><strong>Developing App</strong>: Visual Studio 2012 Professional</p>
  
  <p><strong>.NET Framework</strong>: 4.5.2</p>
  
  <p><strong>.NET Framework SDK</strong>: 4.5</p>
  
  <p><strong>Client Machine: (Can't able to fetch child elements)</strong></p>
  
  <p><strong>Operating System</strong>: Windows 7 Professional</p>
  
  <p><strong>.NET Framework</strong>: 4.5</p>
  
  <p><strong>.NET Framework SDK</strong>: NA</p>
  
  <p>There is no extra software installed in developer machine, Framework and Framework SDK was also installed by Visual Studio 2012 only.</p>
  
  <p>Code to fetch element is straightforward, I m trying to fetch the element on mouse location:</p>
  
  <pre><code>System.Windows.Point _location = new System.Windows.Point(Cursor.Position.X,Cursor.Position.Y);
  
  AutomationElement _ele = AutomationElement.FromPoint(_location);
  </code></pre>