DriveWorks Pro 15: Test Mode [send feedback...]

Test Mode

Test Mode allows project rules to be analyzed within a specification.

To enter Test Mode begin a new specification and click the Test Mode button on the command bar.

Once in Test Mode Test each DriveWorks task that can be analysed is available from the tab strip under the command bar.

DriveWorks Tasks that can be analysed are:

  • Form
  • Navigation
  • Constants
  • Variables
  • Documents
  • Tables
  • Calculation Tables
  • Model Rules

Form

  1. Click the Form tab.
  2. Select any control on the form.
  3. Double click any property which contains a rule.
Values cannot be entered in the controls when in Test Mode.

The builder contains two tools to analyze rules.

  1. The Values and Step shows each step of the calculations and the value returned from those steps
  2. The Rule Drill Down shows an in depth analysis of the rule showing the returned value of input.

When the user form property Show Task List (See User Form Properties) is set to True, the Task List will be displayed during Test Mode. Any active Form Messages will be displayed.

Navigation

The Navigation tab shows the current form navigation.

Constants

  1. Click the Constants tab.
  2. Double click the value of a Constant to edit.

Variables

  1. Click the Variable tab.
  2. Select a Variable from either the category tree or the variable list and click the Analyze button.

The builder contains two tools to analyze rules.

  1. The Values and Step shows each step of the calculations and the value returned from those steps
  2. The Rule Drill Down shows an in depth analysis of the rule showing the returned value of input.

Documents

  1. Click the Documents tab.
  2. Select a Document from the list.
  3. Select a tagged element from the document information list and click the Analyze button.

The builder contains three tools to analyze rules.

  1. The Values and Step shows each step of the calculations and the value returned from those steps
  2. The Rule Drill Down shows an in depth analysis of the rule showing the returned value of input.
  3. The Preview which creates a HTML preview of the document.

Tables

Only Rollup Data Tables provide testing functionality.

  1. Click the Tables tab.
  2. Select a Rollup Data Table from the list.
  3. Select a cell from the table and click Analyse.

Calculation Tables

  1. Click the Calculation Tables tab.
  2. Select a Calculation Table from the list.
  3. View the data in the table.

Model Rules

  1. Click the Model Rules tab.
  2. Select a Model from the list.
  3. Select a rule and click the Analyze button.

The builder contains two tools to analyze rules.

  1. The Values and Step shows each step of the calculations and the value returned from those steps
  2. The Rule Drill Down shows an in depth analysis of the rule showing the returned value of input.
Next to each model that has been captured it will say either New if a new clone has been created, Existing if the part already exists or Deleted if the part has been Deleted.
Any models that have been replaced using the (<Replace>........) function will show as Existing

Generating Models

Any model where the file name rule equates to a new file to be created can be generated directly from test mode.

This will create a temporary file in a temporary location, the final file name and location will not be applied until the specification enters a state, in the specification flow, that triggers the full model generation.

  1. Locate the model to be generated in the tree view of the Model Rules tab in Specification Test Mode
  2. Right click on the file and select either:

Table of Contents