I am writing an automated website test script and have a page with some download links to test.
The site is in ASP.NET MVC, the download link is like this: https://websiteurl.com/services/download?linkAddress=download%2Finteractive-sdk.zip
I can click the link via the DOM and IE11 brings up the download message at the botton of the window.
When I used Au3Info.exe and mouse over the download dialog I see:
>>>> Control <<<< Class: DirectUIHWND Instance: 1 ClassnameNN: DirectUIHWND1 Name: Advanced (Class): [CLASS:DirectUIHWND; INSTANCE:1] ID: Text: etc... I tried using:
But it showed the class name "DirectUIHWND1" before and after download dialog appeared in browser.
so I thought maybe it was just hidden, so I tried:
ControlCommand( "[CLASS:DirectUIHWND; INSTANCE:1]", "", "", "IsVisible", "") but is returned 0 both before and after download dialog appeared in browser.
So I guess I am going about it the wrong way. Does anyone have an idea, or exampe of checking for the IE11 download dialog or perhaps another method of verifying the file is availble for download?