How do I work with Devexpress PopupMenuBarControl & SubMenuBarControl
Hello,
I've recently ran into the DevExpress controls of "DevExpress.XtraBars.Forms.SubMenuControlForm", "DevExpress.XtraBars.Controls.PopupMenuBarControl" & "DevExpress.XtraBars.Controls.SubMenuBarControl" in a tested Desktop application I'm testing. I've created a GIF below to show you how these controls are being used \ being generated (via right click).
When I record a Script Test and perform the above action, the below code is generated
var testedApp= Aliases["app"];
var treeListEx = testedApp["ImportLayersWizard"]["WizardControl"]["SelectLayersWizardPage"]["LayersLayoutControl"]["LayersNodeTree"]["Tree"];
treeListEx["ClickCellR"](0, "Column");
var popupMenuBarControl = testedApp["SubMenuControlForm2"]["PopupMenuBarControl"];
popupMenuBarControl["Click"](26, 12);
treeListEx["ClickCellR"](0, "Column");
popupMenuBarControl["Click"](69, 16);
treeListEx["ClickCellR"](0, "Column");
popupMenuBarControl["Click"](53, 41);
As you can see above, TestComplete recognises the SubMenuControlForm and the PopUpMenuBarControl, but doesn't recognise any of the buttons on it. Does anyone have experience using these controls ? I haven't found anything online that indicates anyone else having issues with them. I'm ideally hoping to use them similar to a XtraPopupMenu from DevExpress, where you can just go "XtraPopUpMenu.Click(MenuItem);
Any help is greatly appreciated here.