Bret Pettichord wrote:

> We've often had reports of problems when suites repeatedly open and
> close IE windows. I mostly avoid it, and wrote the code i sent you
> because i had a case where i couldn't, and i wanted to manage IE at the
> process level, rather the OLE way that Watir has traditionally used, and
> which seems to lead to a lot of trouble.

I'm guessing the most common way to test is:

 - build global $wie once
 - each test case surfs it to a page
 - each test case attacks the page
 - shut down at end

I wrote perfect test cases that failed, one by one, because of poor
test isolation. A failure diagnostic would contain the page in the
state the last case left it.

So how did you avoid repeatedly opening and closing the IE object?

-- 
  Phlip
  http://c2.com/cgi/wiki?ZeekLand  <-- NOT a blog!!
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to