MMDI Integration Test
MMDI Android and A&D devices integration Test
Purpose: using build-in test code (index.html, app.js) to perform system level test for Android and A&D devices.
Android devices:
1. HTC A7275 (Android version 2.3.3).
2. MOTOROLA XT885 (Android version 4.04).
3. MOTOROLA MB860 (Android version 2.2.1).
A&D devices:
1. UA-767 PBT, Blood Pressure Monitor.
2. UC-321 PBT, Weight Scale.
Terms or phrase used in the test
- "Android device is ready for receiving data from A&D devices"
- This is a status of the test application, which means:
- Android device is in the “discoverable” state.
- Android A&D Bluetooth server is “listening”.
- To get the status we need the following process:
- Start the test application (named: NexJ MMDI))
- Enable Bluetooth (need only when Bluetooth is at disabled state)
- Request for Discoverable (Bluetooth discoverable state lasts for only 5 minutes for many Android devices.)
- Start listen A&D Devices
- Make sure taking the first measurement within Bluetooth Discoverable state.
- This is a status of the test application, which means:
- “The Android and the medical devices are paired”
- After the first connection between a certain Android device and a certain medical device, the two devices will become paired. This can be verified by checking the Android devices’ Bluetooth paired/bonded device list.
- In all test cases, it is assumed that the two devices are paired if not specified.
Test Case 1
Test Case Number: TC01
Test Title: Bluetooth paring test
Description: To test paring process between an Android device and an A&D device.
Pre-Conditions:
- The Android and the medical device have been unpaired (by removing the medical device from the Bluetooth paired/bonded device list of the android device).
- Android device is ready for receiving data from A&D devices.
Test Steps:
- Make a measurement on an A&D device.
- Enter the PIN (39121440) when prompt on an Android device.
- The measurement reading(s) should be showed on the screen.
- Exit the test app.
Test Records:
Version |
Android Device |
Android Version |
Medical Device |
Repeat number |
Pass or Fail |
Test Date |
By |
Notes |
Review-2 |
HTC A7275 |
2.3.3 |
UA-767 |
3 |
pass |
Mar 8, 2013 |
Wei |
|
Review-2 |
HTC A7275 |
2.3.3 |
UC-321 |
3 |
pass |
Mar 8, 2013 |
Wei |
|
Review-2 |
MOTOROLA XT885 |
4.0.4 |
UA-767 |
2 |
pass |
Mar 14, 2013 |
Wei |
|
Review-2 |
MOTOROLA XT885 |
4.0.4 |
UC-321 |
2 |
pass |
Mar 14, 2013 |
Wei |
|
Review-2 |
MOTOROLA MB860 |
2.2.1 |
UA-767 |
2 |
fail |
Mar 15, 2013 |
Wei |
The devices are paired, but test app cannot obtain readings. |
Review-2 |
MOTOROLA MB860 |
2.2.1 |
UC-321 |
2 |
fail |
Mar 15, 2013 |
Wei |
The devices are paired, but test app cannot obtain readings. |
Test Case 2
Test Case Number: TC02
Test Title: Plugin Function test part A
Description: To test the plugin’s functions of enable-Bluetooth, disable-Bluetooth, is-Bluetooth-enabled.
Pre-Conditions: The test application has been started.
Test Steps:
- Click “Is Bluetooth Enabled” button, the screen should show “BT is enabled”.
- Click “Disable Bluetooth” button, screen should show “Disable BT was successfully” and the Bluetooth icon should disappear from Android top bar.
- Click “Is Bluetooth Enabled” button, screen should show “BT is not enabled”.
- Click “Enable Bluetooth” button, then click “Yes” for the pop-up, screen should show “Enable BT was successfully” and the Bluetooth icon should appear in Android top bar.
- Click “Is Bluetooth Enabled” button, the screen should show “BT is enabled”.
- Take a measurement, the Android screen should show the readings.
- Exit the test app.
Test Records:
Version |
Android Device |
Medical Device |
Repeat number |
Pass or Fail |
Test Date |
By |
Notes |
Review-2 |
HTC A7275 |
UA-767 or UC-321 |
3 |
pass |
Mar 8, 2013 |
Wei |
|
Review-2 |
MOTOROLA XT885 |
UA-767 or UC-321 |
|
|
|
|
|
Test Case 3
Test Case Number: TC03
Test Title: Plugin Function test part B
Description: To test the plugin’s functions of Request-for-Discoverable.
Pre-Conditions: The test application has been started.
Test Steps:
- Click “Listen to A&D Devices” button, the screen should show “BT listening started”.
- Take a measurement, the Android screen may show the readings.
- Click “Request for Discoverable” button, then click “Yes” for the pop-up.
- Take a measurement, the Android screen should show the previous readings, then the current readings.
- Exit the test app.
Test Records:
Version |
Android Device |
Medical Device |
Readings are Received at step 2 ? |
Repeat number |
Pass or Fail |
Test Date |
By |
Notes |
Review-2 |
HTC A7275 |
UA-767 |
No |
3 |
pass |
Mar 8, 2013 |
Wei |
|
Review-2 |
HTC A7275 |
UC-321 |
No |
3 |
pass |
Mar 8, 2013 |
Wei |
|
Review-2 |
MOTOROLA XT885 |
UA-767 |
|
|
|
|
|
|
Review-2 |
MOTOROLA XT885 |
UC-321 |
|
|
|
|
|
|
Test Case 4
Test Case Number: TC04
Test Title: Plugin Function test part C
Description: To test the plugin’s functions of Listen-to-A&D-Device and stop-listening.
Pre-Conditions: Android device is ready for receiving data from A&D devices.
Test Steps:
- Take a measurement, the Android screen should show the readings.
- Click “Stop Listening” button, the Android screen should show “BT listening stopped”.
- Take a measurement, no readings should show up at the app’s data area.
- Click "Request for Discoverable" button.
- Click “Listen to Discoverable” button, the Android screen should show “BT listening started”.
- Take a measurement, the screen should show the previous readings then the current readings.
- Exit the test app.
Test Records:
Version |
Android Device |
Medical Device |
Repeat number |
Pass or Fail |
Test Date |
By |
Notes |
Review-2 (0261a7d) |
HTC A7275 |
UA-767 or UC-321 |
6 |
Fail |
Mar 8, 2013 |
Wei |
Fail to get readings at step 5 ( 3 fails out of 6 attempts) |
Review-2 (aac4148) |
HTC A7275 |
UA-767 |
4 |
pass |
Mar 14, 2013 |
Wei |
|
Review-2 (aac4148) |
HTC A7275 |
UC-321 |
3 |
pass |
Mar 14, 2013 |
Wei |
|
Review-2 (aac4148) |
MOTOROLA XT885 |
UA-767 |
3 |
pass |
Mar 14, 2013 |
Edward Wei |
|
Review-2 (aac4148) |
MOTOROLA XT885 |
UC-321 |
2 |
pass |
Mar 14, 2013 |
Edward Wei |
|
Test Case 5
Test Case Number: TC05
Test Title: Plugin Function test part D
Description: To test the plugin’s functions of Paired/Bounded-Device.
Pre-Conditions: The test application has been started.
Test Steps:
- Click “Paired/Bounded-Device” button, the Android screen should show a list of paired devices for the Android device.
- Exit the test app.
Test Records:
Version |
Android Device |
Medical Device |
Repeat number |
Pass or Fail |
Test Date |
By |
Notes |
Review-2 |
HTC A7275
|
/ |
2 |
pass |
Mar 8, 2013 |
Wei |
|
Review-2 (aac4148) |
MOTOROLA XT885
|
/ |
2 |
pass |
Mar 14, 2013 |
Wei |
|
Test Case 6
Test Case Number: TC06
Test Title: stability test part A
Description: To test the application's ability of receiving a serial of measurements with different distance between the two devices.
Pre-Conditions: Android device is ready for receiving data from A&D devices.
Test Steps:
- Make the two devices in a certain distance.
- Take a measurement by randomly choosing different medical devices (UA-767 or UC-321), the Android screen should show the readings.
- Repeat step 2 for 3 more times.
- Exit the test app.
Test Records:
Version |
Android Device |
Medical Device |
distance |
Repeat number |
Pass or Fail |
Test Date |
By |
Notes |
Review-2 |
HTC A7275 |
UA-767 and UC-321 |
2m |
2 |
pass |
Mar 12, 2013 |
Wei |
|
Review-2 |
HTC A7275 |
UA-767 and UC-321 |
5m |
2 |
pass |
Mar 12, 2013 |
Wei |
|
Review-2 |
MOTOROLA XT885 |
UA-767 and UC-321 |
2m |
2 |
pass |
Mar 14, 2013 |
Wei |
|
Review-2 |
MOTOROLA XT885 |
UA-767 and UC-321 |
5m |
2 |
pass |
Mar 14, 2013 |
Wei |
|
Test Case 7
Test Case Number: TC07
Test Title: stability test part B
Description: To test the application's stability after receiving illogic operation.
Pre-Conditions: Android device is ready for receiving data from A&D devices.
Test Steps:
- Click "Disable Bluetooth" button.
- Click "Listen to A&D Devices", the Android screen may show errors.
- Click "Request for Discoverable" button.
- Click “Listen to A&D Devices" button.
- Take a measurement, then check if Android screen can show the readings.
- Exit the test app.
Test Records:
Version |
Android Device |
Medical Device |
Repeat number |
Pass or Fail |
Test Date |
By |
Notes |
Review-2 |
HTC |
UA-767 or UC-321 |
2 |
/ |
Mar 12, 2013 |
Wei |
App exits at step 1. |
Review-2 (aac4148) |
MOTOROLA XT885 |
UA-767 |
3 |
pass |
Mar 14, 2013 |
Edward, Wei |
|
Review-2 (aac4148) |
MOTOROLA XT885 |
UC-321 |
2 |
pass |
Mar 14, 2013 |
Edward, Wei |
|
Test Summary Records
Version |
Summary |
Date |
Review-2 |
|
|