umeannthome
15 years agoNew 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.
~William~