Thanks, Olivier! I did not know the Set Browser Timeout could realistically be set to such high values as 20 minutes. I’ll give that a try first.
FYI - I’ve set the Set Browser Timeout to 600 seconds (10 minutes) not sure if there’s a limit
Dave.
Thanks, Dave-- I’ll probably set mine to 30 minutes, since that should always allow any of our gigantic reports to finish computing, with a 10 minute margin for error/growth. We’ll find out if it works!
Thanks for all the help, everyone!
For whatever reason, I had to add a Sleep 5s keyword in the middle of the download code to get it to actually wait long enough to finish the download. (The 5s value was arbitrary. I will try 2s next.)
Without Sleep, it was immediately going past the download and completing the entire test with PASS. This is with RF Browser 17.x.
Here’s the code I ended up using. It has not been tried on the really huge (15min to 20min) download yet.
${dl_promise} Promise To Wait For Download saveAs=%{ROBOT_ARTIFACTS}${/}detailedreport.csv
Click ${modalbox} >> "Download Detailed Report"
Sleep 5s
${file_obj}= Wait For ${dl_promise}
@dchang0 Strange that you have to use a sleep of 5 seconds. Does the download_timeout argument of the Promise To Wait For Download make any difference?
Thanks, LukasB–
I tried that on your recommendation, but apparently it is not supported by RF Browser 17.x.
I will try it again on RF Browser 18.x.
It is entirely possible that just by upgrading from RF Browser 17 to 18 will fix the issue such that neither Sleep 5 nor download_timeout=5 are needed.