59
Date Issued: 10/25/16 AudIQ.02 Draft 3 AudIQ Test Plan 1.SCOPE 2. REASON FOR RE-ISSUE 3.INTRODUCTION 3.1 Description 3.2 Strategy 4. APPLICABLE DOCUMENTS 5.DEFINITIONS 6.SETUP 7. EQUIPMENT RECORD 8.TEST CASES 9.ATTACHMENTS Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 1

web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

1. SCOPE

2. REASON FOR RE-ISSUE

3. INTRODUCTION

3.1 Description

3.2 Strategy

4. APPLICABLE DOCUMENTS

5. DEFINITIONS

6. SETUP

7. EQUIPMENT RECORD

8. TEST CASES

9. ATTACHMENTS

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 1

Page 2: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

1. SCOPEThis document describes the test plan for verifying the AudIQ mobile phone application. It provides the necessary procedures for the validation test of the application.

2. REASON FOR RE-ISSUEISSUE REASON FOR RE-ISSUE

1 MR #AUDIQ00001 This is the first time the plan has been issued

3. INTRODUCTION3.1 DescriptionThe following test plans will be performed:

Test Case Direct Requirement Test010 REQ10 Initialization of Application020 REQ330-REQ370 Demonstration Section030 REQ380-REQ400; REQ660 Registration Menu040 REQ410-REQ470 Login Menu050 REQ030-REQ100 Main Menu060 REQ110-REQ190; REQ200-

REQ240; REQ250-REQ320; REQ690

Training and Testing Sections

070 REQ580-REQ710 Connection of Application to SQLite Internal Database

080 REQ590; REQ600 Connection to mySQL Database090 REQ500; REQ520 Sounds Generation Verification

3.2 Strategy 1. AudIQ is a new product. All tests will be conducted.

4. APPLICABLE DOCUMENTSThis plan is based on the requirements from AudIQ.01 AudIQ Functional Requirements

5. DEFINITIONSInteraural Time Difference (ITD): The difference in time between the left and right channels of the sound signals.Interaural Level Difference (ILD): The difference in amplitude between the left and right channels of the sound signals.

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 2

Page 3: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan6. SETUPThe testing requires the following units as a minimum: AudIQ software application and Mobile Phone

7. EQUIPMENT RECORDThe following test equipment, or equivalent, is needed to execute the tests in this plan

Item Model Number(s) Calibration Required?Smart Device Apple or Android NoAudIQ Mobile Application NoComputer DELL NoUnity NoPraat NoHeadphones NoMyPHPAdmin https://web.njit.edu/mysql/phpMyAdmin/ NoSQLite Database NoFirefox NoDhara’s Website https://harp.njit.edu/~djr32/ NoGoogle Drive Sound Folder https://drive.google.com/drive/folders/

0B2Wmqa8k00OfdERGVjAySkg1T0UNo

Sound File cow.wav No

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 3

Page 4: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

8. TEST CASES[Test Case 010] Initialization of Application

Purpose: To verify that the application is properly downloaded onto the phone

Specification: REQ010

Test Architecture:

Figure 1: Apple or Android phone with AudIQ Application (indicated by red arrow)

Equipment: 1. Smart Device (Apple or Android device)2. AudIQ application

Test Procedure:

1. Tap the AudIQ icon to open the application (Refer to Figure 1.a).

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 4

Page 5: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Figure 1.a AudIQ application icon on phone

2. View the AudIQ login/registration screen (Refer to Figure 1.b).

Figure 1.b AudIQ login/registration screen

Expected Results:Initialization of the application is operating properly if the following conditions are true:

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 5

Page 6: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan1. The AudIQ application icon is visible on one of the homescreen displays of the smart

device according to procedure #1.2. The login/registration screen appears when the application icon is tapped according to

procedure #2.

Test Results:

Test Pass/Fail

