(DV-2111) MS Document Template

The new concept of MS Document Templates allows you to define your own document layout. The template is a simple .docx file that contains some Test Plan-specific placeholders. Placeholders are replaced with real values in the process of generation of Test Plan Documentation.

Templates are stored in Validate Document Repository accessible in Test Management settings

Default templates delivered in Validate transport are:

  1. Test Plan Default Template [ID: DVD_VAL_DOCX_TP_DEFAULT_TEMPLATE] - contains all Test Plan-specific information like in the old template (with the fixed layout).

  2. Test Plan w/o details Template [ID: DVD_VAL_DOCX_TP_WO_DETAILS_TEMPLATE] - contains all Test Plan-specific information without variant details.

The default template can be downloaded to the local PC, modified, and uploaded back under a new ID to the Validate Document Repository.

To create or change the template you have to toggle the developer toolbar in Microsoft Word (File -> Options -> Customize ribbon)

Go to the Developer tab and turn on Design Mode.

Create your own text layout of Test Plan documentation with the desired formatting. Write placeholders to the places which will be later replaced with real values by the generator.

Select placeholder text which should be replaced by the real value from the Test Plan documentation generator.

Make a tag and set properties.

Enter tag name. The tag name started with f_* refer to a real field in a data structure of the test plan.

Repeat it for all placeholders.

For repeated rows or text fragment(s) – select row or text fragment(s), make repeated control.

To enter properties of repeated control place the cursor at the beginning or end control.

Tag repeated part. The tag name of repeated part started with t_* refer to the real internal table name in a data structure of the test plan.

Tag all placeholders in the document.

Upload saved template to Validate Template Repository.

Tag names have to refer to the real hierarchy of fields and tables in a data structure of the test plan.

Following data structure is available:

<TEST_PLAN_DATA>

<f_gen_system> 

<f_gen_date>

<f_gen_user> 

<f_tech_name> 

<f_description>

<t_history>

<f_status>

<f_description>

<f_status_date>

<f_set_by>

<t_test_case>

<f_tech_name>

<f_description>

<f_test_type>

<f_status>

<f_status_date>

<f_set_by>

<t_history>

<f_status>

<f_description>

<f_status_date>

<f_set_by>

<t_variant>

<f_variant_id>

<f_result>

<f_rfc_destination>

<f_description>

<f_after_image_variant_id>

<f_before_image_status>

<f_after_image_status>

<f_compare_task_status>

<f_compare_result_status>

<t_detail>

<f_name>

<f_value>

<t_directory>

<f_description>

<f_name type>

<f_untested>

<f_in_process> 

<f_failed>

<f_successful>