Dictionary Field Values
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- App Dashboard
- app-sidebar
- Dynamic Form - NX OK
- Dynamic Forms - Form Designer - Layout
- Form Designer (CWS)
- Form Designer Properties
- TestForm with "Single and Multiple" select dictionary fields
- Yes No
Scenario 1: AvatarNX<>Clinician: Validate the display of dictionary field values changed via "Form Designer"
Specific Setup:
- Have a form [TestForm] that contains:
- [FieldA] - a "Single" or "Multiple" select 'Locked' dictionary field with two or more dictionary values defined
- For this test dictionary values: [ValueA], [ValueB], [ValueC], [ValueD], are defined for [FieldA], which is a "Multiple" select field.(Note: a dictionary field is set as a "Locked" dictionary with prompt "Lock Dictionary Values" set to "Yes")
- [FieldB] - a "Single" or "Multiple" select 'Un-Locked' dictionary field.
- For this test, [Avalue], [Cvalue], [Dvalue], [Zvalue], are defined for [FieldB], which is a single-select dictionary. (Note: a dictionary field is set as an "Unlocked" dictionary, with prompt "Lock Dictionary Values" set to "No" in "Table Definition". Unlocked dictionary values always display alphabetically in a dropdown list)
- Have access to "Form Designer" via AvatarNX to make changes to [TestForm]
Steps
- Open "Form Designer"
- Select [TestForm] for edit
- Select the section containing the testing fields and click [Show Tab]
- Navigate to and click on [FieldA] in the form layout
- Validate all the field values defined in the set up are present:
- [ValueA], [ValueB], [ValueC], [ValueD],
- On the left side panel in the "Technical Details" section
- Validate all the field values defined for [FieldA]: are listed in the "Option" column
- Locate [ValueC] in the column
- In the "Show/Hide" column, click the "Both" checkbox, to deselect it
- Validate [ValueD] is removed for display from [FieldA], on the form layout, as expected
- Locate [ValueC] in the "Option" column
- Click and drag [ValueC] above [ValueA] in the column
- Validate [ValueC] is now displayed above [ValueA] in [FieldA] on the form layout, as expected
- Click the "Radio/Checkbox Layout" field
- Select "Horizontal" if the values in [FieldA] are currently displayed vertically or select "Vertical" if the values in [FieldA] are currently displayed horizontally. (For this the values were display vertically)
- Validate the field values for [FieldA] on the form layout are displayed as expected
- Navigate to and click on [FieldB] in the form layout
- On the left side panel in the "General" section
- Uncheck the "Visible" setting
- Validate [FieldB] is removed from the form layout
- Click [Save] to save all changes
- Click [Submit] to submit the changes
- Open form [TestForm]
- Validate [FieldA] displays values
- [ValueC], [ValueA] and [ValueB], in that order
- Validate the values are displayed horizontally
- Validate [ValueD] is not displayed, as expected
- Validate [FieldB] is not present on the form, as expected
- Close the form
- Re-open "Form Designer"
- Select [TestForm] for edit
- Select the section containing the testing fields and click [Show Tab]
- On the left side panel in the "Technical Details" section
- Locate [ValueC] in the column
- In the "Show/Hide" column, click the "Both" checkbox, to select it
- Validate [ValueD] is displayed again in [FieldA], on the form layout, as expected
- Locate [ValueC] in the "Option" column
- Click and drag [ValueC] below [ValueB] in the column
- Validate [ValueC] is now displayed after [ValueB] in [FieldA] on the form layout, as expected
- Click the "Radio/Checkbox Layout" field
- Select "Horizontal" if the values in [FieldA] are currently displayed vertically or select "Vertical" if the values in [FieldA] are currently displayed horizontally. (For this test, the values are currently displayed horizontally)
- Validate the field values for [FieldA] on the form layout are displayed as expected
- In the upper right corner, click the "Hidden Elements" dropdown list
- select [FieldB]
- Validate [FieldB] is returned to form layout
- Click [Save] to save all changes
- Click [Submit] to submit the changes
- Re-open form [TestForm]
- Validate [FieldA] displays values
- [ValueA], [ValueB], [ValueC] and [ValueD] are displayed and in that order
- Validate the values are displayed vertically
- Validate [FieldB] is returned to the form
- Validate the fields stated in the setup, are all displayed and are in alphabetical order
- For this test: [Avalue], [Cvalue], [Dvalue], [Zvalue] are displayed alphabetically, as expected
- Close the form
|
Topics
• Forms Designer
|