Ask a Question

TestComplete cannot access menu bar of application

Buschfunk
Frequent Contributor

TestComplete cannot access menu bar of application

Hello,



A Windows application using .NET framework 3.5 contains a menu bar of type "StripMenu". Unfortunately I don't know how to simulate clicks to that menu and its submenus.



Using the "MenuAction" keyword operation I select "MainManu" followed by the menu entry I'd like to be chosen but when running the test, TestComplete waits for the menu and then runs into a timeout.



Anybody any ideas? 🙂



Thanks a lot,

Robert
2 REPLIES 2
Buschfunk
Frequent Contributor

Did some "diggin' in the dirt" of the application and found out that it implements the menu using the .NET class "MenuStrip". Using TestComplete 7 I checked that the third-party controls are installed. They are.



Is there anything else I have to consider when trying to access the StripMenu?


Hi Robert,





According to the request you submitted via our Contact Support form, you have .NET Framework 4.0 installed on your machine. This fact breaks support for .NET applications in TestComplete, and you need to apply a fix for it. You can find more information in this FAQ entry.





I have sent you the fix via e-mail.
--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: