Jump to content

Recommended Posts

Posted

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

  • Moderators
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

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...