MMDI Integration Test

From CDOT Wiki
Revision as of 14:36, 12 March 2013 by Wsong18 (talk | contribs) (Test Case 7)
Jump to: navigation, search

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

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:
      1. Android device is in the “discoverable” state.
      2. Android A&D Bluetooth server is “listening”.
    • To get the status we need the following process:
      1. Start the test application (named: NexJ MMDI))
      2. Enable Bluetooth (need only when Bluetooth is at disabled state)
      3. Request for Discoverable (Bluetooth discoverable state lasts for only 5 minutes for many Android devices.)
      4. Start listen A&D Devices
      5. Make sure taking the first measurement within Bluetooth Discoverable state.
  • “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:

  1. Make a measurement on an A&D device.
  2. Enter the PIN (39121440) when prompt on an Android device.
  3. The measurement reading(s) should be showed on the screen.
  4. 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

3

pass

Mar 8, 2013

Wei


Review-2

HTC

UC-321

3

pass

Mar 8, 2013

Wei


Review-2

MOTOROLA

UA-767






Review-2

MOTOROLA

UC-321








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:

  1. Click “Is Bluetooth Enabled” button, the screen should show “BT is enabled”.
  2. Click “Disable Bluetooth” button, screen should show “Disable BT was successfully” and the Bluetooth icon should disappear from Android top bar.
  3. Click “Is Bluetooth Enabled” button, screen should show “BT is not enabled”.
  4. 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.
  5. Click “Is Bluetooth Enabled” button, the screen should show “BT is enabled”.
  6. Take a measurement, the Android screen should show the readings.
  7. 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

3

pass

Mar 8, 2013

Wei


Review-2

MOTOROLA

UA-767 or UC-321






Review-2










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:

  1. Click “Listen to A&D Devices” button, the screen should show “BT listening started”.
  2. Take a measurement, the Android screen may show the readings.
  3. Click “Request for Discoverable” button, then click “Yes” for the pop-up.
  4. Take a measurement, the Android screen should show the previous readings, then the current readings.
  5. Exit the test app.

Test Records:

Version

Android Device

Medical Device

Readings are Received at step 1?

Repeat number

Pass or Fail

Test Date

By

Notes

Review-2

HTC

UA-767

No

3

pass

Mar 8, 2013

Wei


Review-2

HTC

UC-321

No

3

pass

Mar 8, 2013

Wei


Review-2

MOTOROLA



















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:

  1. Take a measurement, the Android screen should show the readings.
  2. Click “Stop Listening” button, the Android screen should show “BT listening stopped”.
  3. Take a measurement, no readings should show up at the app’s data area.
  4. Click “Listen to Discoverable” button, the Android screen should show “BT listening started”.
  5. Take a measurement, the screen should show the previous readings then the current readings.
  6. 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

6

Fail

Mar 8, 2013

Wei

Fail to get readings at step 5 ( 3 fails out of 6 attempts)

Review-2

MOTOROLA

UA-767 or UC-321








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:

  1. Click “Paired/Bounded-Device” button, the Android screen should show a list of paired devices for the Android device.
  2. Exit the test app.


Test Records:

Version

Android Device

Medical Device

Repeat number

Pass or Fail

Test Date

By

Notes

Review-2

HTC

/

2

pass

Mar 8, 2013

Wei


Review-2

MOTOROLA









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:

  1. Make the two devices in a certain distance.
  2. Take a measurement by randomly choosing different medical devices (UA-767 or UC-321), the Android screen should show the readings.
  3. Repeat step 2 for 3 more times.
  4. Exit the test app.

Test Records:

Version

Android Device

Medical Device

distance

Repeat number

Pass or Fail

Test Date

By

Notes

Review-2

HTC

UA-767 and UC-321

2m

2

pass

Mar 12, 2013

Wei


Review-2

HTC

UA-767 and UC-321

5m

2

pass

Mar 12, 2013

Wei


Review-2

MOTOROLA










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:

  1. Click "Disable Bluetooth" button.
  2. Click "Listen to A&D Devices", the Android screen may show errors.
  3. Click "Request for Discoverable" button.
  4. Click “Listen to A&D Devices" button.
  5. Take a measurement, then check if Android screen can show the readings.
  6. Exit the test app.

Test Records:

Version

Android Device

Medical Device

Repeat number

Pass or Fail

Test Date

By

Notes

HTC | UA-767 or UC-321 | 2 | / | Mar 12, 2012 | | App exits at step 1.

Review-2

MOTOROLA







Test Summary Records

Version

Summary

Date

Review-2