Dear all,
I need to download a file, it popup a dialog when click the link,
I use the following code to do it,
---------------------------------------------------------------
def test_d
$ie.goto(@@test_site + "/cgi-bin/summary.cgi")
$ie.button(:caption, "Save").click_no_wait
sleep 0.4
assert dialog.exists?
sleep 0.4
dialog.button('Save').click
end
---------------------------------------------------------------
But it stops at the line: assert dialog.exists?
It output this message: <false> is not true.
Can anybody know how to click the button and save the download file?
Thanks in advance.
Regards,
Jason
<<attachment: image002.jpg>>
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
