The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Vaadin check readonly status of TextField
Hi Henrik, looks like that's a check we missed. We'll add that for QF-Test 4.0 final. Meanwhile you can use the following SUT script: node = rc.getComponent("QF-Test ID of your node") # IE, Firefox and Chrome all have different representations for the # readonly Attribute, but at Javscript level the handling is uniform # Note that this call is case sensitive editable = not node.getJS("readOnly") Now editable is either false or true and you can use rc.check or rc.checkEqual as you see fit. But as I said, we're going to add the editable check to QF-Test 4.0.0. Best regards, Greg Henrik.Horneber@?.de writes: > Hi, > > I'm trying to check the readonly status of a Vaadin TextField using QF.Test 4.0.0-rc1. > > Right-clicking in 'record checks' mode does not offer the readonly property. > > How would I go about implementing one? I already wrote a couple of custom checkers for Swing GUIs, > so I understand the basic principles, but I'm stuck on transferring that knowledge to the web > engine. > > I'm using the Vaadin Resolver, so my recorded component is of class TextField, so I cannot use > getProperty, which would have been my best guess, > > Any hints? > > 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@?.de > 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. > > _______________________________________________ > qftest-list mailing list > qftest-list@?.de > http://www.qfs.de/mailman/listinfo/qftest-list -- Gregor Schmid E: gregor.schmid@?.de T: +49 (0)8171 38648-11 F: +49 (0)8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Karlheinz Kellerer HRB München 140833
|
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
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.