Manual testing instruction:
Disclaimer: Although this app is written in the Java language, the following test cases are only for running it on an Android device or an Android emulator (e.g. the one built-in Android Studio). The expected results that will be presented in this section are the results tested using an Android emulator.
Testcase 01:
System: Unit Convertor
Lanuching the app
Severity: 1
Instructions:
- On Android Studio, press Run
Expected result:
-
The app loads into the UI. One should observe 3 drop-down lists shown on top of the screen (one in orange, two in green), 2 text boxes in black background (i.e. screen), and numeric keypad (i.e. numpad) with operation buttons located below text boxes. The orange list should display with text: 'Click to select category:'. Shown in the image below.
Cleanup:
- Close the app if not proceeding to test subsequent cases.
Test case 02:
System: Unit Convertor
Select item from a drop-down list
Severity: 2
Instructions:
- If not proceeding from Testcase 01: On Android Studio, press Run (Testcase 01, instruction 1)
- Click on the orange drop-down list
- Select Pressure
Expected result:
- The text of the orange drop-down list should change to: 'Pressure'
- Each of the two green drop-down lists should display text: 'Click to select a unit':
Cleanup:
- Close the app if not proceeding to test subsequent cases.
Test case 03:
System: Unit Convertor
Select items from different drop-down lists
Severity: 2
Instructions:
- If not proceeding from Testcase 02: On Android Studio, press Run (Testcase 02, instruction 1)
- Click on the orange drop-down list and select pressure (Testcase 02. instructions 2 and 3)
- Click on the first green drop-down list and select Pa
- Similarly, click on the second green drop-down list and select kPa
Expected result:
- The text of the orange drop-down list should change to: 'Pressure'
- The text of the first green drop-down list should change to: 'Pa'
- The text of the second green drop-down list should change to: 'kPa'
Cleanup:
- Close the app if not proceeding to test subsequent cases.
Test case 04:
System: Unit Convertor
Test numeric keypad input
Severity: 2
Instructions:
- If not proceeding from Testcase 01: On Android Studio, press Run (Testcase 02, instruction 1)
- Using the numpad button located at the button of the screen, input 100
Expected result:
- The first screen should display text: '100' in green colour
Cleanup:
- Close the app if not proceeding to test subsequent cases.
Test case 05:
System: Unit Convertor
Test run button
Severity: 2
Instructions:
- If not proceeding from Testcase 04: On Android Studio, press Run (Testcase 04, instruction 1)
- Using the numpad button located at the button of the screen, input 100 (Testcase 04, instruction 2)
- Press the purple 'RUN' button located at the bottom left of the screen
Expected result:
- The first screen should display text: '100' in green colour
- The second screen should display text: 'Please select a category first!'
Cleanup:
- Close the app if not proceeding to test subsequent cases.
Test case 06:
System: Unit Convertor
Test converting pressure
Severity: 3
Instructions:
- If not proceeding from Testcase 03: On Android Studio, press Run (Testcase 03, instruction 1)
- Click on the orange drop-down list and select pressure (Testcase 03. instructions 2)
- Click on the first green drop-down list and select 'Pa' (Testcase 03. instructions 3)
- Similarly, click on the second green drop-down list and select 'kPa' (Testcase 03. instructions 4)
- Using the numpad to input '100' (Testcase 04, instruction 2)
- Press the purple 'RUN' button located at the bottom left of the screen (Testcase 05, instruction 3)
Expected result:
- The text of the orange drop-down list should change to: 'Pressure'
- The text of the first green drop-down list should change to: 'Pa'
- The text of the second green drop-down list should change to: 'kPa'
- The first screen should display text: '100' in green colour
- The second screen should display text: '0.1' in grey colour
Cleanup:
- Close the app if not proceeding to test subsequent cases.
Test case 07:
System: Unit Convertor
Test converting length
Severity: 3
Instructions:
- If not proceeding from Testcase 03: On Android Studio, press Run (Testcase 03, instruction 1)
- Click on the orange drop-down list and select 'Length' (Testcase 03. instructions 2)
- Click on the first green drop-down list and select 'm' (Testcase 03. instructions 3)
- Similarly, click on the second green drop-down list and select 'inch' (Testcase 03. instructions 4)
- Using the numpad to input '1' (Testcase 04, instruction 2)
- Press the purple 'RUN' button located at the bottom left of the screen (Testcase 05, instruction 3)
Expected result:
- The text of the orange drop-down list should change to: 'Length'
- The text of the first green drop-down list should change to: 'm'
- The text of the second green drop-down list should change to: 'inch'
- The first screen should display text: '1' in green colour
- The second screen should display text: '39.37' in grey colour
Cleanup:
- Close the app if not proceeding to test subsequent cases.
Test case 08:
System: Unit Convertor
Test converting velocity
Severity: 3
Instructions:
- If not proceeding from Testcase 03: On Android Studio, press Run (Testcase 03, instruction 1)
- Click on the orange drop-down list and select 'Velocity' (Testcase 03. instructions 2)
- Click on the first green drop-down list and select 'km/h' (Testcase 03. instructions 3)
- Similarly, click on the second green drop-down list and select 'm/s' (Testcase 03. instructions 4)
- Using the numpad to input '1' (Testcase 04, instruction 2)
- Press the purple 'RUN' button located at the bottom left of the screen (Testcase 05, instruction 3)
Expected result:
- The text of the orange drop-down list should change to: 'Velocity'
- The text of the first green drop-down list should change to: 'km/h'
- The text of the second green drop-down list should change to: 'm/s'
- The first screen should display text: '5' in green colour
- The second screen should display text: '1.38888889' in grey colour
Cleanup:
- Close the app if not proceeding to test subsequent cases.
Test case 09:
System: Unit Convertor
Test converting volumetric flow rate
Severity: 3
Instructions:
- If not proceeding from Testcase 03: On Android Studio, press Run (Testcase 03, instruction 1)
- Click on the orange drop-down list and select 'Volumetric flow rate' (Testcase 03. instructions 2)
- Click on the first green drop-down list and select 'm3/s' (Testcase 03. instructions 3)
- Similarly, click on the second green drop-down list and select 'L/min' (Testcase 03. instructions 4)
- Using the numpad to input '1' (Testcase 04, instruction 2)
- Press the purple 'RUN' button located at the bottom left of the screen (Testcase 05, instruction 3)
Expected result:
- The text of the orange drop-down list should change to: 'Volumetric flow rate'
- The text of the first green drop-down list should change to: 'm3/s'
- The text of the second green drop-down list should change to: 'L/min'
- The first screen should display text: '0.5' in green colour
- The second screen should display text: '30000.0' in grey colour
Cleanup:
- Close the app if not proceeding to test subsequent cases.