Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
SWF toolbar:How to get the Tab names and Tools names inside a ribbon
posted

I am using  testadvantage 2008 vol 2  with QTP.

I can get the tabs count and tools count in each tab of the ribbon , but unable find the names of the tabs and tools inside the tabs.

GroupsCount = SwfWindow("X").SwfToolbar("_MDIForm_Toolbars_Dock_Area_To").GetNAProperty ("Ribbon.Tabs[0].Groups.Count")


OptionsCount =  SwfWindow("X").SwfToolbar("_MDIForm_Toolbars_Dock_Area_To").GetNAProperty ("Ribbon.Tabs[0].Groups[2].Tools.Count")

I tried  SwfWindow("X").SwfToolbar("_MDIForm_Toolbars_Dock_Area_To").getcontent

but its giving the error. Please give me a solution or link to the related posts.

 

Parents Reply Children
No Data