This book describes how to execute the flow from command-line. The commands to be described are as follows:
These commands are available in the following products:
- OperationWindow for CX1000
- CloudTesting™ Lab Expert Mode
Execute a flow
CT_FlowStart and CT_FlowStartNoWait are command to execute flow.
If CloudTesting™ Lab is launched on expert mode, you can specify the flow item to start the flow execution.
CT_FlowStart displays the result of the flow. The command does not end until the execution of flow is finished.
CT_FlowStartNoWait does not display the result of the flow. The command ends without waiting of the execution of the flow.
CT_FlowStart.bat [ <flow_item_name> ] CT_FlowStartNoWait.bat [ <flow_item_name> ]
|flow_item_name||The name of flow item|
The following command executes flow from [FunctionTest] flow item and displays its result.
C:\>CT_FlowStart.bat FunctionTest Pass C:\>
The following command executes the flow.
C:\>CT_FlowStartNoWait.bat FunctionTest C:\>
Abort the execution of flow
CT_FlowStop is a command to abord the execution of the flow.
The following command abort the execution of the flow.
Display the execution result of the flow
The following commands display the execution result of the flow which is executed at the last.
CT_FlowGetStatus is a command to display the execution status of the flow. The execution statuses to be displayed are the followings:
- Not Ready
CT_FlowGetResult is a command to display the execution result of the flow. The execution result to be displayed are the followings:
- Not Judge
- Not Executed
CT_FlowGetErrorMessages is a command to display the error message. If the error has not occured, the command does not display anything.
The following command displays the execution status of the flow.
C:\>CT_FlowGetStatus.bat Running C:\>
The following command displays the execution result of the flow.
C:\>CT_FlowGetResult.bat Not Judged C:\>
The following command displays the error message.
C:\>CT_FlowGetErrorMessage.bat Error occurred. Error Code: 002-0004-011 Out of range 'PERIOD' value(3.750000e-009) min(7.510000e-009) max(1.344001e-005). C:\>