AnalyticsCreator Docs Preview

Test Execute

On this page
  1. Behavior and conditions
  2. Related guidance
  3. Controls
  4. XAML preview
  5. Test script
  6. Pre/Post
  7. Errors
  8. Parsed scripts
  9. Details
  10. Cleanup
  11. Other controls
  12. Scope

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_ in the DWH. The handler records the results and errors in a single-test log. Success requires no reported error and no rows in any result table. Save the settings before running: Run test does not copy the current Pre/Post and Cleanup controls into the definition.

Controls

Find a control

General

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

XAML illustration: Test script XAML illustration: 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

XAML illustration: Pre/Post XAML illustration: 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

XAML illustration: Errors XAML illustration: 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

XAML illustration: Parsed scripts XAML illustration: 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

XAML illustration: Details XAML illustration: 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

XAML illustration: Cleanup XAML illustration: 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.

Search documentation