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] 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. 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.