Organizations can enable Test Step tables, which enhance Test Script structures by providing a tabular view for grouped test steps. By defining a reusable test step structure, Test Authors can rapidly generate consistent steps for repetitive verification tasks.
To configure Test Step tables:
- Enable Test Step tables
- Update test step objects
- Configure test step lifecycles and workflows
- Update permission sets
Enabling Test Step Tables
To enable test step tables:
- Navigate to Admin > Settings > Application Settings.
- Click Edit.
- Select the Enable Test Step Table checkbox. This setting is only available when the Enable Copy Enhancements for Activities and Protocols checkbox is selected.
- Click Save.
Updating Test Step Objects
To update test step objects for test step tables:
- On the Test Step object:
- Activate the Execution Step Table and Setup Step Table object types.
- Assign the Executor field to the Execution Step Table and Setup Step Table object types.
- Activate the Numeric Spec Response object type on the Test Step Additional Prompt object.
- Assign the Prompt Field to the following object types on the Validation Test Script Comment object:
- Dry Run Step Comment
- Post-Approval Comment
Configuring Test Step Lifecycles & Workflows
To configure an object workflow for test step tables:
- Navigate to Configuration > Workflows.
- Create a new object workflow:
- Enter a Label.
- In the Lifecycle drop-down, select the Test Step Additional Prompt Lifecycle.
- Select the Allow auto-start from entry action and event action checkbox.
- Add the following Action Step:
- Condition Type: Always
- Perform action: Change State
- Lifecycle State: Locked - Pre-Approval
To update test step lifecycles for test step tables:
- Navigate to Admin > Configuration > Object Lifecycles > VM Test Script Lifecycle (
val_test_script_svo_lifecycle__v). - Under States, click In Pre-Approval.
- Add the Apply Table Structure to Rows entry action.
- Navigate to the In Dry Run state.
- Add the Apply Table Structure to Rows entry action.
- Navigate to Configuration > Object Lifecycles > Test Step Additional Prompt Lifecycle.
- Add an event action as follows:
- Condition Type: Formula evaluates to TRUE
- IF this formula is TRUE:
And(test_step_vr.state_v= "Locked - Pre-Approval", Not(IsBlank(table_column_definition_v))) - Perform actions: Start Workflow
- Start Workflow: Select the workflow you created.
Update Permission Sets
Lastly, you must navigate to Admin > Users & Groups > Permission Sets and edit any applicable permission sets as follows:
- Add Create and Delete permissions on the Execution Step Table and Setup Step Table types of the Test Step object.
- Add Create and Delete permissions on the Numeric Spec Response type of the Test Step Additional Prompt object.
- Click the Validation Test Comment (
val_test_script_comment__v) object. - Add the Edit object field permission for the Prompt Field.
If you do not grant users the specified permissions, Vault cannot load the execution and authoring interfaces.
Test Step Table Limitations
The following limitations apply to Test Step tables:
- Test Step tables can include a maximum of 15 columns and 500 rows.
- You cannot convert normal test steps into table rows. Additionally, existing table rows cannot be moved to different tables.
- Vault rounds the calculated acceptance criteria range limits for each row to a maximum of nine decimal places. For example, if an expected value is 3.123456789 and the acceptance criteria is a 0.125% range, Vault enforces a range of 2.96728395 - 3.279629628 rather than the exact unrounded values of 2.96728394955 - 3.27962962845. Entered values are validated against this nine-digit rounded number to reduce confusion.