I'm using method click_no_wait to solve the file download case.
The problem is that the first time i use click_no_wait to click a link
then a File Download window can be showed.
but after that I do the same thing again then no File Download window
popup.It like nothing has been done.
the script is like:
ie = Watir::IE.new
ie.goto("An URL")
ie.link(:id,XXXX).click_no_wait #here is normal,with the next
sentence I successfully download a file.
file_download_method
ie.link(:id,XXXX).click_no_wait #nothing happened here...and
also no error occured.if I write "ie.link(:id,XXXX).click" instand
then a file download windows will be showed...
file_download_method
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---