Showing results for 
Search instead for 
Did you mean: 

Unable to get buttons on toolbar

New Contributor

Unable to get buttons on toolbar

Hi guys,

TestComplete doesn't seem to recognize the buttons on toolbars in the software I'm working on.

When I tried to record mouse click on one of the buttons, it showed only clicking on the toolbar with some coordinates; and when I tried to do object checkpoint, it only highlighted the whole toolbar, but not the individual buttons. I don't really want to depend much on coordinates as when the developer changed the layout of the toolbar, or when the window is minimized, the old recorded script won't work anymore. 

What can I do to solve this? Or is there any better way to do the button clicks?

FYI, the WndClass of the toolbar used is CXTPToolbar.


New Contributor

RE: Unable to get buttons on toolbar

Eventually, i've found the solution. Thanks anyways.
New Here?
Join us and watch the welcome video:
Top Kudoed Authors