Test Execute
On this page
Use this page to review the SQL behind a saved test case, apply the test procedure and run an individual comparison.
All windows and pages · Common controls and reading this reference
Review Script and Pre/Post scripts, then check Cleanup. Use Update script to refresh the editor, Save to store changes and Run test to execute the test. Review Errors and any result tabs afterward.
Behavior and conditions
Run test checks that the displayed script is nonblank, then regenerates and saves the script from the test definition held by the editor. It applies the generated procedure when the test is marked Compiled and invokes CFG.TEST_
Related guidance
Controls
Find a control
General
- Interrupt
- Run test
- Update script
- Validate
- Cancel
- Save
- Panel divider
- Test script
- Pre/Post
- Errors
- Details
- Cleanup
Test script
Pre/Post
Errors
Details
Cleanup
The entries include tabs, grid columns, fields and context-menu actions. Repeated captions can belong to different grids or menus. Selection-dependent and initially hidden controls are included; inclusion is not a promise that every control is visible at once. Fixed choices below are declared choices, not a platform support matrix.
XAML preview
WPF renders the compiled XAML view with the application styles and empty fields. The image variant follows the documentation color theme.
Test script

General
Test script
Location: General. Control: Tab.
Test script
Generated script for executing this test case
Generated script for executing this test case.
Location: Test script. Control: SQL editor.
Declared read-only.
Pre/Post

General
Pre/Post
Location: General. Control: Tab.
Pre/Post
Panel divider
Drag to resize the adjacent panels. This changes presentation, not stored data values.
Location: Pre/Post. Control: Panel divider.
Original
Show the original script with macro expressions unchanged.
Location: Pre/Post. Control: RadioButton.
Parsed
Show a read-only preview with macros expanded. Edit the Original version to change the script.
Location: Pre/Post. Control: RadioButton.
Original
Show the original script with macro expressions unchanged.
Location: Pre/Post. Control: RadioButton.
Parsed
Show a read-only preview with macros expanded. Edit the Original version to change the script.
Location: Pre/Post. Control: RadioButton.
PreScript
Script executed before the associated operation.
Location: Pre/Post. Control: SQL editor.
PostScript
Script executed after the associated operation.
Location: Pre/Post. Control: SQL editor.
Errors

General
Errors
Location: General. Control: Tab.
Errors
Compilation errors reported for this test case
Displays the reported error message from the execution result.
Location: Errors. Control: Text field.
Declared read-only. Accepts multiline input.
Parsed scripts

Pre/Post
PreScript
Shows the pre-script with macros expanded for inspection.
Location: Pre/Post. Control: SQL editor.
Initially hidden; runtime selection can change visibility. Declared read-only.
PostScript
Shows the post-script with macros expanded for inspection.
Location: Pre/Post. Control: SQL editor.
Initially hidden; runtime selection can change visibility. Declared read-only.
Details

Details
Description
Descriptive documentation for this object or field; it is not an executable expression.
Location: Details. Control: Text field.
Compiled
Indicates whether the test case has been compiled successfully.
Location: Details. Control: Checkbox or status indicator.
Initially disabled; runtime selection can change availability.
Cleanup

Cleanup
Delete all data before starting
Requests removal of existing data from target user tables before running, with CFG.SNAPSHOTS excluded. Save changes to this setting before Run test.
Location: Cleanup. Control: Checkbox or status indicator.
Delete all data after completion
Requests removal of existing data from target user tables after test execution, with CFG.SNAPSHOTS excluded. Save changes to this setting before Run test.
Location: Cleanup. Control: Checkbox or status indicator.
Other controls
General
Interrupt
Requests cancellation of the current test execution.
Location: General. Control: Button.
Initially disabled; runtime selection can change availability.
Run test
Regenerates and saves the test script, applies the procedure when compiled, then runs the warehouse test and records a log.
Location: General. Control: Button.
Update script
Copies current settings into the editor definition, regenerates its SQL and refreshes the script and Compiled flag in the editor.
Location: General. Control: Button.
Validate
Applies the test procedure in the warehouse using the script held by the editor. Requires an existing test and a nonempty script.
Location: General. Control: Button.
Cancel
Leaves this dialog or page through its close/navigation action. It does not undo actions already executed separately; follow any save prompt.
Location: General. Control: Button.
Save
Copies the current settings into the definition, regenerates the script and commits the test definition to the repository.
Location: General. Control: Button.
Panel divider
Drag to resize the adjacent panels. This changes presentation, not stored data values.
Location: General. Control: Panel divider.
Details
Location: General. Control: Expander.
Cleanup
Location: General. Control: Expander.
Scope
Options can depend on the selected object, its saved values and the current repository.