Debugging Process Execution

In Certify, you can execute a process without user intervention. If you need to troubleshoot your process, you can debug process execution with the following Execution dialog methods:

  • Skip process steps that you know are working correctly during execution
  • Capture screens interactively as your execution progresses to help identify failures
  • Trace process execution
  • View the steps
  • View and modify variables used by steps
  • Add variables to see if the variable value changes
  • View recordsets

Execution Dialog Menu

The Execution menu bar contains the following functions and commands needed to run debug processes:

Button

Description

Run

Executes the process to completion without user intervention.

Step

Executes the current step of a process. Select the mode from the Step drop-down menu:

  • Step - Executes each step of the process. If the step is an Execute Process step, the execution moves to the first step of the called process.
  • Step over - Executes the current step. If the current step is an Execute Process step or a result of True/False logic, all sub-processes are executed, and the execution moves to the next step of the current process.
  • Step out - Executes to the end of the current process and stops at the next step of the parent process.

Skip

Skips a step process execution. Select the mode from the Skip drop-down list:

  • Skip - Skip the selected step and continue execution at the next step. If the current step is an Execute Process step, the process is not executed.
  • Skip out - Ignore the remaining steps of the current process and execution starts again at the next step of the parent process.

Stop

Stops the execution at the next step, and the Result Viewer opens.

Capture

Adds a step to capture a screen image of the active window or desktop during execution. This option is helpful when you want to see the window or object that is failing in your application.

The image is saved to the log entry of the test step execution. You can view this image in the Test Step Image tab of the Result Viewer when you select the step in the Summary pane.

Select the mode from the Capture drop-down list:

  • Capture Active Window - Captures the application screen
  • Capture Desktop - Captures the entire desktop

For more information, see Capturing Screen Images.

Pause

Pauses the managed process execution.

Execution Tabs

The Execution tabs offer you different views when debugging your process execution:

Tab

Description

Steps

Displays the steps and status of the current process to be executed.

The next step to execute is highlighted in blue. A Commented step that does not execute is highlighted in gray.

If you selected the Stop on Failure option in a Managed execution mode, you can restart the execution on a different step. Right-click on the step and select Set Execution Pointer to restart execution.

Variables

Displays the current value of the variables:

  • Process tab displays the local variables of the current process.
  • Steps tab displays variables and values in the step that comes after the step you are executing. You can see what the value is before the step is run. Also, you can modify variables in this tab. For more information, see Modifying Variables During Execution.
  • Watch tab is used to add the variable that you want to observe. Use the right-click menu to add the variable to the tab. For more information, see Adding Watch Variables. During debugging, you can view the variable each time the value changes.

Recordset

Displays the recordset data used in the execution of the current process. You can watch the process executing, the layout name that the recordset belongs, the name of the recordset, and the recordset's looping index.

Breakpoint

Set a predefined point in a process where you want execution to pause or stop, so that you can review the results of the current step execution. You may want to set breakpoints after receiving failed steps to view the actual execution of your test and determine why the steps are failing. For more information, see Setting Breakpoints.

Manual Execution

While running your process in Manual mode, this option allows you to record a value and an error message. You can also record the test status as Passed, Failed, or Fatal Error.

This tab is only visible when Manual mode is selected in the Configuration dialog. For more information, see Executing Processes Using Manual Mode.

 

Related Topics Link IconRelated Topics