Checking menu items
I want to check if a menu item is selected or not based on the tick mark against that menu item. How can I do that in QTP?
For example, if Scientific is selected in calculator, When we click on the "view", the menu will display "Scientific" with a black circle to its left. How to check if this is true?
Re: Checking menu items
Use WinMenu.GetItemProperty() method. E.g.
MsgBox Window("Calculator").WinMenu("Menu").GetItemProper ty("View;Standard", "checked")