Hi Manish,
Try using the latest gem on the watir site, 1165. There's a bit of a work
around for this issue in place until we get around to a longer term fix.
It's the same cross site scripting frame issue which has been discussed on
this list previously.
-Charley
On 4/13/07, Manish Sapariya <[EMAIL PROTECTED]> wrote:
Hi,
I am facing same problem in 1.5, not sure if its the same. I had
sent query regarding this on list, but had no replies. It happens
always when I do
goto ("www.hotmail.com")
Is there any known bug in 1.5 latest gem?
Any directions so that I can give more inputs to debug problem.
Watir Version: watir-1.5.1.1158.
Thanks and Regards,
Manish
Bret Pettichord wrote:
> aidy lewis wrote:
>
>> I am getting this error:
>>
>> 'method_missing': document (WIN32OLERuntimeError)
>>
>> that lies @ie.document
>>
>> I am using 1.4.1.
>>
>> Here is my code
>>
>> <snip>
>>
>> require 'watir'
>> include Watir
>> require 'test\unit'
>>
>> $ie = Watir::IE.new
>> def browser;$ie;end
>>
>> module Login
>> USERNAME = browser.text_field(:name, 'user_name')
>> PASSWORD = browser.text_field(:name, 'password')
>> REMEMBER_ME = browser.checkbox(:name, 'remember_me')
>> SIGN_IN = browser.button(:value, 'Sign in')
>> end
>>
>> module Mission
>> LOG_OUT = browser.link(:text, /Log-out/)
>> end
>>
>> class TC_Mission < Test::Unit::TestCase
>> include Login
>>
>>
>> def setup
>> browser.goto('www.something.com')
>>
>>
> Right here add:
> browser.wait
>
> This bug is fixed in 1.5.
>
>
>> browser.bring_to_front
>> browser.maximize
>> end
>>
>>
>
> _______________________________________________
> 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
_______________________________________________
Wtr-general mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/wtr-general