Test Cases
Test Cases
Version 1.5
2004, WWW.BUGHUNTRESS.COM
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
Revision History
Date 05/Sep/02 13/Sep/02 Version 1.0 1.5 Initial edition Test cases added for build 2 Description Author Alexandre Stelmakh Alexandre Stelmakh
Example
Page 2 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
Table of Contents
1. 1.1 1.2 1.3 2. 2.1 Introduction Purpose Background Scope 6 6 6 6 7 7 7 7 7 7 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 9 10 10 10
Test Cases Test Case: Start application. No user account is available 2.1.1 Brief Description 2.2 Test Case: Start application. Automatic login feature is enabled 2.2.1 Brief Description 2.3 Test Case: Start application. Automatic login feature is disabled 2.3.1 Brief Description 2.4 Test Case: Shutdown application 2.4.1 Brief Description 2.5 Test Case: Show application contact list 2.5.1 Brief Description 2.6 Test Case: Initiate internet connection 2.6.1 Brief Description 2.7 Test Case: Close internet connection 2.7.1 Brief Description 2.8 Test Case: Connect to ICQ service. At start up (Automatic login feature is enabled) 2.8.1 Brief Description 2.9 Test Case: Connect to ICQ service. After application is launched (Automatic login feature is disabled) 2.9.1 Brief Description 2.10 Test Case: Disconnect from ICQ service 2.10.1 Brief Description 2.11 Test Case: Send message to user from contact list. Create new message 2.11.1 Brief Description 2.12 Test Case: Send message to user from contact list. Enter new text message 2.12.1 Brief Description 2.13 Test Case: Send message to user from contact list. Send created message to specified recipient 2.13.1 Brief Description. 2.14 Test Case: Send message to user from contact list. Cancel message creation 2.14.1 Brief Description 2.15 Test Case: Receive message from friend on contact list. Application is in foreground mode 2.15.1 Brief Description 2.16 Test Case: Receive message from friend on contact list. Application is in background mode 2.16.1 Brief Description 2.17 Test Case: Fonts. Display received messages with fonts, font and background colors as it is specified by message sender 2.17.1 Brief Description 2.18 Test Case: Audible and flashing alerts. User from the contact list is online feature is enabled
Example
Page 3 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
2.18.1 Brief Description Test Case: Audible and flashing alerts. Incoming message feature is enabled 2.19.1 Brief Description 2.20 Test Case: Audible and flashing alerts. Error while sending a message feature is enabled 2.20.1 Brief Description 2.21 Test Case: Audible and flashing alerts. User from the contact list is online feature is disabled 2.21.1 Brief Description 2.22 Test Case: Audible and flashing alerts. Incoming message feature is disabled 2.22.1 Brief Description 2.23 Test Case: Audible and flashing alerts. Error while sending a message feature is disabled 2.23.1 Brief Description 2.24 Test Case: Graphical emoticons. Displaying in incoming messages 2.24.1 Brief Description 2.25 Test Case: Graphic emoticons. Displaying into outgoing messages 2.25.1 Brief Description 2.26 Test Case: Internet connection management. Automatic connection to Internet after application startup 2.26.1 Brief Description 2.27 Test Case: Internet connection management. Automat disconnection from Internet on application exit 2.27.1 Brief Description 2.28 Test Case: Internet connection management. Startup of application if Internet connection exists 2.28.1 Brief Description 2.29 Test Case: Display support. Color display 2.29.1 Brief Description 2.30 Test Case: Display support. Black & white display 2.30.1 Brief Description 2.31 Test Case: Display support. 320x320 resolution and small fonts on Sony Cli 2.31.1 Brief Description 2.32 Test Case: Display support. 320x480 resolution and small fonts on Sony Cli NR70 2.32.1 Brief Description 2.33 Test Case: Display support. High density API in 320x320 mode on Palm OS 5 simulator 2.33.1 Brief Description 2.34 Test Case: Maximum message length 2.34.1 Brief Description 2.35 Test Case: Japanese characters 2.35.1 Brief Description 2.36 Test Case: User Interface 2.36.1 Brief Description 2.37 Test Case: User Interface. Input areas must accept keyboard input, Japanese input, and graffiti shortcuts 2.37.1 Brief description 2.38 Test Case: Setup user account 2.38.1 Brief description 2.39 Test Case: Setup user account. Remember password options 2.39.1 Brief description 2.19
10 10 10 10 10 10 10 11 11 11 11 11 11 11 11 11 11 12 12 12 12 12 12 12 12 12 12 12 12 12 13 13 13 13 13 13 13 13 13 13 13 13 13
Example
Page 4 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
2.40 2.41 2.42 2.43 2.44 2.45 2.46 2.47 2.48 2.49 2.50 2.51 2.52 2.53 2.54 2.55 2.56 2.57 2.58 2.59 2.60 2.61
Test Case: Setup user account. Several user accounts for ICQ service 2.40.1 Brief description Test Case: Remove ICQ service user account 2.41.1 Brief description Test Case: Download contact list from server 2.42.1 Brief description Test Case: Disable automatic download of contact list 2.43.1 Brief description Test Case: Download contact list upon user request 2.44.1 Brief description Test Case: Upload contact list to server 2.45.1 Brief description Test Case: Disable automatic upload of contact list 2.46.1 Brief description Test Case: Upload contact list upon user request 2.47.1 Brief description Test Case: Add new user to contact list 2.48.1 Brief description Test Case: Delete user from contact list 2.49.1 Brief description Test Case: Change connection status 2.50.1 Brief description Test Case: Change current account. Support of several accounts 2.51.1 Brief description Test Case: Change current account. Account change without application shutdown 2.52.1 Brief description Test Case: Change user status into idle 2.53.1 Brief description Test Case: Change user status into idle. Time interval 2.54.1 Brief description Test Case: View message history 2.55.1 Brief description Test Case: Export message history 2.56.1 Brief description Test Case: Select existing user group from contact list 2.57.1 Brief description Test Case: Select existing user group from contact list. Rename group 2.58.1 Brief description Test Case: Select existing user group from contact list. Add new group 2.59.1 Brief description Test Case: Select existing user group from contact list. Collapse/expand user group 2.60.1 Brief description Test Case: Select existing user group from contact list. Delete group 2.61.1 Brief description
14 14 14 14 14 14 14 14 14 14 14 14 14 14 15 15 15 15 15 15 15 15 16 16 16 16 16 16 16 16 16 16 16 16 16 16 17 17 17 17 17 17 17 17
Example
Page 5 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
Test Cases
1.
1.1
Introduction
Purpose
This X project document has the following objective: To determine the list of Test Cases that need to be executed when assuring the system's quality. Each test case is described below in accordance with Test Case Specification.
1.2
Background
The system to be developed is an instant messenger for Palm platform. According to Software Requirement Specification the system is to support the ability to use ICQ instant messaging service. This instant messenger is intended for Palm software market and is positioned as a standalone product.
1.3
Scope
Test Cases document contains the list of Use Cases only without their detailed description. Target audience of this document is Quality Assurance Team.
Example
Page 6 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
2.
Test Cases
Test cases need to be executed on: Devices running Palm OS 3.5 through Palm OS 5.0. Latest version of Palm OS emulator equipped with Palm OS ROMS 3.5 through 4.1. Palm OS 5 Simulator (to check Palm OS 5 compatibility).
2.1
2.1.1
2.2
2.2.1
2.3
2.3.1
2.4
2.4.1
2.5
2.5.1
2.6
2.6.1
Page 7 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
2.7
2.7.1
2.8 Test Case: Connect to ICQ service. At start up (Automatic login feature is enabled)
2.8.1 Brief Description The system enables ICQ service connection on startup in case the user sets ICQ service to connect on startup. See also Use Case Specification: Connect to ICQ service. See also Use Case Specification: Start the application.
2.9 Test Case: Connect to ICQ service. After application is launched (Automatic login feature is disabled)
2.9.1 Brief Description The system enables the user to connect to ICQ service after the application is launched. See also Use Case Specification: Connect to ICQ service. See also Use Case Specification: Start application.
2.10
2.10.1 Brief Description The system makes it possible to disconnect from ICQ service. The system needs to be connected to ICQ service.
2.11
Test Case: Send message to user from contact list. Create new message
2.11.1 Brief Description The system provides the capability to create a new message for ICQ service. To create a message the user should select a message recipient from the contact list. The system enables the creation of a new message for existing users with contact list accounts only. See also Use Case Specification: Create new message.
Example
Page 8 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
2.12 Test Case: Send message to user from contact list. Enter new text message
2.12.1 Brief Description The system provides the capability to enter a new text message for ICQ service. See also Use Case Specification: Create new message.
2.13 Test Case: Send message to user from contact list. Send created message to specified recipient
2.13.1 Brief Description. The system provides the capability to send a message to a specified recipient. See also Use Case Specification: Create new message.
2.14 Test Case: Send message to user from contact list. Cancel message creation
2.14.1 Brief Description The system provides the capability to cancel message creation. See also Use Case Specification: Create new message.
2.15 Test Case: Receive message from friend on contact list. Application is in foreground mode
2.15.1 Brief Description The system makes it possible to receive a message from ICQ service in a foreground mode. This operation is to be performed automatically when a new message arrives. The system is to indicate a new message has come from the sender whose name is highlighted in the user's contact list. See also Use Case Specification: Read incoming message.
2.16 Test Case: Receive message from friend on contact list. Application is in background mode
2.16.1 Brief Description The system provides the capability to receive a message from ICQ service in a background mode. This operation is to be performed automatically when a new message arrives. The system is to indicate a new message in the user' s contact list on the account it was sent from. See also Use Case Specification: Read incoming message.
Example
Page 9 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
2.17 Test Case: Fonts. Display received messages with fonts, font and background colors as it is specified by message sender
2.17.1 Brief Description This test shows that the system is to display received messages with fonts, font and background colors as it is specified by the message sender. Taking into account font limitations of Palm OS, font style and colors are to be shown in the closest possible style. See also Use Case Specification: Manage user accounts.
2.18 Test Case: Audible and flashing alerts. User from the contact list is online feature is enabled
2.18.1 Brief Description The system is to support audible and flashing alerts for the user on the contact list in an online event. See also Use Case Specification: Manage user accounts.
2.19 Test Case: Audible and flashing alerts. Incoming message feature is enabled
2.19.1 Brief Description The system is to support audible and flashing alerts for an incoming message event. See also Use Case Specification: Manage user accounts.
2.20 Test Case: Audible and flashing alerts. Error while sending a message feature is enabled
2.20.1 Brief Description The system is to support audible and flashing error alerts in a message event. See also Use Case Specification: Manage user accounts.
2.21 Test Case: Audible and flashing alerts. User from the contact list is online feature is disabled
2.21.1 Brief Description The system is to disable audible and flashing alerts for the user on the contact list in an online event. See also Use Case Specification: Manage user accounts.
Example
Page 10 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
2.22 Test Case: Audible and flashing alerts. Incoming message feature is disabled
2.22.1 Brief Description The system is to disable audible and flashing alerts an the incoming message event. See also Use Case Specification: Manage user accounts.
2.23 Test Case: Audible and flashing alerts. Error while sending a message feature is disabled
2.23.1 Brief Description The system is to disable audible and flashing error alerts in a message event. See also Use Case Specification: Manage user accounts.
2.24
2.24.1 Brief Description The system supports graphic emoticons displayed in incoming messages.
2.25
2.25.1 Brief Description The system provides the capability to insert graphic emoticons into outgoing messages.
2.26 Test Case: Internet connection management. Automatic connection to Internet after application startup
2.26.1 Brief Description The system provides the capability to choose the option Automatically connect to Internet on application startup. If this option is enabled the Internet connection is to be initiated automatically without additional user actions. If there is no connection on application startup the system is to display an error message. See also Use Case Specification: Start application.
Example
Page 11 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
2.27 Test Case: Internet connection management. Automat disconnection from Internet on application exit
2.27.1 Brief Description The system provides the capability to choose the option Automatically disconnect from Internet on application exit. If this option is enabled Internet connection event is to be closed automatically on application exit without additional user actions. See also Use Case Specification: Start application.
2.28 Test Case: Internet connection management. Startup of application if Internet connection exists
2.28.1 Brief Description The system provides the capability to start the application when there is Internet connection. The system is to make it possible to enable/disable the feature mentioned. See also Use Case Specification: Start application.
2.29
2.29.1 Brief Description The system is to support color displays of Palm devices all in one.
2.30
2.30.1 Brief Description The system is to support black&white displays of Palm devices all in one.
2.31 Test Case: Display support. 320x320 resolution and small fonts on Sony Cli
2.31.1 Brief Description The system is self-adaptive to device capabilities. In case of Sony Cli devices 320x320 resolution and small fonts should be supported.
2.32 Test Case: Display support. 320x480 resolution and small fonts on Sony Cli NR70
2.32.1 Brief Description The system is self-adaptive to device capabilities. In case of Sony Clie NR70 series 320x480 resolution and small fonts should be supported.
2.33
Test Case: Display support. High density API in 320x320 mode on Palm OS
Example
Page 12 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
5 simulator
2.33.1 Brief Description The system is self-adaptive to device capabilities. In case of Palm OS 5 high density API in 320x320 mode should be supported.
2.34
2.34.1 Brief Description The system is not to support sending and receiving of messages that are longer than the maximum text limits allowed by ICQ service.
2.35
2.35.1 Brief Description The application interacts adequately with Japanese Windows ICQ clients and Japanese version of Palm OS
2.36
2.36.1 Brief Description User interface is compatible with standard Palm OS User interface look and feel.
2.37 Test Case: User Interface. Input areas must accept keyboard input, Japanese input, and graffiti shortcuts
2.37.1 Brief description All text input areas must accept keyboard input, Japanese input, and graffiti shortcuts.
2.38
2.38.1 Brief description The system provides the capability to setup a user account for ICQ service. See also Use Case Specification: Manage user accounts.
2.39
2.39.1 Brief description The system provides the capability to choose the option Remember password for ICQ service for each user account individually. See also Use Case Specification: Manage user accounts.
Example
Page 13 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
2.40
Test Case: Setup user account. Several user accounts for ICQ service
2.40.1 Brief description The system provides the capability to setup several user accounts for ICQ service. See also Use Case Specification: Manage user accounts.
2.41
2.41.1 Brief description The system provides the capability to remove an ICQ user account from the system. In this case the user should specify the user account to be removed. The system should ask for confirmation of removal. Then the user can either cancel or confirm the account removal. See also Use Case Specification: Manage user accounts.
2.42
2.42.1 Brief description The system provides the capability to download a contact list from the server. This operation is to be performed automatically during connection to ICQ service.
2.43
2.43.1 Brief description The system provides the capability to disable automatic download of the contact list.
2.44
2.44.1 Brief description The system is to make it possible to download the contact list upon the user request.
2.45
2.45.1 Brief description The system is to make it possible to upload a changed contact list to the server. This operation is to be performed automatically when the contact list has been changed.
2.46
2.46.1 Brief description The system is to make it possible to disable automatic upload of the contact list.
Example
Page 14 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
2.47
2.47.1 Brief description The system provides the capability to upload the contact list upon the user request.
2.48
2.48.1 Brief description The system should provide the capability to add a friend to the contact list. In this case the user should provide the system with the following information: Account type. Existing user account name.
If the specified account exists the user will be added to the contact list. See also Add new contact to contact list (Use Case Specification).
2.49
2.49.1 Brief description The system is to provide the capability to delete a friend from the contact list. To do that the user should specify the user account to be removed. The system should ask for confirmation of removal. Then the user can either cancel or confirm account removal.
2.50
2.50.1 Brief description The system is to provide the capability to change the user connection status. For an ICQ account the following statuses should be supported: Available; Free for chat; N/A (Extended away); Occupied; DND (Do Not Disturb); Invisible; Offline; Away.
Example
Page 15 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
2.51
2.51.1 Brief description The system is to support several accounts. See also Use Case Specification: Manage user accounts.
2.52 Test Case: Change current account. Account change without application shutdown
2.52.1 Brief description The system is to provide the capability to change the account without application shutdown. To do this the user should specify another account to log in. See also Use Case Specification: Manage user accounts.
2.53
2.53.1 Brief description The system is to make it possible to automatically change user status into idle after the user has been inactive for a specified time. See also Use Case Specification: Manage user accounts.
2.54
2.54.1 Brief description The system provides the capability to specify the time interval for automatic change of user status to idle. See also Use Case Specification: Manage user accounts.
2.55
2.55.1 Brief description The system is to provide the capability to view message history.
2.56
2.56.1 Brief description The system provides the capability to export message history to a memo in the Memo pad application.
2.57
2.57.1 Brief description The system provides the capability to select an existing user group from the contact list. See also Use Case Specification: Select user group from contact list.
Example
Page 16 of 17
BUG HUNTRESS
Project: Document: File: X project Test Cases Test Cases_1.doc Version: Date: 1.5 16/Sept/02
2.58
Test Case: Select existing user group from contact list. Rename group
2.58.1 Brief description The system provides the capability to rename a user group in the contact list. See also Use Case Specification: Select user group from contact list.
2.59
Test Case: Select existing user group from contact list. Add new group
2.59.1 Brief description The system provides the capability to add a new group to the contact list. See also Use Case Specification: Select user group from contact list.
2.60 Test Case: Select existing user group from contact list. Collapse/expand user group
2.60.1 Brief description The system provides the capability to collapse/expand a user group in the contact list. See also Use Case Specification: Select user group from contact list.
2.61
Test Case: Select existing user group from contact list. Delete group
2.61.1 Brief description The system provides the capability to delete user group from the contact list. See also Use Case Specification: Select user group from contact list.
Example
Page 17 of 17