Testing Visual C++ Applications

Applies to TestComplete 14.70, last modified on April 22, 2021

TestComplete provides ultimate support for Visual C++ applications. For these applications, you can perform almost any kind of tests: unit, functional (or user interface), regression, data-driven, etc.

The following topics provide more information on how to test Visual C++ applications with TestComplete:

In This Section

Testing Visual C++ Applications - Overview

Describes the specifics of working with Visual C++ applications.

Requirements for Testing Visual C++ Applications

Provides information on the requirements that must be met in order for you to be able to test Visual C++ applications.

Preparing Visual C++ Applications for Testing

Explains how to get deeper access to the Visual C++ application internals via Debug Info Agent™.

Addressing Objects in Visual C++ Applications

Explains how to refer to the tested application’s GUI objects from tests using Name Mapping and without using Name Mapping.

Support for Visual C++ Applications' Controls

Describes support that TestComplete provides for the most frequently used controls of Visual C++ applications.

Accessing Native Properties and Methods of Visual C++ Objects

Explains how to get and set native properties of Visual C++ objects and how to call native object methods in your tests.

Troubleshooting Visual C++ Applications

Describes possible problems that may occur when testing Visual C++ applications and possible solutions to these problems.

wxWidgets Visual C++ Applications Support

Contains information about TestComplete support for Visual C++ applications that use the wxWidgets framework.

Changes in MFC Classes Notation

Describes the changes in class-member names made by TestComplete.

Related Topics of Interest

TestComplete Unit Tests - Visual C++ Applications

Describes how you can perform unit testing of Visual C++ applications with TestComplete. For more information on unit testing with TestComplete, see TestComplete Unit Tests - Overview.

Access to Properties

Contains information on accessing properties and methods of applications’ objects.

Calling Methods and Properties of Open Applications' Objects

Describes the specifics of calling methods and properties of applications’ objects from scripts.

Creating Scripting Objects From Visual C++ Application Objects

Explains how you can create scripting objects from objects of applications created in Visual C++.

Recording Automated Tests

Contains basic information on recording in TestComplete.

Running, Pausing and Stopping Automated Tests

Contains general information on running tests in TestComplete.

Testing With TestComplete

Describes different testing types supported by TestComplete.

About Script Tests

Contains general information on writing scripts and on supported scripting languages.

Samples

TestComplete includes a sample test project that demonstrates testing of a sample Visual C++ application:

<TestComplete Samples>\Desktop\Orders\MSVC\TCProjects

For information about sample applications and test projects included in TestComplete, see TestComplete Samples.

See Also

Desktop Application Testing
Applications Testing

Highlight search results