Mailing list - Entries of 2005


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

[qftestJUI] Problem with Component not loosing focus


  • Subject: [qftestJUI] Problem with Component not loosing focus
  • From: <christian.vollmert@?.de>
  • Date: Wed, 1 Jun 2005 10:05:55 +0200

Title: Problem with Component not loosing focus

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      mailto:christian.vollmert@sdm.de
sd&m AG                 http://www.sdm.de
software design & management
Carl-Wery-Str. 42, 81739 Muenchen, Germany
Tel +49 89 63812-695 , Fax -515



Videos Downloads Documentation Buy Free Trial