Hi, Thanks it works. :-) However I noted that even the site says ver 1.5.1.1165, the actual gem file is 1164. Neverthless, it works as expected. Thanks, Manish
Charley Baker wrote: > 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] > <mailto:[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 <http://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 <http://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] <mailto:[EMAIL PROTECTED]> > > http://rubyforge.org/mailman/listinfo/wtr-general > > > > > > _______________________________________________ > Wtr-general mailing list > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > http://rubyforge.org/mailman/listinfo/wtr-general > > > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is > believed to be clean. > ------------------------------------------------------------------------ > > _______________________________________________ > 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
