Share app via Bluetooth

Fixture

  1. One device, A, with Release Candidate installed and running, set up with the following Phone Number and Name:
    • 55501 TestA
  2. One device, B, without Serval Mesh installed
  3. On device A:
    1. Go to Android home screen (Home control) → Menu control → SettingsWireless & networks
    2. Ensure Airplane mode is OFF
    3. Turn Bluetooth ON
    4. Go to Bluetooth settings
    5. Set Device name to TestA
    6. Turn Bluetooth OFF
  4. On device B:
    1. Go to Android home screen (Home control) → Menu control → SettingsWireless & networks
    2. Ensure Airplane mode is OFF
    3. Turn Bluetooth ON
    4. Go to Bluetooth settings
    5. Set Device name to TestB
    6. Turn Discoverable ON

Test

  1. On device A:
    1. Go to Serval main screen → Share Us
    2. Press Share Serval button
    3. ASSERT Device A pops up a Complete action using menu which includes a Bluetooth entry
    4. Press Bluetooth
    5. IF Device A pops up a dialog To use Bluetooth services, you must first turn on Bluetooth. Turn on Bluetooth now? then press Turn on
    6. ASSERT Device A displays a Bluetooth device picker screen
    7. IF The device TestB is not listed, then press Scan for devices
    8. ASSERT Device A now lists TestB as a Bluetooth device
    9. Press TestB
    10. ASSERT Device A briefly displays a pop-over message Sending file to “TestB”
  2. ASSERT Device B pops up a notification of Bluetooth share: incoming file
  3. On device B:
    1. Pull down Android status bar and under Notifications press Bluetooth share: incoming file
    2. ASSERT Device B pops up a File transfer dialog, “TestA” wants to send you org.servalproject-1.apk (1.83MB). Accept this file?
    3. Press Accept
    4. ASSERT A download icon appears in Android status bar
    5. Pull down Android status bar
    6. ASSERT A download progress bar appears and completes within half a minute
    7. ASSERT A notification Bluetooth share: Received files appears
    8. Press Bluetooth share: Received file notification entry
    9. ASSERT A list of received files is displayed, with org.servalproject-1.apk at the top
    10. Press org.servalproject-1.apk entry
    11. ASSERT A Serval Mesh installation screen appears, asking Do you want to install this application? and a list of permissions
    12. Press Install
    13. ASSERT An Installing… progress bar appears for several seconds, then Application installed message
    14. Press Open button
    15. ASSERT Serval Mesh app starts, with HERE BE DRAGONS dialog displayed
    16. Press I agree button
    17. ASSERT Serval Mesh app runs through proper unpack sequence, including a Superuser Request, then Welcome to the Serval Mesh. with a SETUP WIZARD button

Results


Login