Search Message Test Cases

Search Message function makes it easier for users to look up messages according to different search options.

Main Steps

  • Goto Mail application.
  • Select one of available accounts.
  • Input Search data and press Search button.

Quick Search

  • Input keywords into search text box.
  • Press Search icon
List of messages matching with keywords are shown properly in Search Result Form.
Screenshot:

Quick_Search.gif

Advance Search

  • Press Advance Search Icon
  • Input Search conditions into Advance Search Form.
  • Press Search button
List of message matching with search conditions are shown properly in Search Result Form.
Screenshot:

Advance_Search.gif

Other checks

Quick Search

  • Case 1: Check Quick Search Function in case no account is available
    • Input:
      • Do not create any account. There is no account available
      • Leave blank or input search condition in to search text box
    • Output:
      • Alert message is shown, notifying that users must create an account
      • Alert message sample: "You must add account first!"
  • Case 2: Check Quick Search Function in case no search condition is input
    • Input:
      • Leave search text box blank
      • Press Search icon
    • Output:
      • Alert message is shown, notifying that users must input search condition into search text box
      • Alert message sample: "There is no text to search"
  • Case 3: Check Quick Search Function in case invalid search data, no record matching with search condition
    • Input:
      • Input invalid search condition into search text box
      • Press Search icon
    • Output:
      • Alert message is shown, notifying there is no data matching with search condition
      • Alert message sample: "There are no messages!"
  • Case 4: Check Quick Search Function in case valid search data, there are many records matching with search condition
    • Input:
      • Input valid search condition into search text box
      • Press Search icon
    • Output:
      • List of messages matching with search condition are shown properly, available for viewing, sort and the other actions

Advance Search

  • Case 1: Check Advance Search Function in case no account is available
    • Input:
      • Do not create any account. There is no account available
      • Press Advance Search icon
    • Output:
      • Alert message is shown, notifying that users must create an account
      • Alert message sample: "You must add account first!"
  • Case 2: Check Advance Search Function in case no search condition is input
    • Input:
      • Leave Advance Search Form blank by default
      • Press Search button
    • Output:
      • Alert message is shown, notifying that users must input search condition
      • Alert message sample: "Search query is invalid !"
  • Case 3: Check Advance Search Function in case invalid search data, no record matching with search condition
    • Input:
      • Input invalid search condition into advance search form
      • Press Search button
    • Output:
      • Alert message is shown, notifying there is no data matching with search condition
      • Alert message sample: "There are no messages!"
  • Case 4: Check Advance Search Function in case 1 valid search condition is input into advance search form
    • Input:
      • Input only 1 search condition. E.g. Select Subject condition.
      • Leave the other search conditions by default.
      • Press Search button.
    • Output:
      • List of messages matching with the defined condition are shown properly.
  • Case 5: Check Advance Search Function in case 2 valid search conditions are input into advance search form
    • Input:
      • Input 2 search conditions. E.g combination between Folder option and Subject.
      • Leave the other search conditions by default
      • Press Search button.
    • Output:
      • List of messages matching with 2 defined conditions are shown properly.
  • Case 6: Check Advance Search Function in case 3 valid search conditions are input into advance search form
    • Input:
      • Input 3 search conditions. E.g combination between Folder option, From and Subject.
      • Leave the other search conditions by default
      • Press Search button.
    • Output:
      • List of messages matching with 3 defined conditions are shown properly.
  • Case 7: Check Advance Search Function in case 4 valid search conditions are input into advance search form
    • Input:
      • Input 4 search conditions. E.g combination between Folder option, From, To and Subject.
      • Leave the other search conditions by default
      • Press Search button.
    • Output:
      • List of messages matching with 4 defined conditions are shown properly.
  • Case 8: Check Advance Search Function in case 5 valid search conditions are input into advance search form
    • Input:
      • Input 5 search conditions. E.g combination between Folder option, From, To, Subject and Message.
      • Leave the other search conditions by default
      • Press Search button.
    • Output:
      • List of messages matching with 5 defined conditions are shown properly.
  • Case 9: Check Advance Search Function in case 6 valid search conditions are input into advance search form
    • Input:
      • Input 6 search conditions. E.g combination between Folder option, From, To, Subject, Message and From Date.
      • Leave the other search conditions by default
      • Press Search button.
    • Output:
      • List of messages matching with 6 defined conditions are shown properly.
  • Case 10: Check Advance Search Function in case 7 valid search conditions are input into advance search form
    • Input:
      • Input 7 search conditions. E.g combination between Folder option, From, To, Subject, Message, From Date and To Date.
      • Leave the other search conditions by default
      • Press Search button.
    • Output:
      • List of messages matching with 7 defined conditions are shown properly.
  • Case 11: Check Advance Search Function in case 8 valid search conditions are input into advance search form
    • Input:
      • Input 8 search conditions. E.g combination between Folder option, From, To, Subject, Message, From Date,To Date and Has Star.
      • Leave the other search conditions by default
      • Press Search button.
    • Output:
      • List of messages matching with 8 defined conditions are shown properly.
  • Case 12: Check Advance Search Function in case 9 valid search conditions are input into advance search form
    • Input:
      • Input 9 search conditions. E.g combination between Folder option, From, To, Subject, Message, From Date,To Date, Has Star and Has Attachment.
      • Leave the other search conditions by default
      • Press Search button.
    • Output:
      • List of messages matching with 9 defined conditions are shown properly.
  • Case 13: Check Advance Search Function in case 10 valid search conditions are input into advance search form
    • Input:
      • Input 10 search conditions. E.g combination between Folder option, From, To, Subject, Message, From Date,To Date, Has Star, Has Attachment and Priority.
      • Leave the other search conditions by default
      • Press Search button.
    • Output:
      • List of messages matching with 10 defined conditions are shown properly.

Related JIRA issues

Press the following link to see detail all problems with Search message in Jira

http://jira.exoplatform.org/secure/IssueNavigator.jspa?reset=true&&pid=10060&query=Search&summary=true&component=10161

 
Navigation

Creator: hoa nguyen on 2008/03/11 03:42
Copyright (c) 2000-2009. Allright reserved - eXo platform SAS
1.6.13286