Hi,

it seems like you are trying to invoke the static method 'attach' on  
an instance of Watir::IE. try the following instead:

  ie_new = Watir::IE.attach(:title, /MultiChoice Customer Care/)

Christian


Am 01.11.2006 um 15:51 schrieb Walter Kruse:

> Hi Christian
>
> I use:
> ie_new = ie.attach(:title, /MultiChoice Customer Care/)
>
> and I get:
> undefined method `attach' for #<Watir::IE:0x29609e0> (NoMethodError)
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Christian
> Kreutzer
> Sent: 01 November 2006 03:13 PM
> To: [email protected]
> Subject: Re: [Wtr-general] IE with no address bar
>
> hi Walter,
>
> @ie = Watir::IE.attach(:title, /title-of-webpage-as-regexp-here/)
> should work just fine
>
> Christian
>
> Am 01.11.2006 um 13:19 schrieb Walter Kruse:
>
>> Hi guys
>>
>> I apologise if this is documented somewhere - I've searched the
>> mailing list, the guide and the unit tests.
>>
>>
>>
>> Our app opens a new, maximised, addressbar-less browser window upon
>> login, where the whole application is used. What is the right way
>> to attach to this window / browser instance ?
>>
>>
>>
>> Thanks in advance
>>
>>
>>
>> Walter Kruse
>>
>> Senior Test Analyst
>>
>> www.OBS-Consulting.com
>>
>> 082 660 7288
>>
>> http://www.ou-ryperd.net
>>
>>
>>
>> ********************************************************************* 
>> *
>
>> ***********************************************
>> Everything in this e-mail and attachments relating to the official
>> business of MultiChoice Africa is proprietary to the company. Any
>> view or opinion expressed in this message may be the view of the
>> individual and should not automatically be ascribed to the
>> company.  If you are not the intended recipient, you may not
>> peruse, use, disseminate, distribute or copy this message. If you
>> have received this message in error, please notify the sender
>> immediately by email, facsimile or telephone and destroy the
>> original message.
>> ********************************************************************* 
>> *
>
>> ***********************************************
>> _______________________________________________
>> 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
> ********************************************************************** 
> ****************************************************
> Everything in this e-mail and attachments relating to the official  
> business of MultiChoice Africa is proprietary to
> the company. Any view or opinion expressed in this message may be  
> the view of the individual and should not automatically
> be ascribed to the company.  If you are not the intended recipient,  
> you may not peruse, use, disseminate, distribute or
> copy this message. If you have received this message in error,  
> please notify the sender immediately by email, facsimile
> or telephone and destroy the original message.
> ********************************************************************** 
> ****************************************************
> _______________________________________________
> 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