[wtr-general] Re: Wait for frame to load

2009-07-08 Thread Željko Filipin
On Tue, Jul 7, 2009 at 6:14 PM, Ray rayjh...@gmail.com wrote:
 Is there anyway to tell watir to wait for a frame to load?
Did you read this?

http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir

Željko
--
http://watirpodcast.com/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Wait for frame to load

2009-07-07 Thread takanobu watanabe

I did not try to wait frame loading.
But Is that bad?,wait some keys for recognize frame loaded.

Usually I made modules for waiting Ajax render when testing.
otherwise watir return no object,wait forever,etc

Hope it help.
tknv/

On Wed, Jul 8, 2009 at 1:14 AM, Rayrayjh...@gmail.com wrote:

 Is there anyway to tell watir to wait for a frame to load? My
 situation is that i am filling out a form and when the form is
 submitted i need to wait for the frame on another page to load before
 continuing the script. Right now i am using sleeps but it would be
 very helpful to wait on the frame so i could make it work for any
 frame at any amount of load time.

 Thanks

 Ray
 




-- 
tknv/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Wait for frame to load

2009-07-07 Thread Brautigam Gergely
Hi Ray!

Try the wait_until function. 

It's in the Waitr::Waiter class.

--- On Tue, 7/7/09, Ray rayjh...@gmail.com wrote:

From: Ray rayjh...@gmail.com
Subject: [wtr-general] Wait for frame to load
To: Watir General watir-general@googlegroups.com
Date: Tuesday, July 7, 2009, 6:14 PM


Is there anyway to tell watir to wait for a frame to load? My
situation is that i am filling out a form and when the form is
submitted i need to wait for the frame on another page to load before
continuing the script. Right now i am using sleeps but it would be
very helpful to wait on the frame so i could make it work for any
frame at any amount of load time.

Thanks

Ray




  
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Wait for frame to load

2009-07-07 Thread Wesley Chen
It will be good if you add:
sleep(3) in your script.

Thanks.
Wesley Chen.


On Wed, Jul 8, 2009 at 4:10 AM, Brautigam Gergely skarlso...@yahoo.comwrote:

 Hi Ray!

 Try the wait_until function.

 It's in the Waitr::Waiter class.

 --- On *Tue, 7/7/09, Ray rayjh...@gmail.com* wrote:


 From: Ray rayjh...@gmail.com
 Subject: [wtr-general] Wait for frame to load
 To: Watir General watir-general@googlegroups.com
 Date: Tuesday, July 7, 2009, 6:14 PM


 Is there anyway to tell watir to wait for a frame to load? My
 situation is that i am filling out a form and when the form is
 submitted i need to wait for the frame on another page to load before
 continuing the script. Right now i am using sleeps but it would be
 very helpful to wait on the frame so i could make it work for any
 frame at any amount of load time.

 Thanks

 Ray

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---