TestPlan

Differences between revisions 14 and 15
Revision 14 as of 2007-08-04 18:11:53
Size: 3124
Editor: 60
Comment: Added feisty test cases
Revision 15 as of 2008-08-06 16:29:14
Size: 3126
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
This page provides a set of tests which can form basic acceptance test for bluetooth in Ubuntu.[[BR]]
We insist that only [https://launchpad.net/people/bluetooth Bluetooth team] members update this page while normal users should use it as reference while filing bugs.[[BR]]
This page provides a set of tests which can form basic acceptance test for bluetooth in Ubuntu.<<BR>>
We insist that only [[https://launchpad.net/people/bluetooth|Bluetooth team]] members update this page while normal users should use it as reference while filing bugs.<<BR>>
Line 11: Line 11:
||1.||Detect local device (onboard device or bluetooth dongle).[[BR]] $ ''hcitool dev''|| ||PASS || || PASS || || PASS || ||
||2.||Detect remote device.[[BR]] $ ''hcitool inq''[[BR]] $ ''hcitool scan''|| Remote device is discoverable/visible || PASS || || PASS || || PASS || ||
||3.||Discover services provided by remote device.[[BR]] $ ''sdptool browse <btaddr>''|| Remote device is discoverable/visible || PASS || || PASS || || PASS || ||
||4.||Discover computer from remote device & do the pairing.[[BR]] ''Procedure dependent on remote device''|| '''Edgy:'''[[BR]] * bluez-passkey-gnome installed [[BR]] * bt-applet started || PASS || || PASS || || PASS || ||
||5.||Send file to device.[[BR]]''Select '''Send to...''' from context menu of a file. Then select '''Bluetooth (OBEX)''' '' [[BR]] OR [[BR]]$ ''gnome-obex-send -d <btaddr> <filename>''[[BR]]'''KDE:''' ''Select '''Actions''' from context menu of a file. Then select '''Send with Bluetooth...''' ''|| * Test 2 passing [[BR]] * Packages nautilus-sendto, gnome-bluetooth installed (kdebluetooth for KDE)|| GUI method: PASS || || command line: PASS; GUI (Gnome): FAIL || || GUI: PASS; Command Line: PASS || ||
||6.||Send file from device to computer.[[BR]] ''Procedure dependent on remote device''|| * Test 4 passing [[BR]] * Package gnome-bluetooth installed (kdebluetooth for KDE)[[BR]] * gnome-obex-server started|| PASS || || PASS || || PASS || ||
||7.||HID is working.[[BR]]'''Mouse/Keyboard:''' $ ''sudo hidd --connect <btaddr> (Requires Test 2 passing)''[[BR]]'''Sony Ericsson phones:''' ''Either use above method OR Start Bluetooth Remote Control, select the device (PC) and test Desktop profile (Requires Test 4 passing)''|| * HIDD_ENABLED=1 in /etc/default/bluez-utils (/etc/default/bluetooth for edgy) [[BR]] * Bluetooth mouse/keyboard or Sony Ericsson phones with bluetooth remote control functionality ;) (BluetoothRemoteControl)|| PASS || || Tested with Sony Ericsson K700i. [[BR]] Connect from PC to Phone - PASS. [[BR]] Connect from Phone to PC - PASS only if once connected from PC to phone || || Tested with Sony Ericsson K750i. [[BR]] Connect from PC to Phone - PASS. [[BR]] Connect from Phone to PC - PASS only if once connected from PC to phone. Sometimes FAILS || ||
||1.||Detect local device (onboard device or bluetooth dongle).<<BR>> $ ''hcitool dev''|| ||PASS || || PASS || || PASS || ||
||2.||Detect remote device.<<BR>> $ ''hcitool inq''<<BR>> $ ''hcitool scan''|| Remote device is discoverable/visible || PASS || || PASS || || PASS || ||
||3.||Discover services provided by remote device.<<BR>> $ ''sdptool browse <btaddr>''|| Remote device is discoverable/visible || PASS || || PASS || || PASS || ||
||4.||Discover computer from remote device & do the pairing.<<BR>> ''Procedure dependent on remote device''|| '''Edgy:'''<<BR>> * bluez-passkey-gnome installed <<BR>> * bt-applet started || PASS || || PASS || || PASS || ||
||5.||Send file to device.<<BR>>''Select '''Send to...''' from context menu of a file. Then select '''Bluetooth (OBEX)''' '' <<BR>> OR <<BR>>$ ''gnome-obex-send -d <btaddr> <filename>''<<BR>>'''KDE:''' ''Select '''Actions''' from context menu of a file. Then select '''Send with Bluetooth...''' ''|| * Test 2 passing <<BR>> * Packages nautilus-sendto, gnome-bluetooth installed (kdebluetooth for KDE)|| GUI method: PASS || || command line: PASS; GUI (Gnome): FAIL || || GUI: PASS; Command Line: PASS || ||
||6.||Send file from device to computer.<<BR>> ''Procedure dependent on remote device''|| * Test 4 passing <<BR>> * Package gnome-bluetooth installed (kdebluetooth for KDE)<<BR>> * gnome-obex-server started|| PASS || || PASS || || PASS || ||
||7.||HID is working.<<BR>>'''Mouse/Keyboard:''' $ ''sudo hidd --connect <btaddr> (Requires Test 2 passing)''<<BR>>'''Sony Ericsson phones:''' ''Either use above method OR Start Bluetooth Remote Control, select the device (PC) and test Desktop profile (Requires Test 4 passing)''|| * HIDD_ENABLED=1 in /etc/default/bluez-utils (/etc/default/bluetooth for edgy) <<BR>> * Bluetooth mouse/keyboard or Sony Ericsson phones with bluetooth remote control functionality ;) (BluetoothRemoteControl)|| PASS || || Tested with Sony Ericsson K700i. <<BR>> Connect from PC to Phone - PASS. <<BR>> Connect from Phone to PC - PASS only if once connected from PC to phone || || Tested with Sony Ericsson K750i. <<BR>> Connect from PC to Phone - PASS. <<BR>> Connect from Phone to PC - PASS only if once connected from PC to phone. Sometimes FAILS || ||

This page provides a set of tests which can form basic acceptance test for bluetooth in Ubuntu.
We insist that only Bluetooth team members update this page while normal users should use it as reference while filing bugs.
The page should be updated whenever there is new linux-image or bluez-utils package in repos.

Prerequisites:

This test plan assumes that bluez-utils package is installed with default configuration and bluetooth services are started. Any additional requirements will be specified when needed.

Test Plan:

Number

Test/Steps

Requirements

Ubuntu 6.06.1 LTS (Dapper)

Bugs if any

Ubuntu 6.10 (Edgy)

Bugs if any

Ubuntu 7.04 (feisty)

Bugs if any

1.

Detect local device (onboard device or bluetooth dongle).
$ hcitool dev

PASS

PASS

PASS

2.

Detect remote device.
$ hcitool inq
$ hcitool scan

Remote device is discoverable/visible

PASS

PASS

PASS

3.

Discover services provided by remote device.
$ sdptool browse <btaddr>

Remote device is discoverable/visible

PASS

PASS

PASS

4.

Discover computer from remote device & do the pairing.
Procedure dependent on remote device

Edgy:
* bluez-passkey-gnome installed
* bt-applet started

PASS

PASS

PASS

5.

Send file to device.
Select Send to... from context menu of a file. Then select Bluetooth (OBEX)
OR
$ gnome-obex-send -d <btaddr> <filename>
KDE: Select Actions from context menu of a file. Then select Send with Bluetooth...

* Test 2 passing
* Packages nautilus-sendto, gnome-bluetooth installed (kdebluetooth for KDE)

GUI method: PASS

command line: PASS; GUI (Gnome): FAIL

GUI: PASS; Command Line: PASS

6.

Send file from device to computer.
Procedure dependent on remote device

* Test 4 passing
* Package gnome-bluetooth installed (kdebluetooth for KDE)
* gnome-obex-server started

PASS

PASS

PASS

7.

HID is working.
Mouse/Keyboard: $ sudo hidd --connect <btaddr> (Requires Test 2 passing)
Sony Ericsson phones: Either use above method OR Start Bluetooth Remote Control, select the device (PC) and test Desktop profile (Requires Test 4 passing)

* HIDD_ENABLED=1 in /etc/default/bluez-utils (/etc/default/bluetooth for edgy)
* Bluetooth mouse/keyboard or Sony Ericsson phones with bluetooth remote control functionality Wink ;) (BluetoothRemoteControl)

PASS

Tested with Sony Ericsson K700i.
Connect from PC to Phone - PASS.
Connect from Phone to PC - PASS only if once connected from PC to phone

Tested with Sony Ericsson K750i.
Connect from PC to Phone - PASS.
Connect from Phone to PC - PASS only if once connected from PC to phone. Sometimes FAILS


CategoryBluetooth CategoryBluetooth CategoryBluetooth