i try to solve problem about ContextMenu.
My UFT cannot find ContextMenu.
Every time if i click with right button in Windows program, UFT recognize my right click
For example: Window("Window").Click 10,10, micRightBtn
then pop up classic context menu
but if a try to select something in context menu, the UFT only make another clicks
For Example: Window("Window").Click 24,71
So code looks like this
Window("Window").Click 10,10, micRightBtn
But i need this
Window("Window").WinMenu("ContextMenu").Select "Frist floor ...; Second floor"
I put this object into repository manualy (with help of "object spy") and manually changed code, but UFT still cannot recognize it.
How to solve it?
I had similar troubles.
Here's code that worked for me.
'WinMenu("ContextMenu").Select "Import from Scanner/Camera;Scan as Image..."
The "Import from Scanner..." was one of the menu items to select. Hope that helps.