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:
|
Skip |
Skips a step process execution. Select the mode from the Skip drop-down list:
|
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:
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:
|
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. |