State Form Definition - Form
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: State Form Definition - file "Definition Options" validations
Specific Setup:
- Have a definition file created [TestDef], in form "State Form Definition" for any table on the system. For this test a definition is created using the "Admission" table, that will select and display "PATID" and "Episode" for each client admission on the system
Steps
- Open form "State Form File Generation"
- Select definition file [TestDef]
- In the "File Generations Options" field,
- Click "Compile"
- Set prompt 'Generate Flag On Compile' to "Yes"
- Click [Process]
- Validate "Compile Complete" is displayed
- Click "Create File On Server"
- Click [Process]
- Validate a file is created and view the file
- Validate data as expected for each client admitted on the system, as expected
- In the "File Generations Options" field,
- Click "Compile" again
- Validate a message containing no records are found is displayed, since all records were previously flagged and no changes were made to any records since the last compile
- Open the 'Admission' form for any client [TestClient]
- Select an episode and change any of the data in the form and then submit the form
- Return to the "State Form File Generation"
- In the "File Generations Options" field,
- Click "Compile"
- Set prompt 'Generate Flag On Compile' to "Yes"
- Click [Process]
- Click "Create File On Server"
- Click [Process]
- Validate a file is created and view the file
- Validate data for just [TestClient] is present, as expected
- Open the 'State Form Definition' form
- Select definition file [TestDef]
- Select 'Single Submission Flagging' in the 'Definition Options' field
- File the definition
- Open the 'Admission' form for any client [TestClient]
- Select an episode and change any of the data in the form and then submit the form
- Return to the "State Form File Generation"
- In the "File Generations Options" field,
- Click "Compile"
- Set prompt 'Generate Flag On Compile' to "Yes"
- Click [Process]
- Click "Create File On Server"
- Click [Process]
- Validate no records are present even though the data was modified, since prompt "Single Submission Flagging" was selected in step 5
|
Topics
• State Forms
|
State Form Tools - Import/Export
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- State Form Field Translation
Scenario 1: State Form Field Translation Form - field entry and validation
Specific Setup:
- Have a state form file created in form "State Form Definition" [FileA]
Steps
- Open form "State Form Field Translation"
- Select the state form [FileA] from the "State Form" field drop-down list.
- In the "Record" field, select a record.
- In the "Table" field, select the desired table.
- In the "Table Property" field, select the desired table property.
- In the "Action field", select "Single Translation"
- In the "Dictionary Code" field, enter a dictionary code [Code1]
- In the "State Forms Dictionary Code" field, enter a desired state form dictionary code [StateCode1]
- Click [Submit] to record the changes.
- Click [Yes] to return to the form
- In the "Dictionary Code" field, enter another dictionary code [Code2]
- In the "State Forms Dictionary Code" field, enter another desired state form dictionary code [StateCode2]
- Click [Submit] to record the changes.
- Click [Yes] to return to the form
- In the "Dictionary Code" field, enter another dictionary code [Code3]
- In the "State Forms Dictionary Code" field, enter another desired state form dictionary code [StateCode3]
- Click [Submit] to record the changes.
- Click [No] not to return to the form
- Open form "State Form Field Translation"
- Click the [Print Translations] button
- Validate the "File Name Override Field Translations" report contains the three codes filed in the previous steps
- Repeat step 2, selecting the same values
- In the "Dictionary Code" field, enter dictionary code [Code1] entered in step 4
- Validate the "State Forms Dictionary Code" field, contains the expected value [StateCode1]
- In the "Dictionary Code" field, enter dictionary code [Code2] entered in step 6
- Validate the "State Forms Dictionary Code" field, contains the expected value [StateCode2]
- In the "Dictionary Code" field, enter dictionary code [Code3] entered in step 8
- Validate the "State Forms Dictionary Code" field, contains the expected value [StateCode3]
- Navigate back to the "Action" field
- Select "Export Translations to CSV"
- Click the [Select CSV File] button
- Validate a file is location and save the file
- Navigate to location of the file and open it
- Validate all three translations entered in the previous steps, are present in the file as expected
- Closet the report
- Click the [Select Translations to Delete] button
- Validate all three translations are preset
- Click the check box for each item
- Click [OK] and [Yes] to continue
- Click [Submit]
- Click [Yes] to return to the form
- Repeat step 2, selecting the same values
- In the "Dictionary Code" field, enter dictionary code [Code1] entered in step 4
- Validate the "State Forms Dictionary Code" field is blank, as expected
- In the "Dictionary Code" field, enter dictionary code [Code2] entered in step 6
- Validate the "State Forms Dictionary Code" field is blank, as expected
- In the "Dictionary Code" field, enter dictionary code [Code3] entered in step 8
- Validate the "State Forms Dictionary Code" field is blank, as expected
- Navigate back to the "Action" field
- Select "Import Translations to CSV"
- Click the [Select CSV File] button
- Navigate to the location of file exported in step 14
- Select the file
- Validate a "Confirm" dialog is displayed, stating that 3 translations were processed and to submit the report to finalize the import
- Submit the form
- Return to the form
- Repeat step 2
- In the "Dictionary Code" field, enter dictionary code [Code1] entered in step 4
- Validate the "State Forms Dictionary Code" field, contains the expected value [StateCode1]
- In the "Dictionary Code" field, enter dictionary code [Code2] entered in step 6
- Validate the "State Forms Dictionary Code" field, contains the expected value [StateCode2]
- In the "Dictionary Code" field, enter dictionary code [Code3] entered in step 8
- Validate the "State Forms Dictionary Code" field, contains the expected value [StateCode3]
|
Topics
• State Form Tools
|
State Form Query Logging- form
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- State Form File Generation
- State Form Query Logging
Scenario 1: 'State Form Query Logging' form - Functionality and validations
Specific Setup:
- Have a system with two state form file definitions created in form "State Form Definition" [SFileA] and [SFileB]
- [SFileA] is a definition that contains one record [Rec]
- [SFileB] is a definition that contains two records [Rec] and [Rec2]
- Have a report to display data in the "RADplus_sf_audit_query" table, sorted by the "ID" field and displaying the fields "ID", "Query" and "Rec"
Steps
- Open form "State Form File Generation"
- Select definition [SFileA] in the "State Form" field. (Make a note of the file "ID" number located next to the state form file name)
- Select "Compile" in the "File Generation Options" field
- Populate the "File Description" field
- Click [Process]
- At the "Compile Complete" dialog, click [OK]
- Open form "State Form Query Logging"
- Select definition [SFileA] in the "State Form" field
- Validate the "Record" filed is automatically populated with the record name [Rec]. (Make a note of the record name)
- Validate "Query" field is populated with the expected SQL query based on the table and selection criteria being executed in the record, [Make a note of the query displayed]
- Click the [Refesh] button
- Validate the query field refreshes as expected with with the expected SQL query based on the table and selection criteria being executed in the record,
- Close the form
- Run the report created to query table "RADplus_sf_audit_query" table
- In the "ID" column, locate the row that contains a value starting with the definition "ID" for [SFileA], noted in step 1a
- Validate the "Record" field value matches the value noted in step 2a
- Validate the "Query" field value matches the value noted in step 2a
- Close the report
- Open form "State Form File Generation"
- Select definition [SFileB] in the "State Form" field. (Make a note of the file "ID" number, located next to the state form file name)
- Select "Compile" in the "File Generation Options" field
- Populate the "File Description" field
- Click [Process]
- At the "Compile Complete" dialog, click [OK]
- Open form "State Form Query Logging"
- Select definition [SFileB] in the "State Form" field
- Click the "Record" field
- Validate there are two records for selection, as expected. [Rec] and [Rec2]
- Select [Rec]
- Validate the "Record" field is automatically populated with the record name [Rec]. (Make a note of the record name)
- Validate "Query" field is populated with the expected SQL query based on the table and selection criteria being executed in the record, [Make a note of the query displayed]
- Click the [Refesh] button
- Validate the query field refreshes as expected with with the expected SQL query based on the table and selection criteria being executed in the record,
- Navigate back to the "Record" field
- Select [Rec2]
- Validate the "Record" field is automatically populated with the record name [Rec]. (Make a note of the record name)
- Validate "Query" field is populated with the expected SQL query based on the table and selection criteria being executed in the record, [Make a note of the query displayed]
- Click the [Refesh] button
- Validate the query field refreshes as expected with with the expected SQL query based on the table and selection criteria being executed in the record
- Run the report created to query table "RADplus_sf_audit_query" table
- In the "ID" column, locate the row(s) that contains a value starting with the definition "ID" for [SFileB], noted in step 4a
- Validate a row is found for record name [Rec]
- Validate the "Query" field value for record [Rec] matches the value noted in step 5a
- Validate a row is also found for record name [Rec]
- Validate the "Query" field value for record [Rec2] matches the value noted in step 5a
- Close the report
|
Topics
• NX
• State Form Tools
|