Patches item #1120246, was opened at 2005-02-10 19:39
Message generated for change (Settings changed) made by henryju
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497984&aid=1120246&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: None
Group: Release 1.3
>Status: Closed
>Resolution: Out of Date
Priority: 1
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add setResponse to HttpUnitDialog

Initial Comment:
I would like to simulate the use of the back button by
the user using jWebUnit.  However, as it stands I do
not see a way to do this. Attached is a diff that adds
the ability to the the WebResponse associated with the
HttpUnitDialog so that I can save a WebResponse from
earlier in the test and later set this response as if 
the user has  hit the back button to this page.  The
diff also includes a test to  demostrate how I would
use such a feature.

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

Comment By: Julien HENRY (henryju)
Date: 2006-06-16 16:40

Message:
Logged In: YES 
user_id=1235926

goBack() is now in new API, but it is not yet implemented
for HttpUnit nor HtmlUnit. I think we will have to create a
list that keep browsing history. Not very easy, and perhaps
not very important.

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

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to