Below are the List of all top level test cases for Testing a Health Care Domain Application. For each test case there has to be unique and independent automation test case.
Will publish the Automation test case for the same shortly.
URL: https://demo.openmrs.org/openmrs/login.htm
User name/Password: admin / Admin123
Test Case 1/New Auto Test: Check Register a Patient Feature
- Open URL and Login and validate Login is Successful
- Click on Register a Patient
- Enter all the relevant patient details.
- Confirm the Details and capture Patient ID.
- Click on Show Contact info and validate the patient details u entered in earlier step.
- Go back to Home page and Click on Find Patient Record
- Search By Patient ID.
- validate Details are Displayed. Check name, id, age and date of birth
- Search By Patient Name.
- validate details are correctly displayed. Check name, id, age and date of birth
Test Case 2/New Auto Test: Negative-Check patient id is not displayed in active visit when visit not started
- Open URL and Login and validate Login is Successful
- Click on Register a Patient
- Enter all the relevant patient details.
- Confirm the Details and capture Patient ID.
- Do not Start Visit
- Go back to Home page and Click on Active Visits
- Search By Patient ID.
- validate Patient is not displayed
Test Case 3/New Auto Test: Check Active Visit Patient Feature
- Open URL and Login and validate Login is Successful
- Click on Register a Patient
- Enter all the relevant patient details.
- Confirm the Details and capture Patient ID
- Click on Start Visit
- Validate the Visit has been started by checking various fields and elements.
- Go back to Home page and Click on Active Visits
- Patient Details should be displayed in Active Visits Table
Test Case 4/New Auto Test: Add vitals from Home page, validate BMI is correctly calculated
- Data Pre-requisite Steps:
- Add Patient and Start Visit based on the Steps above.
- Capture Patient ID
- Go To Home page
- Click on capture Vitals Tab
- Add Patient Vitals with the Data.
- validate BMI is correctly calculated based on Height and Weight Details entered.
- After filling all the details, click Confirm and Save.
- Validation of Capture Vitals:
- Go to Home Page
- Click on Active Visits and Click on the Patient Name
- Under Vitals Section all the Details should match with the Details entered in previous Steps
Test Case 5/New Auto Test: Add vitals from Patient View
- Data Pre-requisite Steps:
- Add Patient and Start Visit based on the Steps above.
- Capture Patient ID
- In the Right Side Panel, click on the Capture Vitals Link
- Add Patient Vitals with the Data.
- validate BMI is correctly calculated based on Height and Weight Details entered.
- After filling all the details, click Confirm and Save.
- Validation of Capture Vitals:
- Under Vitals Section all the Details should match with the Details entered in previous Steps
Test Case 6/New Auto Test: Add Visit note for active patient and End Visit
- Data Pre-requisite Steps:
- Add Patient and Start Visit based on the Steps above.
- Capture Patient ID
- In the Right Side Panel, click on the Add Visit Note
- Visit Note Form will be opened.
- Add details including Confirmed Diagnosis as Eczima.
- Click Save
- Validation of Diagnosis
- Under Diagnosis Section, Disease name should be displayed.
- Click on End Visit
- Patient Should not be displayed in Active Visit Section
- Patient Should be Displayed in Find Patient
Test Case 7/New Auto Test: Add Allergies
- Data Pre-requisite Steps:
- Add Patient and Start Visit based on the Steps above.
- Capture Patient ID
- In the Right Side Panel, click on the Add Allergies
- Add at least two allergies with the allergy name and effects and save the allergies.
- Validation of Allergies
- Under Allergies Section, all the allergies should be displayed.