Hi Abdul,
We are using following code to fetch the SubMenu count from one of the Menu, This code was working fine. Till last week . After the .Net Patches updated in our system the following code is not working.we are getting the Jscripts error ( Screenshot is attached)
var DMMenuCnt = Form["StripMainMenu"]["Items"]("View")["SubMenu"]["Items"]("Deal Manager")["SubMenu"]["Count"];
|
As I see, TestComplete cannot obtain submenu items for some items in the same menu. It's possible that some changes were made to the control's implementation due to the patch installation and therefore TestComplete wrappers do not work properly. Please set a breakpoint on the problematic line and try to examine properties of the menu items returned by Form["StripMainMenu"]["Items"]. Do you see properties populated with the expected values? Could you please post a screenshot showing properties for Form["StripMainMenu"]["Items"]("View")? Also, check whether the problem persists if you click the View menu item first (to make the submenu visible) and then try to obtain the submenu.
For Tool Strip Items ClickItem and wItem,wChecked and Other Properties are not displaying/ Supported after .Net Updates ( Earlier things were working fine)
I have changed the dll file tcClrHook.dll, Which I have downloaded from AutomatedQA.com Sometimes back, Though the situation is same
|
Please post a screenshot showing the problematic object's properties (including its full name) here. Also, we need to see how the problematic application is recognized in the Object Browser. The properties might not be available because the application is not recognized as Open.