Hi,

JWebUnit is an Open Source software and contains what
its users put in it.
If you need a new functionality, we could discuss here
if it's too specific, of if it could be added.

In your case, I think it could be great to have
methods like:

void assertCurrentLocation(URL url)
void assertCurrentLocation(String url)
URL getCurrentLocation()

Very easy to implement (at least for HtmlUnit plugin).
I have no time for JWebUnit now. Feel free to open a
feature request, or better: submit a patch.

++

Julien


--- Eric D Nielsen <[EMAIL PROTECTED]> a écrit :

> I'm trying to get started using JWebUnit.  I
> downloaded the 1.4.1 zip file and
> have started using it in some acceptence test cases.
> 
> I've been looking over the JavaDocs, but I can't
> seem to find any support for
> testing that a redirect occured, nor for testing
> what the current URL is after
> a request.
> 
> For instance I'm trying to write an authentication
> required test case.  I can
> easily assert that after requested a protected
> resource that the login form is
> displayed, so I "know" that the redirect happened. 
> But I would like to also
> assert that the URL has changed from the requested
> resource to the login form's
> URL, etc.
> 
> Is this possible to test with JWebUnit?  If its not,
> is there another tool
> people tend to use in combination with JWebUnit to
> fill in this type of
> assertion?
> 
> Thank you.
> Eric
> 
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? 
> Stop.
> Now Search log events and configuration files using
> AJAX and a browser.
> Download your FREE copy of Splunk now >> 
> http://get.splunk.com/
> _______________________________________________
> JWebUnit-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
> 



      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to