Coded ui to measure performance
Posted
by
Mike Weber
on Programmers
See other posts from Programmers
or by Mike Weber
Published on 2012-01-11T01:02:11Z
Indexed on
2012/09/07
21:50 UTC
Read the original article
Hit count: 427
Performance
|measurements
I have been tasked with using coded UI to measure performance on a proprietary windows desktop application. The need is to measure how long it takes for the next page/screen to display after a user clicks on a control.
For example - a user enters their ID and PW and clicks sign-in. The need is to measure how long it takes for the next screen to display when the user clicks the sign-in button. I understand the need to define what indicates the screen is loaded and ready for use. One approach is to use control.WaitForControlReady and use BeginTimer/EndTimer.
Is coded ui a dependable and accurate way of measuring time?
Is WaitForControlReady the best method to determine when a control is ready for use?
© Programmers or respective owner