ManualTesting Object

Applies to TestComplete 15.76, last modified on July 09, 2025
The manual testing functionality is deprecated but still available in TestComplete. While we recommend using other approaches for new tests, you can continue to create and run manual tests if needed..

Description

The ManualTesting object provides a scripting interface to a particular manual test stored in the ManualTests project item from your scripts.

To address an individual manual test from the ManualTests collection, use the following notation: ManualTests.ManualTestName, where ManualTestName is the unique name of the test within the collection.

Members

Example

The following code snippet starts the NewManualTest test.

JavaScript, JScript

function Main()
{
  // Obtains the manual test by its name
  // And starts the execution
  ManualTests.NewManualTest.Start();

}

Python

def Main():
  # Obtains the manual test by its name 
  # And starts the execution 
  ManualTests.NewManualTest.Start()

VBScript

Sub Main

  ' Obtains the manual test by its name
  ' And starts the execution
  ManualTests.NewManualTest.Start

End Sub

DelphiScript

procedure Main();
begin
  // Obtains the manual test by its name
  // And starts the execution
  ManualTests.NewManualTest.Start;

end;

C++Script, C#Script

function Main()
{
  // Obtains the manual test by its name
  // And starts the execution
  ManualTests["NewManualTest"]["Start"]();

}

See Also

Manual Tests Project Item
About Manual Test Editor
Executing Manual Tests
Manual Testing Events
ManualTests Object

Highlight search results