title: Is CodedUI Suitable for Performance Testing ? What are the Disadvantages
body: <p>I have created few Automated Tests to test the Large scale Desktop application written using MFC &amp; WPF technology. UI tests execute consistently, now can we use the same tests to measure the performance of the loading of the UI/Controls ? I am adding the stopwatch before clicking a button and stopping it once I see the next screen. Similarly for other controls/Windows. In this way I plan to run this tests after each new build of the Application and compare the performance.</p>
  
  <p>Few challenges I am observing
  1) Every time I execute the tests I get different numbers. So not able to figure out the base line
  2) From Coded UI End there are few waiters that will influence these differences
  3) What should be my logic to take a baseline that is more predictable and measurable ?</p>
  
  <p>Or using the CodedUI for performance test is bad Idea ? Any thoughts on this are very much appreciated.</p>