[Webtest] HTML attribute check

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Fri, 25 May 2007 14:12:46 +0200


Christoph Sandrus wrote:
> Hi to all!
> 
> I have a little question:
> How can I verify a attribute with webtest?
> 
> Example:
> If I want to check if a input field is disabled, which step do I have to
> use?
> eg:
> 
> <input name="blabla" value="stone" disabled>

what is with
<verifyXPath xpath="...your way to identify the imput.../@disabled"/>?

Marc.

-- 
Blog: http://mguillem.wordpress.com