List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie aber über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren
Newsletter abonnieren

Um aktuell die Informationen zu jeder Release - auch Minor Releases - zu bekommen, können Sie den
RSS-Feed abonnieren oder uns in sozialen Medien folgen.
Alternativ bietet QF-Test auch selbst eine Versionsinformation an.

Eine weitere Informationsquelle ist unser Blog, in dem es aktuelle Beiträge zu allgemeinen Themen, zur Firma QFS und auch diverse "How-Tos" gibt:
Blog abonnieren


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

[QF-Test] Different JDialogs with the same title, different components?


  • Subject: [QF-Test] Different JDialogs with the same title, different components?
  • From: Joaquin Rodriguez Guerra <Joaquin.RodriguezGuerra@?.int>
  • Date: Wed, 5 Jun 2013 10:57:57 +0200

Hey everyone,

We are using QFTest to test a Java Swing application and we have some questions regarding the identification of components, particularly the swing JDialogs.

In the SUT we are testing, a JDialog pops up every time the user fills a form incorrectly, displaying a warning message about what is missing in the form. When recording the filling form action, QFTest detects the pop up of the warning JDialog as if it was always the same component no matter what warning message is displayed. Is there any way to make QFTest see the different dialogs displaying the different warning messages as if they were different components? Note that the title of the warning JDialogs is always the same (Warning!), is this what is making QFTest see the different JDialogs as if they were all the same component?

In our testing we would like to react differently depending on the type of warning JDialog received, what would be the best approach if what suggested above is not possible? Using if sentences to check the content of the JDialog?

Thanks in advanced,

Best regards,
Joaquín