Mailingliste - Einträge 2005

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

Re: [qftestJUI] Problem with Component not loosing focus

  • Subject: Re: [qftestJUI] Problem with Component not loosing focus
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Wed, 01 Jun 2005 13:22:02 -0000

Hello Christian,

it is possible that qftestJUI delivers events so quickly that the
released event for the button comes before the focus lost event of the

However, I need a run-log to really see what's happening. Though your
description is quite detailed, it still leaves too much room for

Addind a PTR-Tab KeyEvent for the TextField should do the trick, as
does clicking on some other component first.

Best regards,

<christian.vollmert@?.de> writes:

>    Hello everybody,
>    While recording our GUI-tests we encountered the following problem:
>    Our GUI consists of several Textfields, which the user has to fill in
>    before saving the data is possible. We do the Check whether a
>    textfield is filled or not, whenever the Textfield looses the focus.
>    We recorded the simple Sequenze: fill all textfields -> delete one of
>    the textields (using qfs.swing.text.clearField) -> hit the save-button
>    -> error message
>    While recording the sequenze, everything works fine. Also when you're
>    doing all the steps by yourself without using qftestJUI, no problems.
>    But when we try to run the recorded test, no check is performed and we
>    don't get an error-message. It seems like the the Textfield is not
>    really loosing its focus.
>    We already tried to use real mouse-movements and perform everything
>    step by step using the debugger, but without success.
>    The only solution we found so far, is to click on some other component
>    before pressing the save-button.
>    Anybody got any idea what may cause our problem?
>    ----
>    Christian Vollmert      [1]mailto:christian.vollmert@?.de
>    sd&m AG                 [2]
>    software design & management
>    Carl-Wery-Str. 42, 81739 Muenchen, Germany
>    Tel +49 89 63812-695 , Fax -515
> References
>    1. mailto:christian.vollmert@?.de
>    2.

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