I am shure there is a better way, but I would insert sleep statement after ie.close (even sleep 30 or longer).
Maybe your problem is already resolved in the latest watir. http://wiki.openqa.org/display/WTR/Development+Builds

On 3/31/06, Prakash Sattu <[EMAIL PROTECTED]> wrote:
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




--
http://www.testingreflections.com/blog/3071
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to