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 ManualTestingStepInfo
object provides information about a manual testing step by its identifier. To obtain the object in scripts, call the GetStepInfo
method of the ManualTesting
object.
Members
Example
The following example demonstrates how to obtain information on a manual test step by the step’s ID.
JavaScript, JScript
function ManualTestStepInfo()
{
var ID, Info;
// Specifies the test step ID
ID = "STEP_1";
// Obtains information on the test step with the specified ID
Info = ManualTests.NewManualTest.GetStepInfo(ID);
...
}
{
var ID, Info;
// Specifies the test step ID
ID = "STEP_1";
// Obtains information on the test step with the specified ID
Info = ManualTests.NewManualTest.GetStepInfo(ID);
...
}
Python
def ManualTestStepInfo():
# Specifies the test step ID
ID = "STEP_1"
# Obtains information on the test step with the specified ID
Info = ManualTests.NewManualTest.GetStepInfo(ID)
VBScript
Sub ManualTestStepInfo
' Specifies the test step ID
ID = "STEP_1"
' Obtains information on the test step with the specified ID
Set Info = ManualTests.NewManualTest.GetStepInfo(ID)
...
End Sub
' Specifies the test step ID
ID = "STEP_1"
' Obtains information on the test step with the specified ID
Set Info = ManualTests.NewManualTest.GetStepInfo(ID)
...
End Sub
DelphiScript
procedure ManualTestStepInfo;
var ID, Info;
begin
// Specifies the test step ID
ID := 'STEP_1';
// Obtains information on the test step with the specified ID
Info := ManualTests.NewManualTest.GetStepInfo(ID);
...
end;
var ID, Info;
begin
// Specifies the test step ID
ID := 'STEP_1';
// Obtains information on the test step with the specified ID
Info := ManualTests.NewManualTest.GetStepInfo(ID);
...
end;
C++Script, C#Script
function ManualTestStepInfo()
{
var ID, Info;
// Specifies the test step ID
ID = "STEP_1";
// Obtains information on the test step with the specified ID
Info = ManualTests["NewManualTest"]["GetStepInfo"](ID);
...
}
{
var ID, Info;
// Specifies the test step ID
ID = "STEP_1";
// Obtains information on the test step with the specified ID
Info = ManualTests["NewManualTest"]["GetStepInfo"](ID);
...
}
See Also
Manual Testing
Executing Manual Tests
About Manual Test Editor
Manual Testing Events
ManualTesting Object
GetStepInfo Method