Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is important to note that the configurations that will be shown here are of a basic nature. To test the feedback module, a specific guide has been created for this purpose. To access the specific guide, click here.

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 need 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
nameGuidance for Android fork testing.xlsx

...

Table of contents:

Table of Contents
maxLevel6
minLevel1
include
outlinefalse
indent
exclude
typelist
printablefalse
class
Note

PSI Android Fork testing should be conducted on an Android v.6+ device. Do not attempt to conduct this testing via your web browser. We do not recommend testing on Android emulators as some functions may give false negatives during testing.

...

Testing concepts

In the testing field, some concepts and standards are necessary to conduct comprehensive testing. At a minimum, this includes:

...

Note
  • Do not use production server - you don't want to mess the data in production.

Info

Recommendation:

The android app is not optimized for accounts with extensive access to numerous programs and datasets, resulting in prolonged login times when using the DHIS2 Android application. Therefore, it is advisable to avoid assigning an excessive number of programs to a single user, as this may significantly impact performance and efficiency

...

Testing Programs

In DHIS2, you have the ability to define customized programs comprising various stages. These programs play a crucial role in the "tracker" functionality, enabling you to thoroughly track individual records. DHIS2 offers two types of programs that you can create:

  • Tracker program: A program to record a single event without registration.

  • Event program: A program to record single or multiple events with registration.

Verify that the event programs assigned to the user are loaded correctly

Pre-conditions:

1

Log in to the selected server using a user account that has the necessary permissions to create a program

2

Have organization units available for selection in the programs.

  1. Create a data set, to create an event program proceed as follows: Maintenance/Program/Program

  2. Click on the plus button.

  3. Select to add an event program.

  4. Fill in the form with the corresponding items.

  5. Select the Access tab.

  6. In the organization units section, select the organization units that will have access to this program.

...

7. Add the users that will have access to the program in the roles and access section.

8. Select “Can view only” in metadata and “Can capture and view” in Data.

...

9. Log in to the Android Fork using the user that was added in the sharing settings.

...

Expected results: The event programs assigned to the user should load accurately upon logging into Android Fork.

...

Verify that the tracker programs assigned to the user are loaded correctly

Pre-conditions:

1

Log in to the selected server using a user account that has the necessary permissions to create a program

2

Have organization units available for selection in the programs.

  1. Create a data set, to create an event program proceed as follows: Maintenance/Program/Program

  2. Click on the plus button.

  3. Select to add a tracker program.

  4. Fill in the form with the corresponding items.

  5. Select the Access tab.

  6. In the organization units section, select the organization units that will have access to this program.

...

7. Add the users that will have access to the program in the roles and access section.

8. Select “Can view only” in metadata and “Can capture and view” in Data.

...

9. Log in to the Android Fork using the user that was added in the sharing settings.

...

Expected results: The tracker programs assigned to the user should load accurately upon logging into Android Fork.

...

Program rules - Assign competency in assessments

Pre-conditions:

1

Log in to the selected server using a user account that has the necessary permissions to create program rules

2

Tracker and event programs created successfully

  1. Create a program rule, to create program rule proceed as follows: Maintenance/Program/Program rule

  2. Click on the plus button.

  3. Enter program rule expression.

...

4. Define program rule actions.

...

5. Log in to the Android Fork and verify the program rule.

...

Expected results: The program rule should work correctly, in this case the program rule is specifically designed to calculate the competency class, which is automatically determined by considering all correctly answered critical questions and the non-critical questions with a score of 89.9 or higher.

...

Program rules - Hide/Show

Pre-conditions:

1

Log in to the selected server using a user account that has the necessary permissions to create program rules

2

Tracker and event programs created successfully

  1. Create a program rule, to create program rule proceed as follows: Maintenance/Program/Program rule

  2. Click on the plus button.

  3. Enter program rule expression.

...

4. Define program rule action

...

5. Log in to the Android Fork and verify the program rule.

...

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

  1. Create a option set, to create a option set proceed as follows: Maintenance/Other/Option set

  2. Click on the plus button.

  3. 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

  1. Create a legend, to create a legend proceed as follows: Maintenance/Other/Legend

  2. Click on the plus button.

  3. 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

  1. Select a program.

  2. Fill in the fields.

  3. 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

  1. Tap on the "Cycle" icon in the upper right corner.

  2. 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

  1. Log in to the server where the data was sent to.

  2. Open Tracker capture to tracker program and capture to event program.

  3. 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.

...

  1. Create a data set, to create a date access the data set module with the following pathproceed as follows: Maintenance/Data Set/Data Set

  2. Click on the plus button.

  3. Fill in the form with the corresponding items.

  4. In the organization units section, select the organization units that will have access to this dataset and click on the save button.

...

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

...

Expected results: The data displayed on the server must match the data displayed in the application.

...

Testing

...

Analytics

Testing Analytics

...

Analytics

Pre-conditions:

1

The application must have completed assessments

2

Select the analytics section located at the bottom of the home page

Steps:

  1. Check the charts.

  2. Check that it is possible to move from one tab to another.

...

  1. Tap on the three dots in the upper right corner of the chart.

  2. Change the view type of the charts

View as bar

View as line

View as value

View as table

Image Added

Image Added

Image Added

Image Added

Expected results:

The application should allow switching to another tab, and the charts should update correctly, as well as the view types should be available.