[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qftestJUI] Problem with Component not loosing focus
Title: Problem with Component not loosing focus
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?