Sorry for taking so long to answer, but it might be related with the
bug submitted by me http://jira.openqa.org/browse/WTR-446

You could check if that makes any difference.

Jarmo

On May 24, 8:19 pm, cslumension <cslumens...@gmail.com> wrote:
> *high five*
>
> Don't know why, and hopefully you'll enlighten me, but browser.back,
> browser.forward before calling the click_no_wait method works like a
> champ so far.  It would always stop at the second link, but my script
> is up to the 8th download now and still looking good.  Thanks for the
> help, really.
>
> On May 22, 5:39 am, Jarmo Pertman <jarm...@gmail.com> wrote:
>
>
>
>
>
> > Hi.
>
> > Try to press browser back and forward button while your test hangs to
> > see if there's anything happening. If there is then i might just have
> > an idea, what causes this.
>
> > Temporary solution would be to just issue browser.back and
> > browser.forward before trying to save some file again. Let us know if
> > this helps you and i'll bring this topic up with Watir's developers.
>
> > Jarmo
>
> > On May 22, 2:48 am, cslumension <cslumens...@gmail.com> wrote:
>
> > > Want to download files, using a click_no_wait method, which works
> > > great the first time it's called, but each sequential call after that
> > > only highlights the item and no Save As box is displayed.  There is a
> > > similar issue raised two years ago without a defined 
> > > conclusion,http://groups.google.com/group/watir-general/browse_thread/thread/fb7...
>
> > > I call the element like so,
> > > ie.link(:href, downloadURL.to_s).click_no_wait
>
> > > The element is defined as so,
> > > <a id="download_btn" class="buttonEnable" onmouseout="" onmouseover=""
> > > onclick="MarkDownloadFunction(<some identifier>) href="/path/to/
> > > zipfile.zip">Download</a>
>
> > > the onclick DownloadFunction just sets the class to an enable/disable
> > > button to make it look like the button has been pressed with a new
> > > image from CSS.
>
> > > I found another thread about troubleshooting the click_no_wait 
> > > here,http://groups.google.com/group/watir-general/browse_thread/thread/222...
>
> > > The patch for 1.6.5 doesn't seem to apply to me since I am using a
> > > different version of Ruby.  I tried editing the watir/
> > > page_container.rb file as explained in the previous thread's link to
> > > Jarmo's post, but  the console just sits there.  I get no feedback
> > > after running the command generated in the click_no_wait text file.
>
> > > Ever better, if I open up google in IRB and call click, click_no_wait
> > > on buttons, they work just fine, every time!  Maybe there is something
> > > unique to this website that is stopping click_no_wait somehow, but I
> > > am out of ideas.
>
> > > My system,
> > > XP SP2
> > > Ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]
> > > Watir 1.6.5
>
> > > Thanks for taking the time to read through my post.
>
> > > --
> > > Before posting, please readhttp://watir.com/support. In short: search 
> > > before you ask, be nice.
>
> > > You received this message because you are subscribed 
> > > tohttp://groups.google.com/group/watir-general
> > > To post: watir-general@googlegroups.com
> > > To unsubscribe: watir-general+unsubscr...@googlegroups.com
>
> > --
> > Before posting, please readhttp://watir.com/support. In short: search 
> > before you ask, be nice.
>
> > You received this message because you are subscribed 
> > tohttp://groups.google.com/group/watir-general
> > To post: watir-general@googlegroups.com
> > To unsubscribe: watir-general+unsubscr...@googlegroups.com
>
> --
> Before posting, please readhttp://watir.com/support. In short: search before 
> you ask, be nice.
>
> You received this message because you are subscribed 
> tohttp://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: watir-general+unsubscr...@googlegroups.com

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

Reply via email to