Dictionary Values
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- Dictionary Import (PM)
- Dictionary Update (PM)
Scenario 1: Dictionary Import - Data import validations
Specific Setup:
- Have a form [FormA] that contains a "Dictionary" type field [FieldA]
- Have access to form "Dictionary Update"
- Have a "Dictionary Import" file created [FileA] created for [FieldA], that contains dictionary codes configured with the following type characters in their dictionary values:
- [Code1] includes a dictionary value containing a less than sign (<)
- [Code2] includes a dictionary value containing a caret symbol (^)
- [Code3] includes a dictionary value containing an equal sign (=)
- [Code4] includes a dictionary value containing a tilde symbol (~)
- Have a "Dictionary Import" file created [FileB] created for [FieldA], that does not contain, a less than sign, caret symbol, equal sign or tilde symbol in any of the dictionary values to be imported
Steps
- Open form "Dictionary Import"
- Click [Select File]
- Navigate the location of [FileA] and select it
- Click "Scan Import File"
- Validate the scan results indicate
- Error in row 1: Caret(s) found in dictionary value.
- Error in row 2: Equal sign(s) found in dictionary value.
- Error in row 3: Tilde(s) found in dictionary value.
- Error in row 4: Less than sign(s) found in dictionary value. Import file cannot be processed due to critical errors.
- Navigate the location of [FileB] and select it
- Click "Scan Import File"
- Validate the scan results indicate "No errors or warnings found in file."
- Click "Begin Import"
- At the "Dictionary Import Complete" dialog, click [OK]
- Open [FormA]
- Navigate to [FieldA] and click on the field
- Validate the fields imported in [FileB] in step 1, are present in the selection list as expected
- Close the form
Scenario 2: Validate updating dictionary fields via the right-click "Update Dictionary" grid functionality
Specific Setup:
- Have a form [FormA] that includes an "Unlocked" dictionary field [FieldA], that includes existing dictionary values.
Steps
- Open [FormA]
- Right-click on [FieldA]
- Click [Yes] to update the dictionary
- In the grid, click on any dictionary value in the "Dictionary Value" column
- Change the existing value to a value that includes a less than sign (<)
- Validate an error is displayed "Can Not Contain '<'
- Click [OK]
- Change the existing value to a value that does not include a less than sign (<)
- Validate the value is accepted
- Change the existing value in the "Active" column to a new value
- Click on any other row in the grid
- Click [Delete Row]
- Click [Yes] at the "Confirm Delete" dialog
- Validate an error is displayed stating existing dictionary codes cannot be deleted
- Click [OK]
- Click [New Row]
- Validate a new row is inserted at the bottom of the grid
- Populate the "Dictionary Code" field
- Populate the "Dictionary Value" field
- Enter a value that includes a less than sign (<)
- Validate an error is displayed "Can Not Contain '<'
- Click [OK]
- Enter a value that does not include a less than sign (<)
- Validate the value is accepted
- Select a value in the "Active" column to a new value
- Click [Save]
- Click [OK] to exit the grid
- Click [OK]
- Right-click on [FieldA]
- Validate all changes made in step 1 are displayed, as expected
- Close the grid
- On [FormA], click [FieldA]
- Validate the selection list contains the expected values
Scenario 3: Dictionary Update (Form) - Field Validations
Steps
- Open form "Dictionary Update" in any application. For this test "PM" is used
- Click the "File" file filed and select a file, for example "Payor"
- In the "Data Element" field, search for a dictionary field to update. For this example "Financial Class" is used
- In the "Dictionary Code" field, select any existing code
- In the "Dictionary Value" field, insert a less than sign "<" anywhere in the value
- Validate an error is displayed "Can Not Contain '<'"
- Click [OK]
- In the "Dictionary Code" field, enter a new code, for example "999"
- In the "Dictionary Value" field, enter a value that contains a less than sign "<"
- Validate an error is displayed "Can Not Contain '<' "
- Click [OK]
- In the "Dictionary Value" field, enter a value that does not contain a less than sign "<"
- Validate the value is accepted
- If applicable, select an extended dictionary from the "Extended Dictionary Data Element" field
- Select a dictionary value from the "Extended Dictionary Value (Single Dictionary)" field
- Click [Apply Changes]
- At the "Filed" dialog, click [OK]
|
Topics
• Dictionary
• NX
|