I am facing synchronization issues for Watir 3.0 the error seen is :

ERROR -- : Exception occurred! innertext
    OLE error code:0 in <Unknown>
      <No Description>
    HRESULT error code:0x80070005
      Access is denied.1

I saw this error on another Watir forum too :
 http://rubyforge.org/pipermail/wtr-general/2006-July/006597.html

Is using sleep..until the only way out of this?

On Tuesday, 24 March 2009 20:33:37 UTC+5:30, Bret Pettichord wrote:
>
> Watir has built in synchronization. Most Watir methods will not return 
> until the page has finished loading. This is invisible and automatic and 
> handles 95% of the synchronization needs of Web Apps. 
>
> When Watir was first released, there were browser drivers in several 
> different languages. The most popular was Samie, in Perl. But Watir was 
> the first to include this automatic synchronization mechanism. I suspect 
> that this was key to its success. Because it is invisible and automatic, 
> most people don't give it much thought. 
>
> A little history lesson for you. 
>
> Bret 
>
>
> [email protected] <javascript:> wrote: 
> > In comercial tools, like QuickTest Pro, there are API for 
> > synchronization points. 
> > You may wait for a certain time while the page is downloded before 
> > performing any operations on it. 
> > The API ranges from simple wait() to more sophisticated functions 
> > waiting for specific object properties. 
> > 
> > Do we have analogs for synchronization points in Watir? 
> > Do we need to create a loop checking if the web page contains some 
> > text to guarantee it downloaded? 
> > 
> > So far I did not insert any synchronization points in the scripts and 
> > everything worked fine. 
> > > 
> >   
>
>
> -- 
> Bret Pettichord 
> CTO, WatirCraft LLC, www.watircraft.com 
> Lead Developer, Watir, www.watir.com 
> Blog, www.io.com/~wazmo/blog <http://www.io.com/%7Ewazmo/blog> 
> Twitter, www.twitter.com/bpettichord 
>
> Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 
> www.watircraft.com/training 
>
>

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

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to