Forum Discussion
Hi Swapna,
Infragistics does not make VCL controls; the controls in your example are DevExpress-based. This particular control (TcxRibbonBackstageViewGalleryControl) is not specifically supported by TestComplete, but you can use its native properties and methods to access the data and automate the actions. Your tested application needs to be compiled with debug information.
Some useful properties and methods (they work in vanilla TcxRibbonBackstageViewGalleryControl):
obj.Gallery.Groups.Count - get group count
obj.Gallery.Groups.Groups(index) - get a group by index
obj.Gallery.Groups.Groups(index).ItemCount - get item count for a group
obj.Gallery.Groups.Groups(index).Items.Items(index) - get an item by index within a group
obj.Gallery.GetFirstItem() / .GetVisibleItem() - get the first item or the first visible item
obj.Gallery.ClickItem( itemObj ) - click the specified item
obj.Gallery.Groups.Groups(index).Items.Items(index).ViewInfo.Bounds.Top / .Left / .Right / .Bottom - item coordinates within the control, in case you want to click them using obj.Click(itemX, itemY).
Hope this helps!