Micro Focus QTP (UFT) Forums

Full Version: UFT does not recognize IE9 download bar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello All,

I am trying to automate file download in IE9.
I am using UFT 11.53 in Win7 environment.
I tried to capture IE9 download bar using object repository , Though it is capturing the object as navigation bar(Class : WinObject), it is not working when used in script.

I want to click the save button in the IE download bar.

I tried the following code , but it did not work .
According to one of the forms , the below code is said to click the save as button . It did not work for me.

code:

Code:
Set DeviceReplay = CreateObject("Mercury.DeviceReplay")
Browser("creationtime:=0").WinObject("nativeclass:=DirectUIHWND","regexpwndclass:=DirectUIHWND", "index:=0").highlight
Browser("creationtime:=0").WinObject("nativeclass:=DirectUIHWND","regexpwndclass:=DirectUIHWND", "index:=0").Clickontext "Save",,,,,true,micRightBtn,true
DeviceReplay.PressKey 208 'Presses 'down arrow' key
DeviceReplay.PressKey 30 'Presses 'a' key
Set DeviceReplay = Nothing


Please help.
Hello,

Please try to find solution here

QTP/UFT Patches

This page contains list of all patches with respective versions of QTP/UFT. Very useful. You can bookmark it.