I am given a task to automate a windows based application which is developed in Visual Basic.
I am using QTP 11 and Windows XP.
I have selected Visual Basic addin and QTP has started recognizing my application as a VBWindow but there is a top level menubar which QTP is taking as one control(WinObject). How can I click on the following as per the attached screenshot.
I want to click Document --> View --> Document
On trying to do a normal recording, QTP has generated the following script:
VbWindow("VbWindow").WinObject("Menu Bar").Click 39,16