02-18-2010, 07:29 PM
Hi.
My application has a button to download files.
For security purpose, there is a popup that bloacks from downloading, instead asks before downloading the file.
i want to select the option: "Download file"
It gives object description error, cannot identify winmenu, and selected item in the collection.
i cannot use objectspy here as the context menu disappears when the cursor is moved.
Any help will be really appreciated.
Regards;
Vijay
My application has a button to download files.
For security purpose, there is a popup that bloacks from downloading, instead asks before downloading the file.
i want to select the option: "Download file"
Code:
Browser("micclass:=Browser").WinButton("text:=To help protect your security.*").Click 604,8,micRightBtn
Browser("micclass:=Browser").WinMenu("text:=ContextMenu","index:=0").Select "Download File..."
i cannot use objectspy here as the context menu disappears when the cursor is moved.
Any help will be really appreciated.
Regards;
Vijay