2018 bis heute | 2017 2016 2015 2014 | 2013 | 2012

Mailingliste - Einträge 2015


[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
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