Forum Discussion

co's avatar
co
New Contributor
6 years ago

PopupMenu item cannot be clicked during playback even it is mapped with Point & Fix

Hello,

 

There are

    TestedAppExe

    I______ SubMenuControlForm

               I______PopupMenu

controls in my keyword test. They cannot be seen in Object Browser, because they are visible only after rightclicking on a GUI object. (This means PopupMenu is the context menu of this GUI object).

 

I let them recognized by Point&Fix in Object Spy, so now they are mapped as following in Name Mapping:

 

SubMenuControlForm -> ClrFullClassName: DevExpress.XtraBars.Forms.SubMenuControlForm

                                            WndCaption:Empty

                                            Index:1

PopupMenuBarControl -> ClrFullClassName: DevExpress.XtraBars.Controls.PopupMenuControlForm

                                            WndCaption:Empty

 

During playback, when rightclicking on the GUI object, popup menu is opened, but popup menu cannot be recognized somehow (even though it seems mapped already) and TestComplete starts waiting for it endlessly (with an information message in the right-upper corner: "Waiting for the object").

 

Test steps are as following:

 

1- PanelControl  ClickR  ...  (Rightclicking on the GUI object to open popup menu)

2-SubMenuControlForm

         PopupMenu   Click   "MenuItemX"  (This cannot be selected) 

 

Besides, in CurrentProjectProperties > ObjectMapping, Developer Express Controls are enabled only.

 

Can you help us?

Thanks.