Unable to upload file even using autoit as my IE browser taking long to open upload popup once we click on the browse button but my script runs when i execute manually.
Also my objective is, i need to export a file and next step is to upload the latest timestamp file from the exported files. Can we handle these kind of scenario using AutoIT or if any please suggest.
One more step is to open and edit the exported excel file and import the same file.
Please suggest me with ur thoughts on it.
Script used for upload:
WinWaitActive("Choose File to Upload","",10)
Sleep(1000)
ControlFocus("Choose File to Upload","","Edit1") ; FILE UPLOAD
Sleep(2000)
ControlSetText("Choose File to Upload","","Edit1",""C:\Desktop")
Sleep(2000)
ControlClick("Choose File to Upload","","Button1") ; CLICK ON OPEN BUTTON
Sleep(1000)