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]
- 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]
- 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]
- 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
|
'State Form Parameters 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
- State Form File Generation - File Dump Report
- State Form Parameter Definition
Scenario 1: 'State Form Parameters Definition" form - Functionality and validations
Specific Setup:
- In form "Update Client Data", have one or more clients on the system that have any "Date", "Single-Select" field and "Multi-Select" field populated. For this test the following fields will be used:
- "Martial Status", single-select field
- "Date of Birth", date field
- "Other Languages", multi-select field
- Have a state form definition file [StateFile] set up in form "State Form Definition", that extracts "PATID", "Name", "Marital Status", "Date of Birth" and "Other Languages" from the "SYSTEM.patient_current_demographics" table
- In form "State Form Definition", edit file [StateFile]
- Navigate to the "Define Record Table" section of the definition and
- Select the row defined containing the "SYSTEM.patient_current_demographics" table
- Navigate to the "Additional SQL Conditions" column and populate the field with the following SQL parameter "p.marital_status_code={?Param1}"
- Submit the form
Steps
- Open form "State Form Parameter Definition"
- Select [StateFile] in the "State Form Definition" field
- Select "Add New" in the "Select Parameter" field
- Set the "Parameter Description" field to a desired name for the single-select field. For this example, "Marital Status"
- Validate the "Parameter Number" field contains "1"
- Validate the "Parameter Reference" field contains "{?Param1}"
- Select "Single Select Dictionary" in the "Parameter Type" field
- Select "Yes" in the "Required" field
- In the "Entity Database" field, select "Client"
- Search and select "(10) Marital Status" from the "Dictionary" field
- Select "Active" in the "Status" field
- Click the [File] button
- Validate the form submits successfully
- Open form "State Form File Generation" and select [StateFile] in the "State Form" field
- Click the "Compile" radio button in the "File Generation Options" field
- Set the "File Description" field to the desired name. For example, "Married Clients File"
- Click the Process button
- The user is prompted with a "Select Values - Dialog"
- Validate the "Martial Status" dictionary selection list is displayed
- Select the desired marital status and click [OK]
- Click [OK] at the "Compile Complete" message
- In the "File Generation Options" field, select the "Dump File" radio button
- Click [Process]
- Validate the "Data Dump File - Report" contains only clients with a "Martial Status" field equal to the value selected in the previous step
- Close the report
- Open form "State Form Definition", edit the state form file [StateFile]
- Navigate to the "Define Record Table" section of the definition and
- Select the row defined containing the "SYSTEM.patient_current_demographics" table
- Navigate to the "Additional SQL Conditions" column and replace the previous SQL parameter with one for the "Date" field. For this test enter "p.other_lang_code={?Param2}"
- Open form "State Form Parameter Definition"
- Select [StateFile] in the "State Form Definition" field
- Select "Marital Status" in the "Select Parameter" field, entered in step 1
- Click [Delete] to removed it
- Click the "Select Parameter" field and select "Add New"
- Validate the "Parameter Number" field contains "1"
- Validate the "Parameter Reference" field contains "{?Param1}"
- Set the "Parameter Description" field to a desired name for the multi-select field. For this example, "Other Languages"
- Select "Multi-Select Dictionary" in the "Parameter Type" field
- Select "Yes" in the "Required" field
- In the "Entity Database" field, select "Client"
- Search and select the multi-select field, for this test,"(149) Primary Language" is selected
- Select "Active" in the "Status" field
- Click the [File] button
- Validate the form submits successfully
- Open form "State Form File Generation" and select [StateFile] in the "State Form" field
- Click the "Compile" radio button in the "File Generation Options" field
- Set the "File Description" field to the desired name. For example, "Other Languages File"
- Click the [Process] button
- The user is prompted with a "Select Values - Dialog"
- Validate the "Other Languages" dictionary selection list is displayed
- Select the desired values and click the [OK] button
- Click [OK] at the "Compile Complete" message
- In the "File Generation Options" field, select the "Dump File" radio button
- Click [Process]
- Validate the "Data Dump File - Report" contains only clients that have the "Other Languages" field populated with the value(s) selected in the previous step
- Close the report
- Open form "State Form Definition", edit the state form file [StateFile]
- Navigate to the "Define Record Table" section of the definition and
- Select the row defined containing the "SYSTEM.patient_current_demographics" table
- Navigate to the "Additional SQL Conditions" column and replace the previous SQL parameter with one for the "Date" field. For this test enter "p.date_of_birth={?Param1}"
- Submit the form
- Open form "State Form Parameter Definition"
- Select [StateFile] in the "State Form Definition" field
- Select "Other Languages" in the "Select Parameter" field, entered in step 1
- Click [Delete] to removed it
- Click the "Select Parameter" field and select "Add New"
- Validate the "Parameter Number" field contains "1"
- Validate the "Parameter Reference" field contains "{?Param1}"
- Set the "Parameter Description" field to a desired name for the multi-select field. For this example, "Date of Birth"
- Select "Date" in the "Parameter Type" field
- Select "Yes" in the "Required" field
- Select "Active" in the "Status" field
- Click the [File] button
- Validate the form submits successfully
- Open form "State Form File Generation" and select [StateFile] in the "State Form" field
- Click the "Compile" radio button in the "File Generation Options" field
- Set the "File Description" field to the desired name. For example, "Date of Birth File"
- Click the [Process] button
- The user is prompted with a "Select Values - Dialog"
- Validate the "Date of Birth" input field is displayed
- Enter the desired date and click [OK]
- Click [OK] at the "Compile Complete" message
- In the "File Generation Options" field, select the "Dump File" radio button
- Click [Process]
- Validate the "Data Dump File - Report" contains only clients that contain a date of birth equal to value populated in the previous step
- Close the report
|
Topics
• NX
• State Forms
|
'State Form Definition Versioning' form
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- State Form Definition
- Enter a description of any changes made- Dialog
- State Form Definition Versioning
Scenario 1: State Form Definition - Import/Export
Specific Setup:
- Have a state form definition file created in form "State Form Definition". [SFDefFile]
Steps
- Open form "State Form Definition"
- Click section "State Form Definition File Import/Export"
- Select [SFDefFile] from the "Select State Form For Export" field
- Click [Export State Form]
- Click [Save] to save the file [SFileExp] to a folder
- Close the form
- Open form "State Form Definition"
- Select [SFDefFile] for edit
- Navigate to any field on the form and note its current value. For example the "File Type" field
- Enter or select a new value in the field
- Submit the form
- Open form "State Form Definition"
- Select [SFDefFile] for edit
- Validate the change made to the field in step 2 is present as expected
- Close the form
- Open form "State Form Definition"
- Click section "State Form Definition File Import/Export"
- Click [Select File for Import]
- Navigate to the location of the export file [SFileExp]
- Select the file
- Click [Open]
- Click [Process Import]
- Validate message "Import Complete" is displayed
- Close the form
- Open form "State Form Definition"
- Select [SFDefFile] for edit
- Validate the change made to the field in step 2, has returned to its original value
- Close the form
Scenario 2: "State Form Definition Versioning" form - Functionality and validations
Specific Setup:
- A state form file definition file exists, created in form "State Form Definition" [StateFormFile]
Steps
- Open form "State Form Definition Versioning"
- Select [StateFormFile] from the "State Form Definition" field
- Click "Create New Version" in the "Action" field
- Validate the "Version Number" field is set to "1"
- Click "Create New Subversion"
- Validate a message stating a subversion cannot be created until the initial version is created is displayed
- Click [OK]
- Click "Create New Version"
- Populate the "Version Description" field
- Submit the form
- Return to form "State Form Definition Versioning"
- Select [StateFormFile] from the "State Form Definition" field
- Click "Create New Subversion"
- Validate a message is displayed stating that the current version must be finalized before a subversion can be created
- Click [OK]
- Click "Finalize Version
- Validate a message is displayed stating that once this form is submitted, the definition cannot be modified until a new version is created.
- Click [OK]
- Click [Submit]
- Return to form "State Form Definition Versioning"
- Select [StateFormFile] from the "State Form Definition" field
- Click "Create New Subversion" in the "Action" field
- Validate the "Version Number" field contains "1.01"
- Populate the "Version Description" text field
- Submit the form
- Open form "State Form Definition"
- Select [StateFormFile] from the "State Form Definition" field
- Validate the "Version Number" field contains "1.01"
- Change any field value on the form. For this example the "File Type" was changed from "Delimited" to "XML"
- Click the [File Form] button
- In the "Enter a description of any changes made" dialog, enter a description of the change
- Click the OK button
- Close the form
- Open form "State Form Definition Versioning"
- Select [StateFormFile] from the "State Form Definition" field
- Validate the "Version Number" field has a value of "1.01"
- Validate the "Change Log" text box contains: "Version 1.01", the description of the change, the time/date of the change and name of the user who filed the change
- Click "Restore Version" in the "Action" field
- Select "1" from the "Select Version" field
- Submit the form
- Open form "State Form Definition"
- Select [StateFormFile] from the "State Form Definition" field
- Validate the "Version Number" field has a value of "1"
- Validate the field value change made in step 4, has been reverted back to its original value. (For this test, the "File Type" field value has been reverted back to its original value of "Delimited")
- Close the form
- Open form "State Form Definition Versioning"
- Select [StateFormFile] from the State Form Definition field
- Click "Restore Version" in the "Action" field
- Select "1.01" from the "Select Version" field
- Submit the form
- Open form "State Form Definition"
- Select [StateFormFile] from the "State Form Definition" field
- Validate a warning is displayed "Definition is currently final, editing is not permitted unless a new version is created in the 'State Form Definition Versioning' form.
- Validate the [File Form] and the [Delete Form] buttons are disabled
- Validate the field value change made in step 4 has returned. (For this test, the "File Type" field value has returned to changed value of "XML" made in step 4)
- Close the form
- Open form "State Form Definition Versioning"
- Select [StateFormFile] from the State Form Definition field
- Validate the "Version Number" field is populated with "1"
- Click "Delete Version" in the "Action" field
- Submit the form
- Click "Yes" to return to the form
- Select [StateFormFile] from the State Form Definition field
- Validate the "Version Number" field is populated with "1.01"
- Click "Restore Version" in the "Action" field
- Validate message "No additional versions found for selected definition" is displayed
- Click [OK]
- Close the form
|
Topics
• NX
• State Forms
|