Mailing list - Entries of 2006

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qftestJUI] Re: Timing Operations

  • Subject: [qftestJUI] Re: Timing Operations
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 01 Mar 2006 09:56:11 +0100

Another question of general interest:

Hi Phil,

> Greg,
> I have a some operaions with my application that I'm testing with
> gftestJUI that I need to time.  Is there a way to time how long it takes
> in between events.
> To give you an idea of the opertion I'm trying to time... a popup file
> selector appears, then after the user clicks a button in the window it
> takes about 30 secs for an item to be added to a tree structure (sort of
> like a file view in windows explorer).
> Anyway to record how long something like that takes?

Use a sequence with timelimit as follows:

+ Sequence with timelimit
  + MPRC to click the button
  + Wait for component with the new tree item as the target id

Make the timeout in the "Wait for component" node very generous, like
two minutes or so.

Set the timeout of the "Sequence with timelimit" to the time that is
considered an acceptable response time. Set the error level to
"Error", "Warning" or even a plain message if you don't want to
consider exceeding the limit an error.

In any case, the actual time spent in the sequence will be logged as a

Please see the manual for further info.

Best regards,

Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH           
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876