On 28/11/2007, at 5:58 PM, Julien HENRY wrote:
> I'm not sure it is possible with basic methods because it is
> expected that a form control... is in a form. My advice is: try to
> have valid (X)HTML, it will works better with all browsers, tools, ...
I am using JWebUnit to test the availability of a Sun product we run
so I don't have any control over the HTML unfortunately.
>
> Concerning JWebUnit, I think you can use a XPath expression to deal
> with buttons:
> assertElementPresentByXPath("//[EMAIL PROTECTED]'myBtnId']");
> clickElementByXPath("//[EMAIL PROTECTED]'myBtnId']");
This worked thanks.
I am seeing this ...
Nov 28, 2007 6:44:39 PM
org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
Am I able to tell it to follow redirects?
Thanks,
LD>
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users