lleppert
11 years agoContributor
Can't click item in infragistics dropdown
Hello,
I am trying to write a keyword test that can select an item out of a dropdown list from an infragistics ribbon.
The full class name for the ribbon is:
Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea
On my ribbon, I have several items that I have no trouble clicking running the following code snippet:
Aliases.frmMain.zfrmMain_Toolbars_Dock_Area_Top.ToolbarsManager.Ribbon.Tabs.Item(TAB_INDEX).Groups.Item(GROUP_INDEX).Tools.Item(ITEM_INDEX).ClickItem
However, once this item is clicked it produces a dropdown form with the full class name of Infragistics.Win.UltraWinToolbars.PopupGalleryControlTrusted
Though I can navigate to the item in object spy, digging deeper into the above path:
Aliases.frmMain.zfrmMain_Toolbars_Dock_Area_Top.ToolbarsManager.Ribbon.Tabs.Item(TAB_INDEX).Groups.Item(GROUP_INDEX).Tools.Item(ITEM_INDEX).Items.Item(DROPDOWNITEM_INDEX)
I cannot click on the object and there are also not any bounds,coordinates, etc that I can use to click the object.
Is this a supported control? If so, if anyone has any advice on how I can click on these dropdown items it would be greatly appreciated.
Thanks!
I am trying to write a keyword test that can select an item out of a dropdown list from an infragistics ribbon.
The full class name for the ribbon is:
Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea
On my ribbon, I have several items that I have no trouble clicking running the following code snippet:
Aliases.frmMain.zfrmMain_Toolbars_Dock_Area_Top.ToolbarsManager.Ribbon.Tabs.Item(TAB_INDEX).Groups.Item(GROUP_INDEX).Tools.Item(ITEM_INDEX).ClickItem
However, once this item is clicked it produces a dropdown form with the full class name of Infragistics.Win.UltraWinToolbars.PopupGalleryControlTrusted
Though I can navigate to the item in object spy, digging deeper into the above path:
Aliases.frmMain.zfrmMain_Toolbars_Dock_Area_Top.ToolbarsManager.Ribbon.Tabs.Item(TAB_INDEX).Groups.Item(GROUP_INDEX).Tools.Item(ITEM_INDEX).Items.Item(DROPDOWNITEM_INDEX)
I cannot click on the object and there are also not any bounds,coordinates, etc that I can use to click the object.
Is this a supported control? If so, if anyone has any advice on how I can click on these dropdown items it would be greatly appreciated.
Thanks!