It works for me, can you please post your complete html?
Ahmed ________________________________ From: "Meng, Lily" <[EMAIL PROTECTED]> To: "[email protected]" <[email protected]>; Ahmed Ashour <[EMAIL PROTECTED]> Sent: Monday, October 27, 2008 8:36:59 PM Subject: RE: [Webtest] use two attributes to identify a node Thank you Ahmed. It returns error message “ .. matched no nodes”. Any other suggestions? Lily ________________________________ From:[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ahmed Ashour Sent: Monday, October 27, 2008 12:31 PM To: [email protected] Subject: Re: [Webtest] use two attributes to identify a node Dear Lily, Try: //[EMAIL PROTECTED]'blah' and @maxLength='10'] Yours, Ahmed ________________________________ From:"Meng, Lily" <[EMAIL PROTECTED]> To: " [email protected] " < [email protected] > 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

