Testing Qt Applications

Applies to TestComplete 15.47, last modified on January 20, 2023

TestComplete provides ultimate support for Qt 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 Qt applications with TestComplete:

In This Section

Testing Qt Applications - Overview

Describes the specifics of working with Qt applications.

Requirements for Testing Qt Applications

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

Addressing Objects in Qt Applications

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

Support for Qt Applications' Controls

Describes support that TestComplete provides for the most frequently used controls of Qt applications.

Accessing Native Properties and Methods of Qt Objects

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

Testing Alien Widgets of Qt Applications

Describes how to test non-windowed Qt components with TestComplete.

Troubleshooting Qt Applications

Describes the possible issues that may occur when testing Qt applications.

Related Topics of Interest

Compiler Settings for Visual C++ 8.0 and Later Open Applications (Unmanaged Code)

Explains how to add debug information to an application created in Microsoft Visual Studio 2005 - 2012 so that your tests have access to all internal members of the application’s objects.

Access to Properties

Contains information on accessing properties and methods of application objects.

Calling Methods and Properties of Open Applications' Objects

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

Recording Automated Tests

Contains basic information on recording in TestComplete.

Running 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 Qt application and a number of test projects:

<TestComplete Samples>\Desktop\Orders\Qt

Note: If you do not have the sample, download the TestComplete Samples installation package from the support.smartbear.com/testcomplete/downloads/samples page of our website and run it.

See Also

Desktop Application Testing
Applications Testing

Highlight search results