cancel
Showing results for 
Search instead for 
Did you mean: 

Support for BCGControlBar's (from BCGSoft) methods/functions ?

Highlighted
Occasional Contributor

Support for BCGControlBar's (from BCGSoft) methods/functions ?

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?

 

Thanks,

John

6 REPLIES 6
Highlighted
Community Manager

Re: Support for BCGControlBar's (from BCGSoft) methods/functions ?

Hi Community,

What can we suggest here?

---------
Tanya Gorbunova
SmartBear Community Manager

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Community Hero

Re: Support for BCGControlBar's (from BCGSoft) methods/functions ?

Hi John,

 

> 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...)

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Highlighted
Occasional Contributor

Re: Support for BCGControlBar's (from BCGSoft) methods/functions ?

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

Highlighted
Community Manager

Re: Support for BCGControlBar's (from BCGSoft) methods/functions ?

Hi @John_OR,

 

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:

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/mapping.html

 

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.

---------
Tanya Gorbunova
SmartBear Community Manager

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Occasional Contributor

Re: Support for BCGControlBar's (from BCGSoft) methods/functions ?

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?

 

Best regards,

John

Highlighted
Community Hero

Re: Support for BCGControlBar's (from BCGSoft) methods/functions ?

I think its stored in the MDS project file


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors