Testing task "Advanced search"
This is an "Advanced search" form/filter (see the picture below) for document data base. User has set some requirements:
1. Requirements for fields of the system given in table:
Field Name |
Type |
Coments |
Default value |
„Title contains:" |
Char (100) |
|
|
„Text contains:" |
Char (200) |
|
|
„Document type:" |
Drop down list |
Values: |
|
|
|
1. Type1; |
|
|
|
2. Type2; |
|
|
|
3. Type3; |
|
|
|
4. Type4; |
|
|
|
5. Type5. |
|
„Publisher:" |
Drop down list |
Values: |
|
|
|
1. Publisher1; |
|
|
|
2. Publisher2; |
|
|
|
3. Publisher3; |
|
|
|
4. Publisher4; |
|
|
|
5. Publisher5; |
|
|
|
6. Publisher6; |
|
|
|
7. Publisher7. |
|
„Status:" |
Drop down list |
Values: |
|
|
|
1. Active; |
|
|
|
2. Not valid. |
|
„Date:" |
Drop down list |
Values: |
Effective. |
|
|
1. Acceptance; |
|
|
|
2. Effective. |
|
„Search in amendments" |
Checkbox |
|
Unchecked |
„Document Nr. from" |
int |
1 < „Document Nr. from" < 9999; Error message is thrown if entered value is out of range: „Error 2". |
|
„Document Nr. to" |
int |
1 < „Document Nr. to" <9999 AND ,,Document Nr. to" > „Document Nr. from"; Error message is thrown if entered value is out of range: „Error 2". |
|
„Issuing Country:" |
Drop down list |
Values: |
|
|
|
1. Country1; |
|
|
|
2. Country2; |
|
|
|
3. Country3; |
|
„Source:" |
Drop down list |
Values: |
|
|
|
1. Source1; |
|
|
|
2. Source2; |
|
|
|
3. Source3; |
|
|
|
If Issuing Country = Country2 then Source field is disabled. |
|
„from" (date) |
Date |
Format - dd.mm.yyyy |
At the background: „dd.mm.yyy/' |
„to" (date) |
Date |
Format - dd.mm.yyyy |
At the background: „dd.mm. yyyy" |
2. At bottom of the form, aligned on the middle are two buttons:
a. "Search" - on click: form closes and result page opens.
b. "Clear" - on click: all fields have set to its default values.
3. There is closing button "X" at the upper right corner - on click: form closes.
4. If none of the search criteria field is filled then system throws an error message "Error message".
5. System has two type of users - Registered and Guest. All fields are active for Registered user. If Guest user opens this form following fields are disabled:
a. "Text contains:";
b. "Document type:";
c. "Publisher";
d. "Search in amendments".
6. System have to be User friendly with cross browser compatibility.
Homework assignment: This system has several mistakes. How this system should be tested? Write test cases according to given system requirements.