[Wtr-general] Global Variables

Phlip phlip2005 at gmail.com
Fri Sep 1 17:36:52 EDT 2006


Bret Pettichord wrote:

> I concur with this advice. I usually teach global variables first (these
> start with "$")

I though test rigs that drove IE had the extra burden of building and
breaking down the entire iexplore.exe object stack once per test case.
So I thought that some Watirists would make their IE object global,
and reuse it between test cases. This mild efficiency doesn't violate
the Test Isolation guideline when you put $wie.goto("about:blank")
between each test case.

-- 
  Phlip
  http://c2.com/cgi/wiki?ZeekLand  <-- NOT a blog!!


More information about the Wtr-general mailing list