Test Data Loader Testing
Version History:
Version# | Date | Modified By | Description of Modification |
---|---|---|---|
1.0 | 10/31/18 | Paul Tambellini | Initial Version |
Overview
The following steps are for testing CONNECT Test Data functionality.Test Data Loader is a tool to add multiple data for testing conditions.
Test Environment Setup:
- Deploy CONNECT ear (mvn clean install -P AD,PD,DQ,DR,DS,X12,admingui) and AdminGUI war
- Successfully execute ConnectValidation suite before running AdminGUI-Test Data Loader test cases
- Browse to http://localhost:8080/CONNECTAdminGUI/
Test Data Loader:
Expand the Test Data menu in the left navigation panel.
Test Scenario | Test Steps | Expected Results |
---|---|---|
Test Data left navigation menu availability |
| Only "Test Patients" and "Test Documents" menu item should appear under "Test Data". Under "Test Data", "Test Patients" tab should be highlighted and "Manage Patients" table with column headers (Patient Id, Last Name, First Name, Birth Date, Gender) and Radio button next to each row. "New" button is enabled and "View/Edit", "Duplicate", "Delete" button disabled. |
Enable Buttons and create new Patient record. |
| Clicking on radio button enables the "View/Edit", "Duplicate", and "Delete" buttons. Clicking on "New" button opens "Create Patient" modal window with an accordian having a "Basic Info" opened and "Additional Names", "Identifiers", "Addresses", "Phone Numbers" disabled. Clicking on "Save" with all blank fields, an alert message pops up with all fields with a star next to them, denoting required field, stating they are a required field. Text boxes should also be highlighted in red. |
Edit patient. |
| "Edit Patient" Modal window pops up. Additional Names accordian displays. Clicking on "Save Additional Name" with all blank fields, error message pops up with all fields with a star next to them, denoting required field, stating they are a required field. Text boxes should also be highlighted in red. Message and highlighted text boxes are removed. |
Duplicate Patient |
| Edit Patient Modal window pops up. New patient record is displayed in table. |
Test "Test Documents" |
| Clicking on radio button enables the "View/Edit", "Duplicate", and "Delete" buttons. Clicking on "New" button opens "Create Document" modal window with an accordion titled "Document Info Required" opened and "Document Info Optional" and "Event Codes" disabled. Clicking on "Save" with all blank fields, error message pops up with all fields with a star next to them, denoting required field, stating they are a required field. Text boxes should also be highlighted in red. |
Edit Document. |
| Edit Document modal window pops up. Document Info Optional accordion does not display error message when clicking "Save" on empty fields. After entering data and clicking "Save", message alert "Save document info successful." is displayed. Leaving Event Code fields empty, error message alert "Code required." is displayed. After entering data and saving, "Save an eventcode successful." message alert is displayed and record is displayed in table. Check in docrepository.eventcode for new records, editing records and deleting. |
Duplicate Document |
| Edit Document Modal window pops up. New document record is displayed in table. |
Delete Document |
| Document is deleted from table and in db, |
Delete patient with Documents |
| Patient ID and documents are removed. |