cancel
Showing results for 
Search instead for 
Did you mean: 

Testing a release build

SOLVED
Highlighted
AAS
Occasional Contributor

Testing a release build

Hello,

 

We are using TestComplete to automate the GUI testing part for our application and it works fine.

That being said, we use lots of components inheriting from TBaseVirtualTree and because it does not use any controls to displays its node, we wrote our own support scripts to access the nodes.

That works, even if we would have liked if there was built-in support in TestComplete for such a common set of classes.

However, we also discovered that we must have debug info enabled in the exe file for the methods to be found, as explained here.

This is very unfortunate because our applications are quite different in Debug and Release configuration and what we want to test is the version that gets shipped to the customer, that is, the one in Release configuration.

That being said, we do have some debug info in the release executable because the detailed MAP file gets generated during the build process and added as a resource of the exe by madExcept.

This allows our own application to find where some private methods of the RTL and VCL are located and patch them at runtime.

As a result, we are wondering if it would be possible for TestComplete to find the location of those methods using the information that is used by madExcept to create its bug reports that contain the detailed stack trace.

Alternatively, if TestComplete cannot do it, would there be a way for us to write a script, or a plugin, that would help TestComplete find those methods?

 

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Testing a release build

I suggest that you contact Support directly about this.  Here's the link:

https://support.smartbear.com/message/?prod=TestComplete

 

View solution in original post

3 REPLIES 3
Community Hero

Re: Testing a release build

I suggest that you contact Support directly about this.  Here's the link:

https://support.smartbear.com/message/?prod=TestComplete

 

View solution in original post

Community Hero

Re: Testing a release build

There used to be a way of creating wrappers for specific classes so you didn't need to do debug for the whole thing... I think that may have been deprecated but, perhaps, you can find some way of doing something similar... again, contacting support may be the best thing to try first.


Robert Martin
[Community Expert Group]
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
Extensions available
AAS
Occasional Contributor

Re: Testing a release build

Thanks, I have contacted support about this, I'm waiting for their answer