List Icon
Liste de diffusion

2019 jusqu'à présent |  2018 2017 | 2016 2015 2014 | 2013

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