AutoIT Testing Help -


hi trying n excel file on web save automatically using autoit.

the following code not working:

#include <ie.au3> $oie = _iecreate ("http://127.0.0.1/my_site") _ienavigate ($oie, "http://databases.about.com/library/samples/address.xls")  winwait("file download","do want open or save file?") controlclick("file download","do want open or save file","button2") winwait("save as","save &in:") 

trying using ie not right way.

have tried using inetget function?

local $sfilename = filesavedialog("save excel file...", @mydocumentsdir, "excel spreadsheet (*.xls)|all files (*.*)", 18, "address.xls") if @error exit ; user cancelled dialog  local $ibytes = inetget("http://databases.about.com/library/samples/address.xls", $sfilename, 8) msgbox(0, "worked :)", "file downloaded. " & $ibytes & " downloaded.") 

that works , downloaded spreadsheet addresses (sounds right).

mat


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -