title: retrieving the identifier of an element from application
body: <p>I'm learning to use Automation UI in C#. However the problem is that I can't identify a textbox within a side app properly.</p>
  
  <p>I'm using following condition to identify a textbox:</p>
  
  <pre><code>string name = "textBox1";
  Condition c = new PropertyCondition(AutomationElement.AutomationIdProperty, name);
  </code></pre>
  
  <p>It works fine in case if you know textbox's exact name, but you can't possibly know the exact name of the elements within an application other than your own. <strong>None of the programs such as Spy++ or Winspector show this name!</strong></p>
  
  <p>how do you identify textboxes within another application?</p>
  
  <p>P.S. I've also tried to use "ClassNameProperty", but Class names are usually the same for similar elements.</p>