Dear Lily,

Try:

//[EMAIL PROTECTED]'blah' and @maxLength='10']


Yours,
Ahmed

________________________________
From: "Meng, Lily" <[EMAIL PROTECTED]>
To: "webtest@lists.canoo.com" <webtest@lists.canoo.com>
Sent: Monday, October 27, 2008 8:27:00 PM
Subject: [Webtest] use two attributes to identify a node


Hi,
 
Does anyone know how to identify a node
using two attributes in XPath? 
I am testing the max length of an input field;
I would liek to use XPath to point to the name of the input field as well as
testing the length of it.
For example,
<tr><td>
<input maxLength=”10” name=”blah”></input>
</td></tr>
 
How should I verify this particular input
field’s maxLength is 10?
Thank you,
Lily


      

Reply via email to