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] Using XPath to select components
Hello Antony, XPath support is planned for QF-Test 4.1, as is support for css selectors which may be easier to use in this case, as you want to base the selection on part of the class attribute. Please get in touch directly in case you want to try out an early version. Best regards, Greg Antony Cox <antony.cox@?.com> writes: > Hi > > Is it possible to use a class selector when using XPath to select components? > > I need to select an <input> component like this: > > <input style="margin-left: auto; margin-right: auto;" size="30" class="gwt-SuggestBox x-form-text > x-form-field primion-formfield x-form-element primion-form-item-field primion-combobox helpText" > type="text"> > > Right now I'm selecting it by using: > > absenceForm@:INPUT<3> > > since it's the 4rd input component in absenceForm. > > I was wondering if it was possible to specify part of the class in the XPath argument to select > the input component instead of working with indexes? > > Thank you. > Antony > > _______________________________________________ > qftest-list mailing list > qftest-list@?.de > https://www.qfs.de/mailman/listinfo/qftest-list -- _______________________________________________________________ Get the most out of QF-Test - Support directly from the authors * Training & consulting: www.qfs.de/en/qftest/training.html * Phone & email support: www.qfs.de/en/qftest/support.html _______________________________________________________________ Gregor Schmid Development & Support E: support@?.de T: +49 8171 38648-20 F: +49 8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Dr. Martina 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.