As I said.. the issue/PROBLEM(as i mentioned above)is clicking on the SAVE button in the dialog box, that apprears,when we usually want to download something. I have also added a screenshot of the said dialog box in this thread.
I have also included the code that I tried(Though didn't work) above. I was actually trying to do a descriptive programming on the above scenerio and could NOT get it.
Might just be a timing issue. Throw an exist step in there.
If Dialog("File Download").Dialog("File Download").WinButton("Save").Exist(10) Then
Dialog("File Download").Dialog("File Download").WinButton("Save").Click
msgbox "save button did not exist/load within 10 seconds"
I presume you've already checked that the repository can properly identify the object.