List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

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]

[QF-Test] Using XPath to select components

  • Subject: [QF-Test] Using XPath to select components
  • From: Antony Cox <antony.cox@?.com>
  • Date: Thu, 30 Jul 2015 11:28:44 +0200


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:


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.