The attached program opens a web browser, runs a report and clicks on the link to download the report. Clicking on this link brings up a pop-up box asking if you want to Open, Save or Cancel the downloaded report.
When I get to this point manually, I can select the popup using the mouse or I can Press F6 and focus shifts to the Open button in the popup. I've attempted to emulate that in the code, but Sendkeys (which I would prefer not to use) doesn't seem to do the trick.
How can I get focus on this window? I'll use sendkeys if that's what it takes.
The URL is to a proprietary site. I don't know of a public site that acts the same way.
Please Login or Register to view this content.
Bookmarks