Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2015

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

Videos Downloads Documentation Buy Free Trial