La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [QF-Test] Antwort: Recording Tooltip Text
Hi, We faced the same issue, You can write a custom checker script as detailed in the manual. It's pretty straight-forward. I registered the checker for javax.swing.JComponent and all it does differently to the examples in the manual is that it is calling com.getToolTipText() to get the text. Best Regards / Mit freundlichen Grüßen Henrik Horneber Software Engineering Continental Reifen Deutschland GmbH Jädekamp 30, 30419 Hannover, Germany Postbox 169, 30001 Hannover, Germany Email: henrik.horneber@xxxxxxxx Phone: +49-511-976 / 41 93 9 Fax: +49 511 976 36723 http://www.continental-corporation.com _____________________________________________ Continental Reifen Deutschland GmbH, Vahrenwalder Str. 9, D-30165 Hannover Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Nikolai Setzer; Geschaeftsfuehrer/Managing Director: Bernd Guenther, Burkhardt Koeller Sitz der Gesellschaft/Registered Office: Hannover, Registergericht/Registered Court: Amtsgericht Hannover HRB 204239, USt.-ID-Nr./VAT-ID-No. DE264920698 _____________________________________________ Proprietary and confidential. Distribution only by express authority of Continental AG or its subsidiaries. Von: Ron Britzius <britziusr@xxxxxxxxxxx> An: qftest-list@xxxxxx, Datum: 10.08.2014 20:56 Betreff: [QF-Test] Recording Tooltip Text Gesendet von: qftest-list-bounces@xxxxxx Hello, I am developing QF-Test Suites for simulation software that, among other things, simulates air missions. When an air mission fails, the user can mouse-over the GUI element that represents the mission and a tooltip will appear that details the reason the mission failed. I would like to be able to fetch the text from this tooltip to include it in our test-reports, but my direct attempt at doing so (creating a fetch-text node for the tooltip component) resulted in an exception stating that: This operation is not possible for a component of class 'javax.swing.JToolTip'. Is there an "outside-the-box" method for extracting text from components when this issue is encountered or will this be impossible to do. Thank you, Ron_______________________________________________ qftest-list mailing list qftest-list@xxxxxx http://www.qfs.de/mailman/listinfo/qftest-list
|
1. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.