Bugs item #3570132, was opened at 2012-09-20 08:21
Message generated for change (Comment added) made by sebastian2303
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3570132&group_id=61302

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core API
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sebastian (sebastian2303)
Assigned to: Nobody/Anonymous (nobody)
>Summary: assertLinkPresentWithText() didot find the link

Initial Comment:
I tried to click a link which is present on the page response, but Jwebunit did 
not find the link. Tried other options (assertLinkPresentWithExactText()), did 
not work. This is the HTML source captured using getPageSource().

===================================================================================================================

<div class="ft">
                                                        <p>
<a href="DacView.do" rel="action" target="_self" title="Click here to 
deactivate your online account">Deactivate Online Account</a>
                                                        </p>
                                        </div>  
===================================================================================================================

Here are the couple of lines of Jwebunit code.

assertLinkPresentWithText(submit.getName());
clickLinkWithText(submit.getName());





----------------------------------------------------------------------

>Comment By: Sebastian (sebastian2303)
Date: 2012-09-20 08:25

Message:
Please ignore the JwebUnit code above.

Here are the couple of lines of Jwebunit code.

assertLinkPresentWithText("Deactivate Online Account");
clickLinkWithText("Deactivate Online Account"));


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3570132&group_id=61302

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
JWebUnit-development mailing list
JWebUnit-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to