title: UI Automation- Object recognition issue using Coded UI
body: <p>I am working on UI Automation of a <strong>WPF</strong> application using Visual Studio <strong>Coded UI</strong>.</p>
  
  <p>I have generated my scripts using record feature and all the required objects are added to designer file. 
  But when I play my scripts some time object's of AUT(Application Under Test) are recognised but sometimes objects are is not getting recognized. Coded UI is unable to recognize and play the scripts.</p>
  
  <p>can any one suggest a way so that objects can be recognized every time i run the script.</p>