[Webtest] HTML attribute check
Cormac Parle <firstname.lastname@example.org>
Fri, 25 May 2007 12:05:00 +0100
If you're using xhtml it would perhaps be better to use
disabled="disabled" rather than adding an id as it's standards compliant
Michael Habbert wrote:
> Christoph Sandrus wrote:
>> Hi to all!
>> I have a little question:
>> How can I verify a attribute with webtest?
>> If I want to check if a input field is disabled, which step do I have
>> to use?
>> <input name="blabla" value="stone" disabled>
> Hi Christoph,
> I would suggest you add an id-attribute to your input-field and check
> that tag with an RegExpression based on the ID.
MOR Solutions - the complete web specialists.
t: 041 980 1000
f: 041 980 1001
a: Unit B201, An tSean Mhargadh, Green Lanes, Drogheda, Co. Louth
For Support: email@example.com
For Sales: firstname.lastname@example.org
A member of the MIDAS Initiative, Creative and Digital Media Cluster -
Winners LCEB Enterprise of the Year, 2003
Winners Best Innovation Drogheda Business Excellence Awards, 2006
Irish Motoring, www.irishmotoring.ie - Shortlisted for Golden Spider
MOR Solutions is the trading name of Maher O'Rourke Limited.
Company registered in Ireland No. 328973.
Registered office: Co. Louth, Ireland.