Hi Amit,

I have a similar application that need user authentification, and it works fine. I know there is different way to keep session context (cookie, hidden form field, url rewriting, ...). Perhaps the way your application uses is not supported by the plugin. If you are using httpunit plugin, did you try to switch to htmlunit plugin ?

If you are able to write a short test case that illustrate this problem, it will be very usefull !

++
Julien

----- Message d'origine ----
De : Amit <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Lundi, 19 Juin 2006, 12h32mn 22s
Objet : [Jwebunit-users] How to maintain login info

Hi ,

I am testing a website and initially I login to the website and then I move around within the website and check the links and buttons.
But since all the pages are available only after I login, I have to login for each and every page I want to check. I wrote the login code in the setup() method and then for each page I have written 1 method
When I run the code, for executing each method I have to login each time.
Is there any way where I can login only once to the website and then move around the other pages without logging each time..?


Amit Hanchinamani

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to