Hi, our application uses a CBCGPToolBoxPage toolbox control from BCGSoft. I would like to be able to access the buttons in that control using the native methods/functions. Right now it's a black box to TestComplete.
Does anyone have any experience or knowledge of how to accomplish this? Maybe adding an entry in the Object Mapping?
What can we suggest here?
> Maybe adding an entry in the Object Mapping?
Have you tried this?
Another idea, considering that these are native C\C++ controls, is to talk to developers and ask them for debug version of controls along with the debug info. (https://support.smartbear.com/testcomplete/docs/app-testing/desktop/visual-c/index.html help topic might help...)
Hi Alex, thanks for the reply. I haven't tried adding anything to the object mapping because I'm not sure what and where to add it. I'm hoping that will be the easy solution to the problem if I can figure it out.
Thanks again, John
I think you can try adding the BCGControlBar's class name to the Win32 Controls and Windows section in the Object Mapping settings. Please find more information here:
However, I agree with Alex - the best option is to build the tested app with the debug information. In this case, TestComplete will have access to native properties and methods of the control that you can use in your test.
Thanks for the ideas.
There has been an interesting development. I found another TestComplete project created by someone else at my company where it is working. Now if there was only a way I could diff the Object Mapping between the two projects I think I would have my solution. Unfortunatly I don't see any way to easily diff them. Is the Object Mapping stored in a file somewhere?
I think its stored in the MDS project file