Jump to content
Sign in to follow this  
ssheldon

New user; question about suitability to UI manipulation

Recommended Posts

ssheldon

Hi all,

I am involved in testing a commercial software product.  One of the things I would like to focus on is performance testing of the UI.  For example, I would like to measure how long it takes a dialog to appear when a button is clicked.  This is a legacy product, so it is not possible to introduce timers in the code of the product itself.  Instead, I want to do this through an external application that perhaps I could write using AutoIt.

Is this sort of thing possible with AutoIt?

Thanks,

Steve

Share this post


Link to post
Share on other sites
JLogan3o13
Posted (edited)

@ssheldon yes, you can do such testing with AutoIt. You can (on most apps) automate interaction with the button, then create a loop looking for the appearance of the dialog box, and measure the time between. You might start reading in the help file under the Control* commands, to get an idea of some examples of manipulating GUI apps.

Edited by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
seandisanti

You can definitely do this, as JLogan said, have a look at the control functions in the help file, as well as _Timer_Init, _Timer_Diff, WinWait, WinWaitActive functions

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×