I am new to Test Advantage . I am using Test Advantage 7.3 with QTP 9.2
I am not able to click on menu.
I want to click on Close button on the top .
Swfwindow("PTM 2010.2 (8.0.0c)").SwfToolbar("_MainMDIForm_Toolbars_Dock_Are").
ClickToolbarTool "ToolbarsManager,Toolbars,ExcelUIToolbar","Close"
Attached is screen shot for .Net Spy and Application
I tried following but they did not work
TabsCount = SwfWindow("PTM 2010.2 (8.0.0c)").SwfWindow("Open Contract").SwfToolbar("_pnlBottom_Toolbars_Dock_Area_").
GetNAProperty("Ribbon.Tabs[0].Groups.Count")
tried using this but getting message object does not support this message
attaching the screenshot of the .Net GUI Spy
I tried using this but getting message object does not support this message
I tried using ClickRibbonTool strMenu & ":" & strGroup , cToolbars. it worked fine for me. As the tools are present on groups and in turn present on a ribbon (which is a child obj for docArea).
It will work for sure.
Try using the below function:
cToolbars.ClickRibbonTool Menu & ":" & Group , cToolbars.Key