| || |
Detecting disabled menu (gray out) in MS word App
Hello QTP Expert!
I'm a beginner of QTP.
I'm working on an application for MS word.
I'd like to detect a disabled menu (gray out) in MS word.
For example, how do I detect if Tools->Compare and Merge Documents... menu is enable or disabled(gray out)?
Based on post someone posted before in here I created the following script, but it generated the error saying 'The "Tools" object was not found in the Object Repository.'
Could you help me out for this?
I appreciate it.
Window("Microsoft Word").Type micAltDwn & "T" & micAltUp
If Window("Microsoft Word").Window("Tools").GetROProperty("Compare and Merge Documents...", "Enabled") = False Then