Re: [Wtr-general] Is there a way to over ride Watir's checking if IE isbusy?

2007-02-01 Thread Paul Rogers
I had the same problem once too. Take a look at the wait method

it has these lines
while @ie.busy

and

  until @ie.readyState == READYSTATE_COMPLETE do


you might be able to remove or the other

Paul


- Original Message - 
From: Nathan [EMAIL PROTECTED]
To: wtr-general@rubyforge.org
Sent: Thursday, February 01, 2007 12:56 PM
Subject: [Wtr-general] Is there a way to over ride Watir's checking if IE 
isbusy?


I am trying to test a website that has streaming content, and it seems that 
because this content is streaming, IE never returns that it is no longer 
busy.  Is there some way around this?  I am unable to do anything on the 
site in these cases.

 Thanks,

 Nathan
 -
 Posted via Jive Forums
 http://forums.openqa.org/thread.jspa?threadID=6392messageID=18036#18036
 ___
 Wtr-general mailing list
 Wtr-general@rubyforge.org
 http://rubyforge.org/mailman/listinfo/wtr-general
 


___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] Is there a way to over ride Watir's checking if IE isbusy?

2007-02-01 Thread Adam Reed
So basically the test never starts because IE is never finished loading
the items on the page?  I've witnessed this also with slow-loading
images on our staging servers.  IE hangs out (no pun intended) until the
final image shows and then tests away.

It may be a low-tech resolution, but if I'm not testing the images, for
instance, I go into IE setting and disable images from showing before I
run my tests.  You could also easily do this with streaming/multimedia
content in Tools - Internet Options - Advanced.

So, as long as you're not testing the functionality of the streaming
content that should allow the test to run.  If you are, it may be the
one component that you have to test manually.

That's my non-watir-specific .02.

Thanks,
Adam

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nathan
Sent: Thursday, February 01, 2007 1:57 PM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Is there a way to over ride Watir's checking if
IE isbusy?

I am trying to test a website that has streaming content, and it seems
that because this content is streaming, IE never returns that it is no
longer busy.  Is there some way around this?  I am unable to do anything
on the site in these cases.

Thanks,

Nathan
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6392messageID=18036#18036
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general