Execute Flow

This book describes how to execute the flow from command-line. The commands to be described are as follows:

  • CT_FlowSelect
  • CT_FlowStart
  • CT_FlowStartNoWait
  • CT_FlowStop
  • CT_FlowGetStatus
  • CT_FlowGetResult
  • CT_FlowGetErrorMessage

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> ]

Options

OptionDescription
flow_item_nameThe name of flow item

Example

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.

CT_FlowStop.bat

Example

The following command abort the execution of the flow.

C:\>CT_FlowStop.bat
C:\>

Display the execution result of the flow

The following commands display the execution result of the flow which is executed at the last.

  • CT_FlowGetResult.bat
  • CT_FlowGetStatus.bat
  • CT_FlowGetErrorMessage.bat

CT_FlowGetStatus is a command to display the execution status of the flow. The execution statuses to be displayed are the followings:

  • Ready
  • Running
  • Not Ready

CT_FlowGetResult is a command to display the execution result of the flow. The execution result to be displayed are the followings:

  • Pass
  • Fail
  • Not Judge
  • Error
  • Not Executed

CT_FlowGetErrorMessages is a command to display the error message. If the error has not occured, the command does not display anything.

Example

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:\>
Updated at
January 01, 2017