State Form File - Output
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- State Form File Generation
- State Form Task Scheduler
- System Task Scheduler
Scenario 1: Validate a state form file generated via the "State Form Task Scheduler" "
Specific Setup:
- Have a state form definition file created in form "State Form Definition" that with the "Record Delimiter" field set to "Carriage Return + Line Feed" [DefinitionA]
Steps
- Open form "State Form Task Scheduler"
- Select "Single Definition" in the "Type" field
- Select the [DefinitionA] from the "Select Batch or Definition" drop down list
- Set the "File Description" field to a desired file name
- Select "Static" in the "Change From Date"
- Set the "Static Date" field to today's date
- Select "Static" in the "Change Through Date"
- Set the "Static Date" field to today's date
- Select "Yes" in the "Create File" field
- Click [Submit]
- At the dialog, "Filed. In order for compiles to be run, the new task must be scheduled using the 'System Task Scheduler' form", click [OK]
- Open the "System Task Scheduler" form
- In the "Schedule(s)" field, select the task created in step for [DefinitionA] in step 1
- Select a desired recurrence type pattern from the "Recurrence Pattern" field. For example "Daily"
- Populate a desired value in the "Task Occurrence Sequence".
- Populate the "Start By" field with today's date
- Populate the "Start Time" field with a time later than the current time
- Click [Schedule Task]
- Close the form
- Wait till the "Start Time" set in step 2 has passed
- Open the "State Form File Generation" form.
- Select [DefinitionA] in the "State Form" field
- Select "Dump File" in the "File Generation Options" field
- In the "Select File" field, select the compiled file for [DefinitionA], generated by the automated task set up in step 2
- Click [Process]
- Validate there is a carriage return and a line feed after each record displayed in the output, as expected displayed, has a carriage return and a line feed after it on the report
|
Topics
• NX
• State Form Task Scheduler
• State Form Tools
|
State Form Definition - XML Header Tags
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- State Form Definition
- State Form File Generation
Scenario 1: 'XML type "State Form Definition" file validations
Specific Setup:
- Have a definition created [DefintionA] in form "State Forms Definition" with a "File Type" set to "XML".
Steps
- Open form "State Form Definition"
- Set field "New or Existing" to "Existing"
- Select [DefinitionA] in the "Select State Form" field
- Navigate to the "Definitions" Options" field at the bottom of the section
- Deselect "Remove XML Declaration", if it is currently selected
- Click [File Form]
- Validate filing completes successfully
- Close the form
- Open form "State Form File Generation"
- Select the [DefinitionA] in field "State Form"
- In the "File Generation Options" field, select "Compile"
- Click [Process]
- Validate the process completes successfully
- In the "File Generation Options" field, select "Dump File"
- Click [Process]
- Validate the output of the state form report includes the "XML declaration" header tag in the first line of the output. For example: "<?XML version="1.0" encoding="UTF-8"?>"
- Close the report and close the form
- Open form "State Form Definition"
- Set field "New or Existing" to "Existing"
- Select [DefinitionA] in the "Select State Form" field
- Navigate to the "Definitions" Options" field at the bottom of the section
- Select the "Remove XML Declaration" check box
- Click [File Form]
- Validate filing completes successfully
- Close the form
- Open form "State Form File Generation"
- Select the [DefinitionA] in field "State Form"
- In the "File Generation Options" field, select "Compile"
- Click [Process]
- Validate the process completes successfully
- In the "File Generation Options" field, select "Dump File"
- Click [Process]
- Validate the output of the state form report no longer includes the "XML declaration" header tag in the output of the report.
- Close the report and close the form
|
Topics
• NX
• State Form Tools
|