Hi,

You can do this thanks to XPath :
assertElementPresentByXPath("//[EMAIL PROTECTED]'submit' and @name='submit' and @id='submit' and @value='Add' and @disabled='disabled']");

Hope it helps.

++

Julien

----- Message d'origine ----
De : Marco Isella <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Samedi, 26 Août 2006, 9h24mn 55s
Objet : [Jwebunit-users] Disabled input

Hi, I would like to check, with jwebunit, if an input is disabled; is it possible?

<input type="submit" name="submit" disabled="disabled" id="submit" value="Add"/>

Marco
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to