...
An effective test matrix has been thoroughly designed to capture the overall results of all tests. This matrix covers the essential attributes and elements that require testingneed be tested, along with their corresponding expected results. In addition, it provides a space to enter the actual test results and conveniently mark them as pass or fail.
View file | ||
---|---|---|
|
...
Table of contents:
Table of Contents | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Expected results: This program rule enables you to hide or show a designated question or section based on a condition of your choice. Once the specified condition is met, the question or section will be promptly and accurately displayed.
...
Option set
Pre-conditions:
1 | Log in to the selected server using a user account that has the necessary permissions to create option set |
---|---|
2 | Tracker and event programs created successfully |
Create a option set, to create a option set proceed as follows:
Maintenance/Other/Option set
Click on the
plus
button.Enter the name and options.
...
4. Log in to the Android Fork and verify the option set.
...
Expected results: When you click on the question that has been assigned an option set, the corresponding options should be displayed.
...
Legends
Pre-conditions:
1 | Log in to the selected server using a user account that has the necessary permissions to create legends |
---|---|
2 | Tracker and event programs created successfully |
Create a legend, to create a legend proceed as follows:
Maintenance/Other/Legend
Click on the
plus
button.Enter the name, values and color.
...
4. Log in to the Android Fork and verify the legend.
...
Expected results: The legend should dynamically appear based on the selected option in the question. It should be displayed next to the question, showcasing both the selected text and its corresponding color.
...
Saving data without internet connectivity
Pre-conditions:
1 | Tracker and event programs created successfully |
---|---|
2 | Login to the application correctly |
3 | Deactivate the Internet connection |
Select a program.
Fill in the fields.
Save the program.
...
4. The application should display a “Cycle” icon in the data set saved.
...
Expected results: The form should be saved on the device, but the device is not connected to the Internet, so the data is not sent to DHIS2, therefore the application should display a gray "cycle" icon.
...
Send the data stored to DHIS2
Pre-conditions:
1 | Login to the Android Fork and open the program |
2 | Have data stored on the device |
Tap on the "Cycle" icon in the upper right corner.
Tap on the
Send
button.
...
Expected results: A message should appear indicating that all data have been sent to DHIS2.
...
Verify the data sent to DHIS2
Pre-conditions:
1 | Login to the Android Fork and open the program |
2 | Send data to DHIS2 |
Log in to the server where the data was sent to.
Open Tracker capture to tracker program and capture to event program.
Look for data sent from the application and compare the data.
...
Expected results: The data displayed on the server must match the data displayed in the application.
...
Testing data sets
Data entry in DHIS2 is effectively organized using data sets. A data set serves as a collection of data elements grouped together for streamlined data collection. In distributed installations, data sets also define portions of data for seamless export and import between different instances of DHIS2. For example, data can be transferred from a local installation at a district office to a national server. Data sets are not directly linked to the data values themselves, but rather through their associated data elements and frequencies. As a result, modifications, deletions, or additions to a data set can be made at any time without impacting the raw data already captured in the system. However, it is important to note that such changes will naturally affect the process of collecting new data.
...
Expected results: The form should be saved on the device, but the device is not connected to the Internet, so the dataset is not sent to DHIS2, therefore the application should display a gray "cycle" icon.
...
Send the data stored to DHIS2
1 | Log in to the selected server using a user account that has the necessary permissions to create a data set |
---|---|
2 | Create a data set successfully |
3 | Create validation rules successfully |
4 | Login to the Android Fork and open the data set |
5 | Have data stored on the device |
...
Expected results: A message should appear indicating that all data have been sent to DHIS2.
...
Verify the data sent to DHIS2
1 | Log in to the selected server using a user account that has the necessary permissions to create a data set |
---|---|
2 | Create a data set successfully |
3 | Create validation rules successfully |
4 | Login to the Android Fork and open the data set |
5 | Data sent to DHIS2 correctly |
...