Qtopia/Contacts

Test cases 

Following are the use case tests for Contact application on a PDA device.

When testing, it is important to check that changes are recorded not just when the change is made, but also that it persists after stopping and restarting the application. Check that the application is not fast-loaded prior to testing storage.
First check whether a new contact gets added successfully. Then before performing tests enter all Contacts Testdata tables except "Tony Windsor", "Pamela Brown" and "Martin Cook".

 Meeting attendees

Test Purpose
Verify that you can add new contacts.
Test Description
  1. Click on “Contacts” menu. 
  2. Select “new” menu item. 
  3. Verify that you get a dialog for adding new contact.
  4. Enter the contacts data for "Tony Windsor" and press OK button.
  5. While typing in First and Last name verify to see the File As field is getting automatically set appropriately.
  6. Verify that new contact is added successfully.
  7. Carry out the step 2 - 6 for "Pamela Brown".
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Party invitations

Test Purpose
Verify that contacts can be filtered by a category
Test Description
  1. Select appropriate category (“Close Relatives”) from category combo box. (It is located at bottom right corner)
  2. It shall list contacts "Daniel Santillo" and "Edward Ford" (belonging to that particular category).
  3. See whether contact numbers are being displayed.
  4. If not then go to “View” menu, select “Configure header” option. This will show “Configure columns to display dialog 
  5. Select desired columns (Home Phone etc) and press OK button.
  6. Verify whether desired information has been displayed successfully and correctly.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Modifying contact information

Test Purpose
Verify that a contact can be modified
Test Description
  1. Select appropriate category view or select “all” category.
  2. Type the name of the friend (John Foglin) in the search field. This will highlight the corresponding contact file.
  3. Click on it. This will show the dialog with all information attributes for John Foglin.
  4. Modify changed information (contact numbers, Home street, Home city etc).
  5. Click on “OK” button to save.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 New Category

Test Purpose
Verify that a new category can be created
Test Description
  1. Launch “Edit Address” dialog by clicking “New” menu item from contact menu
  2. Click on the button just beside category selection combo box. This will display “Edit Categories” dialog box.
  3. Click on Add button from “Edit Categories” dialog box.
  4. Create new category with the name “Bottle Manufacturing”. (You can use hard keyboard or soft keyboard for this)
  5. Select global option, if you want this category to be available for other applications.
  6. Press “OK” button.
  7. Verify that this category is added into Categories combo box.
  8. Enter all test data for "Martin Cook".
  9. For confirming its globalization check that whether that category becomes available from any other application.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Moving existing contact into other category

Test Purpose
Verify that a contact can be associated with a new category
Test Description
  1.  Create new category with the name “Excellent Player”.
  2. Press “OK” button.
  3. Select the corresponding (Timothy) contact file. 
  4. Click on “edit” button. This will show “Edit Contact Details” dialog for adding with the existing information details.
  5. Modify category value by selecting desired (Excellent Player) category from combo box
  6. Press “OK”.
  7. Verify it by selecting that particular (Excellent Player) category view.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Deleting contact

Test Purpose
Verify that a contact can be deleted
Test Description
  1.  Select a contact (John Kennedy) and click on the DELETE icon
  2. A warning dialog should pop up to prompt you if it is ok to delete the contact
  3. Check that the name of the contact is shown in the dialog correctly
  4. Press CANCEL
  5. Verify that the contact is still there.
  6. click on DELETE again and this time click on "No"
  7. Verify that the contact is still there.
  8. click on DELETE again and this time click on "Yes" in the verify dialog.
  9. Verify that the contact is gone.
  10. Create a new (valid) contact and click OK.
  11. Select the new contact and click on the DELETE icon.
  12. Press OK when the verify dialog is shown.
  13. Verify that the new contact is gone.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Duplicating contact

Test Purpose
Verify that a contact can be copied
Test Description
  1. Select the contact – Sushmita Sen to be duplicated.
  2. Click on Contact menu. And click on duplicate menu item OR click on duplication shortcut icon provided.
  3. By visual inspection Verify that desired contact has been duplicated.
  4. Select it and click on “Edit” menu item from “Contact” menu (or click on edit shortcut icon). It will show dialog with information detail.
  5. Change the desired field information.
  6. Press “OK” to save.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Summary look

Test Purpose
Verify that a summary can be shown for a contact
Test Description
  1. Select “All” category from category combo box.
  2. Search for the doctor’s (Mathew Gibbons) name. It will highlight the appropriate contact.
  3. Click on it to view its summary.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Displaying desired information

