If I do it manully, logging into the application, placing an order and  closing the browser if I open new broswer, it will ask for username and password but with Watir test  it automatically logins if I run the test second time, it does't ask for username and password.
On 3/31/06, Linda Derezinski <[EMAIL PROTECTED]> wrote:

If you do the same thing by hand log into first application, log into your application then close your application, go to your application are you prompted with the login?  

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Prakash Sattu
Sent: Friday, March 31, 2006 10:45 AM
To: [email protected]
Subject: [Wtr-general] How to Kill session in Watir

 

I will go to my application through another application by supplying username and password, After successfully  login, I will get access to my application. Once I am in the application there is no way to logout from  my application unless I close the browser. The problem with testing Watir  is, first time when I run the test case, it will run fine but if I run second time by default it logs in automatically but in the test it expects to login that is where it get fails.Even though, I close the browser by end of each test still when I run the test it logs in automatically. How to kill the session so that if I run the test next time, it should suppose to ask for username and password. Any help would be  a great help.

 

Regards

Prakash

 

 


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to