Rahul makes good points
I usually fingerprint my page looking for unique items using .include?
and .exists?

Looks like your trying to look for the dom page attribute readyState
See http://www.w3schools.com/jsref/prop_doc_readystate.asp



On Aug 30, 1:51 pm, Rahul Sharma <rahulsharma....@gmail.com> wrote:
> How would you manually assert that the page has been loaded? If you are 
> waiting for something on a loaded page, make an assertion on that element.
>
> What are your reasons to know that the page has been loaded?
> On 30 Aug 2011, at 18:37, byung wrote:
>
>
>
>
>
> > I made below code:
>
> > require 'watir'
>
> > ie = Watir::IE.start("www.testsite.com")
>
> > file = File.open("c:/test.txt", "a")
>
> > while(ie.status != "Done") do
>
> >        file.puts ie.url()
>
> > end
>
> > file.close
>
> > and I got below error message:
>
> > 'method_missing'; statusText <WIN32OLERuntimeError>
>
> > On Aug 30, 10:22 am, George <george.sand...@gmail.com> wrote:
> >> This thread may answer your question:
>
> >>http://bit.ly/nW5Acu
>
> >> On Aug 29, 6:52 pm, byung <jinuacad...@gmail.com> wrote:
>
> >>> is there a way to check whether a new page has been loaded in WATIR??
>
> >>> could anyone tell me a way to check new page load in WATIR??
>
> >>> thanks.- Hide quoted text -
>
> >> - Show quoted text -
>
> > --
> > Before posting, please readhttp://watir.com/support. In short: search 
> > before you ask, be nice.
>
> > watir-general@googlegroups.com
> >http://groups.google.com/group/watir-general
> > watir-general+unsubscr...@googlegroups.com
>
> Regards,
> Rahul Sharma- Hide quoted text -
>
> - Show quoted text -

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to