Hey Bret, I have another question.

I'm almost finished updating another script that walks through the pages of
another web app and I'm noticing that the average difference between the
timers is ~ 2.0 seconds!

This second app is mostly frames though.  So when I issue the following
command:

  ie.down_load_time

Does it report the download time for the whole page, i.e. including all of
the sub-frames, or does it only return the download wait time for the outer
IE frame?

Since I've written a separate method ('wait_for_frames') that waits for all
of the frames to finish loading before proceeding to the next LOC, it got me
wondering that perhaps your code example below doesn't include the wait time
(and therefore download time) for all of the sub-frames.

Do you know if this would be fixed in 1.5.x?

Please let me know.  Thanks.


On 10/01/07, Bret Pettichord wrote:

The "down_load_time" is the amount of time that watir waits in the wait
method that is automatically called after the click. It should be
roughly the same as the "wait_time" defined below:

    ie. button(:name, /UpdateSettingsButton/).click!
    then = Time.now
    ie.wait
    wait_time = Time.now - then


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to