ManualTesting Object

Applies to TestComplete 15.31, last modified on March 17, 2022
The manual testing functionality is deprecated. Do not use it for creating new tests. It will be removed in a future TestComplete release.

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