The AudIQ application icon is visible on one of the homescreen displays (Procedure #1).

The login/registration screen screen appears after tapping on the AudIQ application (Procedure #2).

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 6

Page 7: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

[Test Case 020] Demonstration Section

Purpose: To verify that the demonstration section of the application is functioning properly.

Specification: REQ330-REQ370

Test Architecture:

Figure 2.a The main menu of the application showing the “Demonstration” button highlighted in yellow.

Equipment: 3. Smart Device (Apple or Android device)4. AudIQ mobile application

a. Demonstration screen (See figure above)5. Desktop Computer with Unity3D program installed (Macintosh or Windows)6. Headphones

Test Procedure:1. Select the “Demonstration” option at the main menu (refer to Figure 2.a)2. Answer the question prompts when they appear on the screen.3. When the on-screen “Correct” message appears (indicating that the question was

answered correctly) tap the “Ok” button (Refer to Figure 2.b).

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 7

Page 8: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Figure 2.b The “Correct” screen with the “Ok” button shown.

4. When the on-screen “Incorrect” message appears (indicating that the question was answered incorrectly) tap the “Ok” button (Refer to Figure 2.c).

Figure 2.c The “Incorrect” screen with the “Ok” button shown.

5. Answer 10 prompts in total.6. When this “Demonstration Complete” message appears, tap the “Ok” button.7. When the main menu appears, conclude this test.

Expected Results:The demonstration section module is operating properly if the following conditions are true:

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 8

Page 9: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan1. “Correct” message displayed upon correct answer according to procedure #3.2. “Incorrect” message displayed upon incorrect answer according to procedure #4.3. “Demonstration Complete” message displayed upon completion of training according to

procedure #6.4. Demonstration section terminates after 10 prompts are answered according to procedure

#5.5. Application reloads main menu upon termination of demonstration section according to

procedure #7.

Test Results:

Test Pass/Fail

“Correct” message displayed (#3)

“Incorrect” message displayed (#4)

“Demonstration Complete” message displayed (#6)

Section terminates after 10 prompts (#5)

Main menu reloads application upon termination (#7)

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 9

Page 10: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

[Test Case 030] Registration Menu

Purpose: To verify that the registration menu of the application is functioning properly.

Specification: REQ380-REQ400,REQ660

Test Architecture:

Figure 3.a Computer running the “phpMyAdmin” website to access the remote database.

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 10

Page 11: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Figure 3.b The login screen (left) and the registration screen (right).

Equipment: 1. Smart Device (Apple or Android device)2. AudIQ mobile application

a. Login Screenb. Registration Screen

3. MyPHPAdmin: https://web.njit.edu/mysql/phpMyAdmin/ 4. Desktop Computer (Macintosh or Windows)5. Firefox 6. Wifi

Test Procedure:1. Enter “person.44” into the input field labeled “email” 2. Tap the “Register” button.3. Tap the “Ok” button when the error message (“Missing @ sign”) is displayed.4. Enter “person@44” into the input field labeled “email” 5. Tap the “Register” button.6. Tap the “Ok” button when the error message (“Missing a period. ”) is displayed.

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 11

Page 12: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan7. Enter “for” into the input field labeled “password” 8. Tap the “Register” button.9. Tap the “Ok” button when the error message (“Password is under 5 characters”) is

displayed.10. Enter “fourhundred” into the input field labeled “password” 11. Enter “fourhundread” into the input field labeled “confirm password” 12. Tap the “Register” button.13. Tap the “Ok” button when the error message (“Passwords do not match”) is displayed.14. Enter “person.@44” into the input field labeled “ email”. 15. Enter “fourhundred” into the input field labeled “ password”. 16. Enter “fourhundred” into the input field labeled “confirm password”. 17. Tap the “Registration” button.18. After the “Registration Confirmed” message appears and the “Main Menu” screen loads,

open phpMyadmin MySQL database on the Firefox broa. Open Firefox browser b. Login into NJIT phpMyAdmin with the given username,password, and Server

Choice19. Click “+” icon left side of the words “audiq_rsrch”. This will expand or collapse different

table names.20. Click on table name “USERACCOUNT” (see blue arrow image Figure 3.c)21. Verify the user email,“person.@44” is under the EMAIL column, and user

password,“fourhundred” under the USER_PWD. ( see red box image Figure 3.d)

Figure 3.c The “USERACCOUNT” database viewable at the “phpMyAdmin” website.

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 12

Page 13: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Figure 3.d Red box indicates the result and the REGISTERDT column22. To further ensure, look at the recent REGISTERDT column (in the format yyyy-dd-mm

hr:min:sec), which shows the date and time when the entry was registered (Figure 3.d).

Expected Results:The registration module is operating properly if the following conditions are true:

1. An error message was displayed when an improper user email was entered according to procedures #3 and #6.

2. An error message was displayed when an improper user password was entered according to procedure #9.

3. An error message was displayed when an improper “repeat password” was entered according to procedure #13.

4. The tester received confirmation of registration when a valid user email, username, password, and “repeat password” were entered according to procedure #18.

5. Verify that “person.@44” is under the EMAIL column, and user password,“fourhundred” under the USER_PWD according to procedure #21.

6. Verify the most recent REGISTERDT column in the format yyyy-dd-mm hr:min:sec, which shows the date and time when the entry was registered according to procedure #22.

Test Results:

Test Pass/Fail

Error message when improper user email entered (#3 & #6)

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 13

Page 14: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Error message when improper password entered (#9)

Error message when improper repeat password entered (#13)

Confirmation message received upon proper registration (#18)

“person.@44” is under the EMAIL column, and user password,“fourhundred” under the USER_PWD (#21)

Recent REGISTERDT column in the format (yyyy-dd-mm hr:min:sec) (#22)

[Test Case 040] Login Menu

Purpose: To verify that the login menu of the application is functioning properly.

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 14

Page 15: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Specification: REQ410-REQ470

Test Architecture:

Figure 4.a The login screen of the application.

Equipment: 1. Smart Device (Apple or Android device)2. Login Screen on Game3. AudIQ mobile application

a. Login screen4. Desktop Computer with Unity3D program installed (Macintosh or Windows)

Test Procedure:1. Enter the login menu of the device by selecting the “Login” button on the registration

screen.

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 15

Page 16: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan2. Enter “person.@44” into the input field labeled “user email”. 3. Enter “fourhundread” into the input field labeled “user password”.4. Tap the “Log-in” button.5. Tap the “Ok” button when the error message (“Incorrect Password”) is displayed.6. Enter “person.@45” into the input field labeled “user email”. 7. Enter “fourhundred” into the input field labeled “user password”. 8. Tap the “Log-in” button. 9. Tap the “Ok” button when the error message (“User Email not Registered”) is displayed.10. Enter “person.@44” into the input field labeled “user email”. 11. Enter “fourhundred” into the input field labeled “user password”. 12. Tap the “Log-in” button.13. Test concludes when the “Login Successful” message appears and the main-menu screen

loads.

Expected Results:The login module is operating properly if the following conditions are true:

1. An error message was displayed when an unregistered user email was entered according to procedure #9.

2. An error message was displayed when an improper user password was entered according to procedure #5.

3. The tester received confirmation of logging into the application when a valid user email and password were entered according to procedure #13.

4. After logging in, the main menu of the application loaded according to procedure #13.

Test Results:

Test Pass/Fail

Error message when improper user email entered (#9)

Error message when improper password entered (#5)

Confirmation message received upon proper login (#13)

User is presented with the main menu after proper login (#13)

[Test Case 050] Main Menu

Purpose: To verify that the main menu of the application, the headphone checker, and the volume checker are functioning properly.

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 16

Page 17: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test PlanSpecification: REQ030-REQ100,

Test Architecture:

Figure 5.a The main menu of the application, showing three distinct buttons corresponding to the demonstration, training, and testing sections.

Equipment: 1. Smart Device (Apple or Android device)2. AudIQ mobile application

a. Main Menu Screen3. Desktop Computer with Unity3D program installed (Macintosh or Windows)4. Headphones

Test Procedure:1. Starting at the main menu (after completing the login test procedure), insert headphones

into the headphone jack of the mobile device2. Set the volume level of the phone to 40% +- 5 % by adjusting the volume on the side of

the phone3. Tap the “Training Section” button4. Ensure that the application loaded the “Training Section” screen5. Tap the “Back” button to return to the main menu6. Tap the “Testing Section” button

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 17

Page 18: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan7. Ensure that the application loaded the “Testing Section” screen and then tap the “Back”

button to return to the main menu.8. Tap the “Results Section” button9. Ensure that the application loaded the “Results Section” screen10. Return to the main menu by tapping the “Back” button11. Remove the headphones from the device12. Tap the “Training Section” button13. When the error message (“Headphones not Inserted”) is displayed insert the headphones

(Refer to Figure 5.b)

Figure 5.b The “headphones not inserted” message that will be displayed if headphones are not inserted into the device.

14. When the message (“Headphones Inserted. Access Granted. ”) is displayed tap the “Ok” button (Refer to Figure 5.c)

Figure 5.c The “headphones inserted” message that will be displayed if headphones are inserted into the device.

15. When the training section loads (screen shown above) tap the “Back” button to return to the main menu

16. Remove the headphones from the device17. Tap the “Testing Section” button

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 18

Page 19: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan18. Repeat steps 13-15 for the “Testing Section” of the application19. Set the volume of the device to the maximum setting (maximum volume).20. Select the “Training” option at the main menu21. When the message (“Volume Too Loud. ”) is displayed reduce the volume of the phone

back to 40% +- 5% (Refer to Figure 5.d)

Figure 5.d The “volume too loud” message that will be displayed if the volume is too loud.

22. When the message (“Volume is Safe. Access Granted. ”) is displayed tap the “Ok” button (Refer to Figure 5.e)

Figure 5.e The “volume is safe. Access Granted” message that will be displayed if the volume is at a safe level.

23. When the training section loads (screen shown above) tap the “Back” button to return to the main menu

24. Set the volume of the device to the maximum setting (maximum volume).25. Tap the “Testing Section” button26. Repeat steps 21-23 for the “Testing Section” of the application

Expected Results:The main screen module is operating properly if the following conditions are true:

1. The training section loaded properly when the “Training Section” button was pressed according to procedure #4.

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 19

Page 20: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan2. The testing section loaded properly when the “Testing Section” button was pressed

according to procedure #7.3. The results section loaded properly when the “Results Section” button was pressed

according to procedure #9.4. The “Back” button successfully returned the user to the main screen of the device

according to procedures #5,7,10.

The headphone checking module is operating properly if the following conditions are true:1. An error message was displayed when the headphones were not inserted upon selecting

the “Training” section according to procedure #13. 2. The tester was not granted access into the “Training” section while the error message was

displayed on the screen according to procedure #13.3. The error message from the bullet #1 disappeared once headphones were inserted

according to procedure #14.4. The tester was granted access into the “Training section once the headphones were

inserted and the error message disappeared according to procedure #14.5. An error message was not displayed when the user selected the “Training” section from

the main menu with headphones inserted into the audio jack of the smart device (was allowed to enter the section) according to procedure #14.

6. Bullets #1-5 were also true when the “Testing” section was being accessed according to procedure #18.

The audio level checking module is operating properly if the following conditions are true:1. An error message was displayed when the volume level was too high upon selecting the

“Training” section according to procedure #21.2. The tester was not granted access into the “Training” section while the error message was

displayed on the screen according to procedure #21.3. The error message from the bullet #1 disappeared once the volume was reduced

according to procedure #22.4. The tester was granted access into the “Training section once volume was reduced

according to procedure #22.5. An error message was not displayed when the user selected the “Training” section from

the main menu with the device’s volume set to approximately 50% of the maximum (was allowed to enter the section) according to procedure #22.

6. Bullets #1-5 were also true when the “Testing” section was being accessed according to procedure #26.

Test Results:

Test Pass/Fail

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 20

Page 21: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Training Section loaded (#4)

Testing Section loaded (#7)

Results Section loaded (#9)

User able to return to Main Menu (“Back” button) (#5, 7, 10)

Error message when headphones not inserted (#13)

Entry not allowed when headphones not inserted (#13)

Error message removed when headphones inserted (#14)

Entry allowed when headphones inserted (#14)

No error message displayed and entry allowed when headphones are inserted (in the first place) (#14)

The above test results hold true for both the “Testing” and “Training” sections of the application. (#18)

Error message when volume was too high (#21)

Entry not allowed when volume was too high (#21)

Error message removed and entry into section allowed when volume reduced to 40% +- 5%. (#22)

No error message displayed and entry allowed when volume was at a reduced level (40-45% of max from the start) (#22)

The above test results hold true for both the “Testing” and “Training” sections of the application. (#26)

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 21

Page 22: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

[Test Case 060] Training and Testing Sections

Purpose: To verify that the training and testing sections of the application are functioning properly.

Specification: REQ110-REQ190, REQ200-REQ240, REQ250-REQ320, REQ690

Test Architecture:

Figure 6.a The main menu of the application, showing three distinct buttons corresponding to the demonstration, training, and testing sections. On the left, the “Testing” button is highlighted in yellow. On the right, the “Training” button is highlighted in yellow.

Equipment: 1. Smart Device (Apple or Android device)2. Desktop Computer with Unity3D program installed (Macintosh or Windows)3. Headphones4. phpMyadmin MySQL database5. Firefox

Test Procedure:1. Starting at the main menu (after completing the login test procedure), insert headphones

into the device and set the volume to 40% +- 5% of the maximum volume.

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 22

Page 23: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan2. Select the “Training” option at the main menu (Refer to Figure 6.b)

Figure 6.b The main menu of the application, showing the “Training” button highlighted in yellow.

3. Answer the question prompts when they appear on the screen (Refer to Figure 6.c).

Figure 6.c This image depicts the training section, in which the user selects words corresponding to the sound file that was played. Upon selecting the answer choices, the

“Submit Answer” button will finalize and submit the entered answer.

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 23

Page 24: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

4. When the on-screen “Correct” message appears (indicating that the question was answered correctly) tap the “Ok” button.

5. When the on-screen “Incorrect” message appears (indicating that the question was answered incorrectly) tap the “Ok” button.

6. Answer 30 prompts in total.7. When the “Training Complete” message appears, tap the “Ok” button.8. When the main menu loads, tap the “Testing” button to enter the testing section (Refer to

Figure 6.d).

Figure 6.d The main menu of the application, showing the “Testing” button highlighted in yellow.

9. Answer the question prompts when they appear on the screen.10. When the on-screen “Correct” message appears (indicating that the question was

answered correctly) tap the “Ok” button.11. When the on-screen “Incorrect” message appears (indicating that the question was

answered incorrectly) tap the “Ok” button.12. Answer 40 prompts in total.13. When the “Testing Complete” message appears, tap the “Ok” button.14. From the main menu, select the “Testing” option again15. When the error message is displayed, stating “Daily Test Completed Today”, tap the

“Ok” button to return to the main menu16. Open phpMyadmin MySQL database

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 24

Page 25: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plana. Open Firefox browser b. Login into NJIT phpMyAdmin with the given username,password, and Server

Choice17. Click “+” icon left side of the words “audiq_rsrch”. This will expand or collapse different

table names.18. Click on table name “UserPracticeData”.19. Verify the training response into the database by looking under the “UserAnswer”

column and whether if it is incorrect or correct by looking under the “In_Correct” column. (Refer to Figure 6.e).

Figure 6.e The structure of the remote database, showing the “UserAnswer”, the “In_Correct” column, and the unique “ID” values associated with the sound files and the user.

20. To further ensure, look at the recent “timestamp” column, which shows the time and date when the entry was registered in the format of “yyyy-mm-dd-hh:mm:ss”

Expected Results:The training section module is operating properly if the following conditions are true:

1. “Correct” message displayed to tester upon correct answer according to procedure #4. 2. “Incorrect” message displayed to tester upon incorrect answer according to procedure #5.3. “Training Complete” message displayed to tester upon completion of training according

to procedure #7.4. Main menu of the application loads upon completion of the training section according to

procedure #8.

The testing section module is operating properly if the following conditions are true:1. “Correct” message displayed to tester upon correct answer according to procedure #10.2. “Incorrect” message displayed to tester upon incorrect answer according to procedure

#11.3. “Testing Complete” message displayed to tester upon completion of training according to

procedure #13.4. Main menu of the application loads upon completion of the testing section according to

procedure #14.5. Error message displayed if the “Testing” section is selected a second time in the same

day according to procedure #15.6. In the remote database, ‘I’ or ‘C’ under the “In_Correct” column according to procedure

#19.

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 25

Page 26: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Test Results:

Test Pass/Fail

“Correct” message shown when question answered correctly in training section (#4)

“Incorrect” message shown when question answered incorrectly in testing section (#5)

“Training Complete” message displayed at end of the training (#7)

Main menu loaded upon completion of the training section (#9)

“Correct” message shown when question answered correctly in testing section (#10)

“Incorrect” message shown when question answered incorrectly in testing section (#11)

“Testing Complete” message displayed at the end of testing (#13)

Main menu loaded after completion of testing section (#14)

Error message “Daily Test Completed Today” displayed when the “Testing” section is selected a second time in one day (#15)

Training response under the “UserAnswer” column (#19)

incorrect(‘I’) or correct (‘C’) by looking under the “In_Correct” column (#19)

Recent “timestamp” column shows current time and date in the format of “yyyy-mm-dd-hh:mm:ss” (#20)

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 26

Page 27: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

[Test Case 070] Connection of Application to SQLite Internal Database

Purpose: To verify that data from the application is stored in tables in the internal database.

Specification: REQ620

Test Architecture:

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 27

Page 28: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test PlanFigure 7.a Flow diagram of data transfer from AudIQ application on phone to SQLite internal

database.Equipment:

1. Smart Device (Apple or Android device)2. Desktop Computer with Unity3D program installed (Macintosh or Windows)3. SQLite Database4. Mozilla Firefox

Test Procedure:1. Begin this test procedure after completing “Test Case [001] Initialization of Application”

to ensure the AudIQ application has been properly downloaded onto the phone2. Turn off the Wi-Fi connection on the smart device by tapping on “Settings” icon, tapping

on the “Wi-Fi” button, and swiping the Wi-Fi On button from right to left (Refer to Figure 7.b)

Figure 7.b. Sequence of steps for turning off Wi-Fi connection on smart device

3. Open the application titled “AudIQ” by tapping on the icon (Refer to Figure 7.c)

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 28

Page 29: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Figure 7.c. AudIQ application icon on phone

4. Wait for the screen to load to the “Login/Registration” screen (Refer to Figure 7.d)

Figure 7.d. AudIQ login/registration screen

5. Enter a valid “User Email” and “User Password” based on the registration requirements in “Test Case [020] Registration Menu”

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 29

Page 30: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan6. After inputting your “User Email” and “User Password”, tap the “Sign In” button (Refer

to Figure 7.d)7. Open the SQLite database (Refer to Figure 7.e)

a. Open the Mozilla Firefox browser. b. Click on the “Tools” tab. c. Click on “SQLite Manager”.

Figure 7.e. Opening SQLite database with SQLite manager on Mozilla Firefox browser

8. Click the down arrow on the “Tables” tab to view a list of all the tables in the database (Refer to Figure 7.f)

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 30

Page 31: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Figure 7.f. List of tables in left panel of SQLite database

9. Click on the “UserAccount” table to view the user account data

Expected ResultsThe SQLite database is operating properly if the following conditions are true:

1. The email address and password entered in procedure #5 are in the last row of the “UserAccounts” table

2. The email address entered in procedure #5 is stored in the “Email” column of the “UserAccounts” table

3. The password entered in procedure #5 is stored in the “Password column of the “UserAccounts” table

Test Results:

Test Pass/Fail

The email address and password entered in procedure #5 are in the last row of the “UserAccounts” table

The email address entered in procedure #5 is stored in the “Email” column of the “UserAccounts” table

The password entered in procedure #5 is stored in the “Password” column of the “UserAccounts” table

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 31

Page 32: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

[Test Case 080] Data Transfer from SQLite Database to MySQL Database

Purpose: To verify that data from the SQLite database transfers to the MySQL database once a Wi-fi connection is available

Specification: REQ630

Test Architecture:

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 32

Page 33: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Figure 8.a Flow diagram of data transfer from internal SQLite database to external MySQL database

Equipment: 1. Desktop Computer with Unity3D program installed (Macintosh or Windows)2. SQLite Database3. Mozilla Firefox4. MySQL Database5. Wi-Fi Connection

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 33

Page 34: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Test Procedure:1. Begin this test procedure after completing “Test Case [070] Connection of Application to

SQLite Internal Database”2. Turn on the Wi-Fi connection on the smart device by tapping on “Settings” button,

tapping on the “Wi-Fi” button, and swiping the Wi-Fi On button from left to right (Refer to Figure 8.b)

Figure 8.b. Sequence of steps for turning on Wi-Fi connection on smart device

3. In order to connect to Wi-Fi, tap on one of the Wi-Fi networks. A checkmark will appear to the left of the network once it is connected (Refer to Figure 8.c).

Figure 8.c A checkmark appears next to the Wi-Fi network. This figure shows the phone connected to the “NJITsecure” Wi-Fi network highlighted in red.

4. Open the “UserAccounts” table in the SQLite database5. Open the “UserAccounts” table in the MySQL database

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 34

Page 35: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Expected ResultsData transfer from the SQLite database to the MySQL database is operating properly if the following conditions are true:

1. The data from the SQLite database tables should be transferred to the same tables in the MySQL database when the Wi-Fi is turned on according to procedure #5

Test Results:

Test Pass/Fail

When WiFi is turned on, data is transferred from SQLite database into MySQL database according to procedure #5

All emails from “UserAccount” table in SQLite database should be in “UserAccounts” table in MySQL database according to procedure #5

All passwords from “UserAccount” table in SQLite database should be in “UserAccounts” table in MySQL database according to procedure #5

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 35

Page 36: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

[Test Case 090] Connection to MySQL Database

Purpose: To verify username, password and server choice have not changed to connect to the remote database.

Specification: REQ590, REQ600

Test Architecture:

Figure 9.a Computer showing website https://harp.njit.edu/~djr32/.

Equipment:1. Dhara’s Website: https://harp.njit.edu/~djr32/2. Firefox or Chrome Browser3. Computer/Laptop4. Internet

Test Procedure:1. Open the Firefox or Chrome Browser

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 36

Page 37: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan2. In the address bar, type the the following website: https://harp.njit.edu/~djr32/ and

press the “Enter” key on the keyboard of computer or laptop3. This is how the website will look like (Refer to Figure 9.b)

Figure 9.b The website https://harp.njit.edu/~djr32/ with username, password, and email input fields.

4. Look for the phase “Check if MySQL connection works Press "Button"” on the website.5. Once found click “Button” (Refer to Figure 9.c).

Figure 9.c The button demonstrating the connection to the remote database.

6. The message “Successfully Connected!!!” will show up after click the “Button”(Figure 9.d)

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 37

Page 38: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Figure 9.d The screen showing that the connection to the database was successful.

Figure 3Expected Results

1. A message that reads “Successfully Connected!!!” should show up according to procedure #6.

Test Results:

Test Pass/Fail

Message “Successfully Connected!!!” shows up

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 38

Page 39: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

[Test Case 100] Sounds Generation Verification

Purpose: To verify that the the sounds were generated properly in terms of duration and frequency

Specification: This plan refers to REQ500 and REQ520

Test Architecture:

Figure 10 The desktop screen with Praat Software and Sound Files on it

Equipment: 1. Computer2. Praat Program3. Google Drive Sound Folder:

https://drive.google.com/drive/folders/0B2Wmqa8k00OfdERGVjAySkg1T0U4. Sound File in the Sound Folder (cow.wav)

Test Procedure:1. Open Praat by clicking on the Praat icon shown in the test architecture by the red arrow

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 39

Page 40: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan2. Go to the menu bar on the top of the program and click Open → Read from file...

button (shown in figure 10.a) and choose a sound file shown in the test architecture by the black arrow

Figure 10.a “Read from file…” is highlighted3. Select the sound file (cow.wav) from Google Drive Folder and click the View & Edit

button (shown in figure below) (a graph will appear of the signal)

Figure 10.b “Sound cow” is the imported sound file highlighted in blue4. Highlight the entire signal (shown in figure below)

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 40

Page 41: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Figure 10.c (left) unhighlighted signal; (right) highlighted signal5. Observe the value on the bottom of the screen titled “Total duration” (shown in figure

above)6. On the menu bar on the top, go to Pitch → Show Pitch → Get Minimum Pitch and

record the value that appears7. On the menu bar on the top, go to Pitch → Show Pitch → Get Maximum Pitch and

record the value that appears

Expected Results:The test passes if the following occurs:

1. The duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5.

2. The minimum frequency value is greater than 20Hz, according to procedure #6.3. The maximum frequency value is less than 200 kHz, according to procedure #7.

Test Results:

Test Pass/Fail

The duration of the sound is between 0.55 and 5.05 seconds

The minimum frequency value is greater than 20Hz

The maximum frequency value is less than 200 kHz

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 41

Page 42: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

[Test Case 110] Client Access to User Data

Purpose: To verify the client can see the correct data of the users.

Specification: REQ720

Equipment:1. Dhara’s Website: https://harp.njit.edu/~djr32/2. Firefox or Chrome Browser3. Computer/Laptop4. Internet5. MyPhpAdmin: https://web.njit.edu/mysql/phpMyAdmin/

Test Procedure:1. open phpMyadmin MySQL database on the Firefox browser

a. Open Firefox browser b. Login into NJIT phpMyAdmin with the given username,password, and Server

Choice2. Click “+” icon left side of the words “audiq_rsrch”. This will expand or collapse different

table names. See below image of the blue arrow pointing on the “+” icon (Figure 11.a)

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 42

Page 43: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Figure 11.a Blue arrow shows how to expand the table in audi_rsch database3. Click on table name “UserPracticeData” (see red arrow of the image below, Figure 11.b)

Figure 11.b Red arrow indicates how to access the “UserPractiveData” table4. The results will show up on the right. The column names “practice ID”, “UserID”, “AudIQID”, “QuestionNum”, “USerAnswer”, “In_Correct”, “timestamp”. See blue box in image below.Figure 11.c

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 43

Page 44: web.njit.edujoelsd/capstone/TestPlansv3-2 Team... · Web viewThe duration of the sound is less than 5.05 seconds and less than 0.55 seconds, according to procedure #5. The minimum

Date Issued: 10/25/16 AudIQ.02 Draft 3

AudIQ Test Plan

Figure 11.c Blue box shows the data the client will seeExpected Results:The test passes if the following occurs:

1. Acording to procedure #4, If the column names “practice ID”, “UserID”, “AudIQID”, “QuestionNum”, “USerAnswer”, “In_Correct”, “timestamp” show up on right after clicking on the UserPracticeData table Figure 11.c.

Test Results:

Test Pass/Fail

According to procedure #4, columns names:“practice ID”, “UserID”, “AudIQID”, “QuestionNum”, “USerAnswer”, “In_Correct”, “timestamp” show up on right after clicking on the UserPracticeData table Figure 11.c

Team #4 - John Palmieri, Dhara Rana, Jennifer Rochette, Neha Syal 44