TestedApps.RunAll Method

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

Description

The TestedApps.RunAll method runs all the applications added to your project’s Tested Applications collection.

To run a single tested application, use the TestedApps.AppName.Run method.

Declaration

TestedApps.RunAll()

Result None

Applies To

The method is applied to the following object:

Result Value

None.

Remarks

The TestedApps.RunAll method runs applications using the run mode and settings specified in the TestedApps editor:

  • It launches the number of application instances specified by the Count parameter. (This applies to the Simple and RunAs modes only.)

  • It does not launch applications for which the Launch application from tests option is unchecked in the TestedApps editor.

Notes:

  • To run an application in the Profile or RunAs mode, you must run TestComplete as Administrator.

  • When you launch an application as Administrator, Windows shows the User Account Control (UAC) prompt. It cannot be closed automatically. You need to either close the UAC prompt manually, or turn UAC off. For more information, see Using TestComplete With Administrator Privileges.

In rare cases, applications may hang when being launched from TestComplete. For a workaround, see Notes.

Example

JavaScript, JScript

TestedApps.RunAll();

Python

TestedApps.RunAll()

VBScript

TestedApps.RunAll

DelphiScript

TestedApps.RunAll;

C++Script, C#Script

TestedApps["RunAll"]();

See Also

TestedApp Object
Run Method
RunAs Method
Close Method
Terminate Method
TestedApps.CloseAll
TestedApps.TerminateAll
Count Property
Launch Property
Close Action (Process and Browser Objects)
Terminate Method (Process and Browser Objects)

Highlight search results