Forum Discussion
Beyond_great
14 years agoOccasional Contributor
Yes, I am testing a .NET application, TC also can access most of native methods and properties of my application, and treat it under test as open. However, for the C1Ribbon control, there is only a rbnMain object in Object Browser, and I can't find any its child elements(eg. groups, tabs, buttons and so on). Even if using MSSA, it only displays some child elements that are not the objects I want. To do On-Screen Action for the C1Ribbon object, TC also only recognizes its rbnMain object.
In my test cases, I can't focus on the groups, tabs, buttons of the C1Ribbon object. Therefore, I use pixel point(eg. click(x,y)) in order to click the items, but it is not convenient for maintaining my scripts. Of course, TC can obtain its methods and properties, but I can't figure out how to call the Click property for ribbon groups.Such as "Call Aliases.BrzAermod.Main.rbnMain.Tabs.Item(1).Groups.Item(2).Items.Item(0).Click", so I only call Aliases.IncdAnyl.Main.rbnMain.Click(743, 67).
In my test cases, I can't focus on the groups, tabs, buttons of the C1Ribbon object. Therefore, I use pixel point(eg. click(x,y)) in order to click the items, but it is not convenient for maintaining my scripts. Of course, TC can obtain its methods and properties, but I can't figure out how to call the Click property for ribbon groups.Such as "Call Aliases.BrzAermod.Main.rbnMain.Tabs.Item(1).Groups.Item(2).Items.Item(0).Click", so I only call Aliases.IncdAnyl.Main.rbnMain.Click(743, 67).