Mailingliste - Einträge 2006


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

Re: [qftestJUI] How to Force QFTESTJUI to pause


  • Subject: Re: [qftestJUI] How to Force QFTESTJUI to pause
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 20 Oct 2006 06:01:12 +0200

Hello Eyere,

you could use "Delay after" attribute of the MPRC node recorded for
the click on the button in order to pause the test for a given time
before continuing.

However, it's practically always preferable to use timeouts instead of
delays. A timeout can be very generous to cover worst-case situations
when the system is under heavy load, yet the test will always continue
as soon as possible.

For asynchronous operations like "recording a particular signal" there
typically is some kind of visual feedback in the user interface. If
some component or item - a message dialog for example, or a row in a
status table - appears or disappears as the result you can use a "Wait
for component" node. 

Otherwise, some component will usually change state in a way that can
be tested with a "Check" node, e.g. a button becomes enabled, some
label changes, etc. Simply record a check for the result state and set
the "Timeout" attribute of the "Check" node to some acceptable limit.
Upon execution QF-Test will pause until the target component reaches
the desired state.

Best regards,
    Greg


"Eyere Takem" <Eyere.Takem@?.de> writes:

>    Hi all,
> 
>    I need to pause after a particular point while executing tests. The
>    point is I click a button on my SUT which records a particular signal
>    and stores it. After this recording I press the "Stop" Button.
> 
>    When replaying this sequence, QftestJUI does not wait for some time so
>    that my recording should take place. It doesn't recognise this as an
>    event. Is there a way to make QFTestJui aware of a pause event? Thanks
>    in advance.
> 
>    Best regards
> 
>    Eyere Takem

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


Videos Downloads Dokumentation Kaufen Gratis Testen