title: Coded UI tests not correctly finding my control
body: <p>I'm busy running a proof of concept on what should be a very basic coded UI test. </p>
  
  <p>My application is Winforms, I have a form that allows you to log in to the application. </p>
  
  <p>Here 2 controls exist called _textUsername and _textPassword respectively. </p>
  
  <p>To simplify the whole thing, I want playback to be able to double click the username text field (_textUsername). </p>
  
  <p>However, during playback the _textPassword is selected. </p>
  
  <p>I've tried to adjust the search criteria to include the control name , but then it fails to find the control at all and fails. </p>
  
  <p>My question is simple: I have 2 controls on my form : _textUsername and _textPassword, UI coded tests seems to always find the _textPassword, how can I get it to find the other text box instead? </p>