Table Definition
Note - These testing guidelines assume the user is skilled in the use of, at a minimum, the following:
- Form Definition (CWS)
- Table Definition (CWS)
Scenario 1: Modeled Form - Validate results after submitting form and table definition changes
Specific Setup:
- Have a modeled "Table" [TestTable] included in form [TestForm], that contains the following fields:
- [FieldA]
- Set in "Table Definition", with prompt "Always Required" set to "No"
- Set in "Form Definition", with prompt "Object Width" prompt set to "Half Screen"
- [FieldB]
- Set in "Table Definition", with prompt "Always Required" set to "No"
- Set in "Form Definition", with prompt "Object Width" prompt set to "Full Screen"
- [FieldC]
- Set in "Table Definition", with prompt "Always Required" set to "No"
- Set in "Form Definition", with prompt "Object Width" prompt set to "Full Screen"
- A "Draft/Final field"
- A "Workflow Controlling Notification" field. (Note: workflow notification fields are created in form "Notification Type Definition" and then become available as a column in "Table Definition")
- Any other desired fields
Steps
- Open form [TestForm]
- Validate [FieldA] is display in "Half Screen" width and is not a required field, as per the setup
- Validate [FieldB] and [FieldC] are displayed in "Full Screen" width and are not required fields, as per the setup
- Validate all other fields display as expected
- Close the form
- Open form "Table Definition"
- Select table [TestTable]
- Select [FieldB]
- Set prompt "Always Required" to "Yes"
- Submit the form
- Open form [TestForm]
- Validate [FieldA] is still displayed in "Half Screen" width and is not a required field
- Validate [FieldB] is still displayed in "Full Screen" width and is now displayed as a required field, as expected
- Validate [FieldC] is still displayed in "Full Screen" width and is not a required field
- Validate all other fields display as expected
- Close the form
- Open form "Form Definition"
- Select form [TestForm]
- Select [FieldB]
- Set prompt "Object Width" prompt set to "Half Screen"
- Submit the form
- Open form [TestForm]
- Validate [FieldA] is still displayed in "Half Screen" width and is not a required field
- Validate [FieldB] is now displayed in "Half Screen" width and is still displayed as required, as expected
- Validate [FieldC] is still displayed in "Full Screen" width and is not a required field
- Validate all other fields display as expected
- Close the form
- Open form "Table Definition"
- Select table [TestTable]
- Click [Add New Item]
- Select a "Column" type
- Populate the "Column Name" with the new field [FieldD]
- Populate any other required fields
- Submit the form
- Open form "Form Definition"
- Select form [TestForm]
- Select [FieldB]
- Click to the "Object Def" section
- Click [Add New Item]
- Select [FieldD]
- Submit the form
- Open form [TestForm]
- Validate [FieldA] is still displayed in "Half Screen" width and is not a required field
- Validate [FieldB] is now displayed in "Half Screen" width and is still displayed as required, as expected
- Validate [FieldC] is still displayed in "Full Screen" width and is not a required field
- Validate [FieldD] is displayed on the form
- Populate the field
- Populate all the fields on the form
- Submit the form
- Validate the form files successfully
|
Topics
• Modeling
|