A NEW menu/submenu problem...
I am having a problem with what you could call sub-submenus.
I am using QTP 8.2 with .NET add-in & up to date on patches. I am trying to verify whether menu options are enabled/disabled. Currently I am using:
This is working fine for all menu items EXCEPT for one scenario. I have some menus with are like File->Export->Thing.
For some reason when I use the same code above to verify that File->Export is enabled/disabled I receive an error "Object is disabled." Ironically that is what I was trying to find out in the code. The following gives me the error when File->Export is disabled:
The code works fine to check that something like File->Open is disabled but when you have a third level it seems to crash. Consistently I am having this error when I have something like File->Export->Thing or File->Import->Thing and I try to test whether the second level Export/Import is enabled/disabled.
Re: A NEW menu/submenu problem...
Believe me QTP is not good at these things....WinMenu n stuff