List Icon
Archive de la liste de diffusion

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

  • Subject: Re: [QF-Test] Using XPath to select components
  • From: "Gregor Schmid\, QFS Support" <support@?.de>
  • Date: Fri, 31 Jul 2015 10:09:28 +0200

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

Best regards,

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


Get the most out of QF-Test - Support directly from the authors
* Training & consulting:
* Phone & email support:

Gregor Schmid
Development & Support

E: support@?.de
T: +49 8171 38648-20
F: +49 8171 38648-16

Quality First Software GmbH |
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833