• Tidak ada hasil yang ditemukan

IMPLEMENTATION AND TESTING

5.3 Testing Implementation Table : Test case evaluation

Test Case Test Input Expected Output Actual Output Result Action

1. Run App Click on app icon

App will open with welcome screen and then open

1. If not logged in: Log- in screen

2. If logged in: Home screen.

Same as expected.

Pass Tested on 11.3.2018

2. Create New Profile

Enter username, phone,

password, birth date and gender and click on

“Create”

System will validate the data, store them on the database and show success note.

Same as expected.

Pass Tested on 11.3.2018

3. Log in Enter username and password and click on

“Log in”

System will validate the data and then,

1. Correct input: Enter the home screen.

2. Wrong input: Show wrong input note.

Same as expected.

Pass Tested on 11.3.2018

4. Navigate among functionalities from home.

Click on different options to access different features

The home screen will go to background and new screen related to the feature will appear

Same as expected.

Pass Tested on 11.3.2018

5. Change app language

Click on Settings

>Language and select a

language form the language picker dialog.

The language of the app will change and screens will appear with the selected language.

Same as expected.

Pass Tested on 17.3.2018

6. View User Profile

Click on the

“Profile” option from the top navigation bar in the home screen.

User profile will appear if internet is connected or else internet status will appear.

Same as expected.

Pass Tested on 11.3.2018

7. Update User Profile

Click on any Profile option in the profile screen.

Input option will appear for editable option, after entering data the system will validate data, and record and show updated profile.

Same as expected.

Pass Tested on 11.3.2018

Test Case Test Input Expected Output Actual Output Result Action

8. View tips and news

Click on “Tips and News”

view widget from the upper section of the home screen

Currently showing option “Tips” or

“News” will be opened in new window if internet is available.

Same as expected.

Pass Tested on 12.3.2018

9. Nutrition Plan

Click on

“Nutrition Plan”

from the upper middle section in the home screen.

Nutrition Plan screen will appear with daily nutrition requirements, gained nutrition and meal reminders.

Same as expected.

Pass Tested on 14.3.2018

10. Calculate nutrition gain

Click on “Add Meal” button in the Nutrition Plan screen, a list of different food item will appear, select any one.

Gained nutrition values for one portion size (100gm) of the selected food item will be added to the daily nutrition gain and shown in Nutrition Plan screen

Same as expected.

Pass Tested on 14.3.2018

11. Set meal reminders

Switch on the Meal Reminder in the Nutrition Plan screen;

then Click on

“Set Time” for different reminder.

Reminder will appear on the “Meal

Reminder” section in Nutrition Plan screen and reminder will appear in phone notification panel at given time with notification tone and vibration.

Same as expected.

Pass Tested on 14.3.2018

12. Exercise Plan

Click on

“Exercise Plan”

from the upper middle section in the home screen.

Exercise Plan screen will appear showing exercise target, daily burned calorie, weekly exercise summary chart and exercise reminders.

Same as expected.

Pass Tested on 17.3.2018

13. Add exercise target

Click on “Add Target” button from the Exercise Plan screen; enter daily or weekly target.

Daily calorie burn target will appear on the upper section of the Exercise Plan screen.

Same as expected.

Pass Tested on 17.3.2018

Test Case Test Input Expected Output Actual Output Result Action

14. Add exercise

Click on “Add Exercise”

button from Exercise Plan screen; exercise type and duration; press

“Done Already”

or “Start Exercise”

If pressed “Done Already” the system will calculate the calorie burn at once or if pressed “Start Exercise”, system will calculate calorie burn on the go and show exercise progress in the Exercise Plan screen.

Same as expected.

Pass Tested on 17.3.2018

15.

Pedometer

Click on

“Pedometer” in the Add

Exercise screen;

put the phone in your pocket or your shoulder and start walking

The system will automatically count your steps, calculate burned calorie and show progress in the Exercise Plan screen.

Same as expected.

Pass Tested on 17.3.2018

16. Set meal reminders

Switch on the Meal Reminder in the Exercise Plan screen, then

Click on “Set Time” for different reminders.

Reminder will appear on the “Exercise Reminder” section in

“Exercise Plan” screen and reminder will appear in phone notification panel at given time with notification tone and vibration.

Same as expected.

Pass Tested on 17.3.2018

17.

Medication Plan

Click on

“Medication Plan” from the upper middle section in the home screen.

Medication Plan screen will appear showing each previously set medication time with medicine details.

Same as expected.

Pass Tested on 22.3.2018

18. Add Medication Plan

Click on the add button in the bottom right corner of the medication Plan screen. In the Add Medication screen enter medication details, time and dose days and click add.

New medication plan will be added in the Medication Plan screen and medication

reminder will appear in phone notification panel at given time with notification tone and vibration.

Same as expected.

Pass Tested on 22.3.2018

Test Case Test Input Expected Output Actual Output Result Action

19. Edit or delete Medication Plan

Long press on any medication plan in the Medication Plan screen, update the medicine details or press

“Delete” to delete it.

Updated medication plan will appear on the Medication Plan screen if edited or removed if deleted.

Same as expected.

Pass Tested on 22.3.2018

20. Analyze blood pressure

Click on “Blood Pressure” in the lower portion of the Home screen; enter your Systolic and Diastolic BP value and press Calculate.

Your Blood Pressure status will be shown and “Add to Record”

option will appear.

Same as expected.

Pass Tested on 24.3.2018

21. Record blood pressure data

Click on “Add to Record”

button that appears after calculation in the Blood Pressure screen.

BP data will be stored and summary will be shown in home screen.

Same as expected.

Pass Tested on 25.3.2018

22. Analyze blood glucose

Click on “Blood Glucose” in the Home screen;

enter sugar level for Fasting and 2Hrs after meal and press Calculate.

Your Blood Glucose status will be shown and “Add to Record”

option will appear.

Same as expected.

Pass Tested on 25.3.2018

23. Record blood glucose data

Click on “Add to Record”

button that appears after calculation in the Blood Glucose screen.

Blood glucose data will be stored and summary will be shown in home screen.

Same as expected.

Pass Tested on 25.3.2018

24. Medical test analysis

Click on “More Items” in the Home screen and select any on from the

New screen for the selected test will appear showing detailed information for that particular test.

Same as expected.

Pass Tested on 3.4.2018

Test Case Test Input Expected Output Actual Output Result Action

25. Analyze medical test results

In the Test Details screen;

click “Analyze Test Data”, enter required data and press

“Analyze”.

The system will analyze the given data and show status.

Same as expected.

Pass Tested on 3.4.2018

26. Add Reminders

Click on

“Reminders” in the Home screen; click on Add Reminder, enter note and set time and press “Create”.

New reminder will be created, shown in the Reminders screen and reminder will appear in phone notification panel at given time with notification tone and vibration.

Same as expected.

Pass Tested on 3.4.2018

27. Delete reminder

Long press on any reminder from the reminder list and click Yes

That particular reminder will be removed from the reminder list.

Same as expected.

Pass Tested on 3.4.2018

28. Store test reports

Click on

“Reports” in Home screen;

click “Store Reports”, enter report details then take photos of the report or select from gallery to add.

The system will create a PDF report, store it and show in the Reports screen.

Same as expected.

Pass Tested on 3.4.2018

29. View test reports

Click on any report from the report list shown in the Reports screen.

The selected report will open in the default PDF viewer app of the device.

Same as expected.

Pass Tested on 3.4..2018

30. Delete test reports

Press on any report from the report list and slide it towards left.

That particular report will be deleted from the report list.

Same as expected.

Pass Tested on 3.4.2018

CHAPTER 6

Dokumen terkait