Forum Discussion

gabycontreras's avatar
8 years ago

I'm trying to click in a XtraPopUpMenu that is created when the application is running.

I can't do it through keyword test because the object does not exist when run the test the next time. The menu belongs to a grid in a tabpage that I can reach in a script. Need ideas....

 

If I record a test, the object is:

 

Aliases["MyApp"]["MyAppMain"]["tcMain"]["XtraTabPage"]["ShellContainer"]["tcContainer"]["XtraTabPage"]["AlertView"]["ucAlerts"]["XtraPopupMenu"]["Click"]("Dismissed");

1 Reply

  • JuliaBernikova's avatar
    JuliaBernikova
    SmartBear Alumni (Retired)

    Hi,

     

    Could you please tell us what error exactly you get? You mentioned that the object doesn't exist, so I suggest that try the suggestions from the Handling the 'Object Does Not Exist' Error article.

     

    It is also possible that the popup menu isn't bound to the grid. In this case, you can use the function from this thread: Popmenu Items are not identified. It applies to StripPopupMenu, but you can change it according to the specifics of XtraPopUpMenu.