# Help on down\_load\_time function

**URL:** <https://www.ruby-forum.com/t/help-on-down-load-time-function/163924>\
**Category:** Ruby\
**Created:** [March 26, 2009, 6:43am UTC](https://www.ruby-forum.com/t/help-on-down-load-time-function/163924 "2009-03-26T06:43:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgudibanda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a9adbd/32.png) [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Post date:** [March 26, 2009, 6:43am UTC](https://www.ruby-forum.com/t/help-on-down-load-time-function/163924/1 "2009-03-26T06:43:44Z")

</div>

Hi,

I needed help on down\_load\_time function as i was trying to automate my  
performance test cases.

This function gives the time taken to download after a click to a  
button/link etc.

to me everything was going fine unless and until i came across the  
confirmation pop-ups.  
In that case if i’m using this function after the button click (for  
which the pop up comes)it gives me time for that particular click only.  
and if i use this function after popup clicker, it gives me time for pop  
up click only.  
whereas i need time for the page to get downloaded once button on pop up  
is clicked.

i searched a lot but didn’t found any help for down\_load\_time function.  
Please help…!!!
