Hi Julien,

Unfortunately, I can't access the HTML's source code in order to modify 
the target attribute's value:( Did you check clickLinkWithText works OK 
with non XML compliant html attributes?

Gurkan

Julien HENRY wrote:
> Hi,
>
> clickLinkWithText should work... could you try with target="body" 
> which is XML compliant.
>
> ++
> Julien
>
> ----- Message d'origine ----
> De : Gurkan Nisanci <[EMAIL PROTECTED]>
> À : [email protected]
> Envoyé le : Mardi, 4 Juillet 2006, 11h03mn 30s
> Objet : [Jwebunit-users] clickLinkWithText problem
>
> Hello,
>
> I use jwebunit 1.3 RC-1 and  want to click on a link in a page. The
> link's html is as follows:
> ...
> <a href="listAllEntries.aspx?stuff_no=1234" TARGET=BODY>My Entries</a>
>
> ...
>
> To go to link I execute:
>
> clickLinkWithText("My Entries");
>
> However nothing happens, the page doesn't go to link and stays as is.
> This method works? Problem may occur when a TARGET attribute is added to
> <a> tag?
>
> Thanks
>
>
> Gurkan Nisanci
>
> 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 
> <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
>   



-------------------------------------------------------------------------
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