Test Purpose
Verify that the information to be shown in the list overview can be configured
Test Description
  1. Select the desired (Students) category from category combo box. 
  2. Verify that it shows all the students contacts ("Hillary Tison test data).
  3. Check whether the desired field information has been displayed.
  4. If not, click on “View” menu and click on “Configure headers” menu item. This will show “Configure columns to display” dialog.
  5. Select the desired fields from left hand side list box and add them into right hand side list box.
  6. If required reset their order in right-hand side list box by using “Move up” and “Move down” buttons.
  7. Press “OK”
  8. Verify that the desired information has been displayed successfully.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Setting business card

Test Purpose
Verify that a contact can be shown as a business card.
Test Description
  1.  Select appropriate category (or “All” category) to display desired contact.
  2. Select the desired contact.
  3. Click on “Contact” menu. It will show all menu items.
  4. Click on “Set as Business Card” menu item to set desired contact as business card.
  5. Verify it by clicking on “Show Business Card” option, validate the entire information and confirm that the desired contact has been set as business card.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Exchanging Business cards

Test Purpose
Verify that business cards can be send to other PDA devices
Test Description
  1.  Select “Show Business Card” option.
  2. It displays the details and confirms that contact details to be transferred.
  3. Select “IR Receiver” from startup menu and turn it on.
  4. Click on “Contact” menu and click on “Beam Entry” menu item. OR click on Beam Entry short cut icon. By this a dialog box “Infrared send” will be displayed, it will show the details of transmission.
  5. After actual data transmission, a confirmatory dialog will get popped on the other PDA to which data is being transferred. It will show three options: Open, Store, And Cancel.
  6. On selecting “Store”, incoming data gets stored in Documents tab page. “Open” stores and add the data in Contact list and selecting “Cancel” the incoming data gets rejected.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Receiving multiple Business cards

Test Purpose
Verify that business cards canbe received from other PDA devices
Test Description
  1.  Select “IR Receiver” from startup menu and turn it on.
  2. Wait for the beamed entry, after the actual data transmission, a confirmatory dialog will get popped on Zaurus. It shows three options: Open, Store, And Cancel.
  3. On selecting “Store”, incoming data gets stored in Documents tab page. “Open” stores and add the data in Contact list and selecting “Cancel” the incoming data gets rejected
  4. Verify that a few new contacts have been added in Contacts list.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Running late to work

Test Purpose
Verify that an e-mail can be send using the contact information
Test Description
  1. Select appropriate category (or “All” category) to display desired contact.
  2. Select the desired contact.
  3. Click on “Contact” menu and click on “Write Mail To” menu item. OR click on “Write Mail To” short cut icon. By this a dialog box “Write Mail” will be displayed, it will show the selected contact mail-id in “To” field.
  4. Write the other details and send the mail

Note: To send and receive e-mail messages, you must:

  • Set up the communication method (modem card, LAN card) and network preferences
  • Set up an e-mail account in the Email application
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Find

Test Purpose
Verify that a contact can be found by entering a search phrase
Test Description
  1. Click on the FIND icon.
  2. Check that the find lineeditor is shown above the contacts list.
  3. Type some related words (“bad little naughty”) in search field. 
  4. Verify that the appropriate contact (Linda Jacob) is highlighted and Click on it to view its details.
  5. Click on the "List" icon to switch back to "normal" presentation.
  6. Enter some more search strings and verify the highlighted contact.

Enter search strings for the following circumstances:
  1. a string that is somewhere in the middle of a contact name
  2. a string that is part of a first name
  3. a string that is part of a last name
  4. a string that should match multiple contacts -> the first should be highlighted.
  5. an 'impossible' string, e.g. something like qqxxyyzz 
  6. a string using 'strange' characters like: @, #, $ and space.
Also use the editor commands like BACKSPACE and DEL (in other words, make some deliberate mistakes and then correct them) when entering search strings and observe the search result after each keypress.
Expected TestResult
All the verification steps as described in the Test Description must be met.
  • If no valid search result is available the lower bar in the screen should show "Find: not found".
  • If a valid search result is available the first contact that matches the search result will be highlighted.

Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Edit File As

Test Purpose
Verify that the way a contact is shown in the 'File As' field can be configured
Test Description
  1. Create a new contact and enter at least a string in the First Name and Last Name fields.
  2. Select the File As field and vary between the different modes (e.g. first_name_only, last_name_only, first_last_name, last_first_name).
  3. Change the entries in the First Name and Last Name fields and verify that the File As field is automatically updated.
  4. Click OK to go back to the 'normal' list view mode.
  5. Verify that the name is displayed using the same mode as selected for File As in the edit dialog.
  6. Click the EDIT icon again for the same contact
  7. Observe the File As field and check that the same mode is shown as was selected before.
  8. Close the edit dialog using CANCEL to go back to the 'normal' list view.
  9. Click on the "File As" header to change the sorting order and check that the displayed contacts are sorted correctly (upwards/downwards).
  10. Repeat 9 for all offered File As modes.
Expected TestResult
All the verification steps as described in the Test Description must be met.
The File As field can be varied between 4 different modes:
  1. "Firstname" only,
  2. "Lastname" only,
  3. "Lastname, Firstname" (mind the comma!)
  4. "Firstname Lastname" (no comma!)

Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Add contact - Empty

Test Purpose
Verify that nothing happens if you add an empty contact or if the record doesn't contain valid information.
Test Description
  1. Make shure the 'normal' list shows at least the columns for "File As" and "Contacts".
  2. Click on “New”.
  3. Don't enter any data, just press OK
  4. Verify that no new record is added to the list.
  5. Click NEW again
  6. Enter some data into one of the 'less used fields' e.g. Pronunciation, Spouse and press OK
  7. Verify that a record is added to the list and that both the File As and Contact fields are empty.
  8. Verify that you can edit the new contact (oops i forgot the name)
  9. Delete the new contact
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Add contact - Unusual characters

Test Purpose
Verify that you can add a new contact with unusual characters in the fields.
Test Description
  1. Click the NEW icon.
  2. Type in First and Last name. 
  3. Check to see the File As field is getting automatically set appropriately.
  4. Click OK icon.
  5. Check that item is added.
  6. Close the app and open it again.
  7. Check that the new contact is shown again.
  8. Select the contact and click on EDIT.
  9. Verify that every field is being loaded correctly again.

For and exhaustive test enter a value for each and every field. Consider using 'normal' values (A,B,C,a,b,c,space,etc), but also numericals (0,1,2,etc) and special characters ( {, [, :, ~, etc).
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Date fields

Test Purpose
Verify that a date can be assigned to some 'date' fields in a contact like Birthday and Anniversary.
Test Description
  1. Select a contact
  2. Click on the EDIT icon
  3. Click on the Birthday button
  4. Check that a calendar dialog opens that allows you to select a date.
  5. Select a date and check that the contact shows the selected date in the Birthday field.
  6. Close the application and open it again
  7. Select the same contact and check that the entered birthday is still correct
  8. Go into edit mode again, click on the Birthday button and this time select "None" at the bottom of the dialog.
  9. Check that the birthday button for the contact is updated to "none".
  10. Check again after closing and re-opening the application.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Filter by Category

Test Purpose
Verify that contacts can be filtered by categories
Test Description
  1. Select a contact and click on the EDIT icon
  2. Select the 'Categories' field and check that you can change the value to Unfiled, Business, Personal and any additional custom created category.
  3. Finally select the Category to be 'Personal'.
  4. Press OK to go back to the 'normal' list view.
  5. Select 'Personal' as the Category filter that is to be used for the presentation of  the contacts.
  6. Check that the last edited contact is shown.
  7. Select 'Business' as the Category filter that is to be used for the presentation of  the contacts.
  8. Check that the last edited contact is NOT shown.
  9. Edit the 'Category' of the contact to be 'Business' and when back in the 'normal' view list check that the last edited contact is shown.
  10. Select 'All' for the category.
  11. Check that the contact is shown.
  12. Open the contact again in EDIT mode.
  13. Create a new category and select this category for the contact.
  14. Check that the new category is available in the Category filter combobox of the 'normal' view.
  15. Check that the contact is shown only when 'All' or your custom category is selected in the combobox.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Categories - Multiple

Test Purpose
Verify that a contact can be associated with multiple categories
Test Description
  1. Optionally, click on a contact.
  2. Select a contact and Click on “edit” button.
  3. Choose "..." to right of category Combo box.
  4. Choose multiple categories by clicking checkboxes.
  5. Click OK.
  6. Check that item is now recorded as having chosen categories, showing "<first category> (Multi.)" in Combo box.
Expected TestResult
All the verification steps as described in the Test Description must be met.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Beam - Palm OS

Test Purpose
Verify that contacts can be beamed to and from Palm OS device
Test Description
  1. Select a contact
  2. Get a Palm OS device and point the infra red cells to each other.
  3. Prepare the Palm OS device for receiving (if neccessery).
  4. Click on the BEAM icon and observe the process in the lower status bar.
  5. Verify that the Palm OS device has received the contact and show the information in the appropriate application (i.e. contacts on a Qtopia device).
  6. Open the Qt menu on the PDA, select "IR Receiver" and then "On for 5 minutes"
  7. Select a contact on the Palm OS device and beam it to the Qtopia PDA.
  8. Verify that the contact is shown in the documents tab.
  9. Click on the contact and allow it to be imported in the Contacts application.
Expected TestResult
All the verification steps as described in the Test Description must be met.
The lower bar shows the status of the beaming process. If a failure occurs the beam attempt will be retried up to a maximum of 20 times.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test


 Beam - Pocket PC

Test Purpose
Verify that contacts can be beamed to and from a Pocket PC device
Test Description
  1. Select a contact
  2. Get a Pocket PC device and point the infra red cells to each other.
  3. Prepare the Pocket PC device for receiving (if neccessery).
  4. Click on the BEAM icon and observe the process in the lower status bar.
  5. Verify that the Pocket PC device has received the contact and show the information in the appropriate application (i.e. contacts on a Qtopia device).
  6. Open the Qt menu on the PDA, select "IR Receiver" and then "On for 5 minutes"
  7. Select a contact on the Pocket PC device and beam it to the Qtopia PDA.
  8. Verify that the contact is shown in the documents tab.
  9. Click on the contact and allow it to be imported in the Contacts application.
Expected TestResult
All the verification steps as described in the Test Description must be met.
The lower bar shows the status of the beaming process. If a failure occurs the beam attempt will be retried up to a maximum of 20 times.
Testnorm/Criteria
Exact Match
Test Suitability
Manual test