State Form Definition - file import
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
Scenario 1: "State Form Definition" - Export/Import validations
Specific Setup:
- Have a "State Form Definition" definition created [SFDef] that is an "XML" type definition and contains a sub record
- In form "State Form Definition" select [SFDef] and note the ID number assigned to it in parens. For example: "SFDef (1)"
- Navigate to the "Record Definition" section and note the numerical value assigned in the "Record ID" field. For example: "16"
- Open the "Define Records Data Element" grid and navigate to the "Subrecord" column of the sub record row.
- Note the value populated in the field, which is the sub records "name" and "code" number references. For example: "Sub1 (16!!17)"
- Navigate to the "Import/Export" section of the form and export the state form definition for [SFDefExport]
- Save the file [SFDefExport] in a desired folder location
Steps
- Open form "State Form Definition"
- Go to the "Import" section
- Select "New" in the "Import Type" field
- Click [Select File for Import]
- Navigate to the location of the [SFDefExport] export file, saved in the setup
- Select the file
- In the "Import File Scan Results"
- Validate the results indicate there are no issues with the import file
- Click [Process Import]
- Validate message displayed "Import Complete"
- Click [OK]
- Close the form
- Re-Open form "State Form Definition"
- Select "Existing" in the "New or Existing" field
- Click the "Select State Form" field, to display the definitions for selection in the drop down list
- Validate "SFDef (1)" is present in the list
- Validate "SFDef (2)" the imported state form file is also present in the list. It will contain the same name as the original file exported, but with a new ID number assigned.
- Select "SFDef (2)" for edit
- Navigate to the "Record Definition" section and select the "Main" record
- Validate the value in the "Record ID" field has been assigned a different value than the one noted for "SFDef (1)", in the set up, as expected
- Click the [Define Records Data Element] to enter the data elements grid
- Navigate to the "Subrecord" column of the sub record row
- Validate the sub records "name" and internal "code" number references are populated in the field with:
- The sub record 'name', still the same as original file exported, "Sub1"
- The internal "code" number in parens, but assigned a new number as expected. For example, "(2!!5)"
- Exit the grid and close the form
|
Topics
• State Form Tools
|