On Thu, Nov 6, 2008 at 6:28 PM, SH <[EMAIL PROTECTED]> wrote:

>
> My class extends IE - (and has an initialize method - see snippet
> below)
> class Cats <  Watir::IE
>
> In my scripts I create a new_process
> cats = Cats.new_process
>
> This worked fine last time I ran it a month ago. Now I get this error
>

scott,
I would suggest not to subclass IE class.
Think of this: http://en.wikipedia.org/wiki/Single_responsibility_principle
You already have IE responsible for managing access to IE.
You may want to compose your class with ie as attribute or pass ie object to
your class as argument.

-- 
marekj | i can has watir framework
http://www.bitbucket.org/marekj/watirloo/
Semantic Page Objects Modeling in Watir

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to