Hi Julien,

I wrote a java class and then I called all the test case methods in this class through testcase class object, and I think that the program is logging in only once at the first call and then the other methods are executing without the need to call login method before performing sometask on a particular page.
It seems to take less time to complete the tests now than before.

Julien HENRY <[EMAIL PROTECTED]> wrote:
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

__________________________________________________
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

Reply via email to