Bugs item #3570132, was opened at 2012-09-20 08:21
Message generated for change (Tracker Item Submitted) 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() didnot 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());
----------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development