1.Introduction
In this project we implemented an Olympic medal tracking system; its basic requirements are included in Functional Requirements and Project Plan. For more details, please refer to the two documentations mentioned above.
Testing for this system is relatively easy for the following reasons:
- The functions required by the customer are simple and basic.
- The customer does not place scalability at an important position.
However, testing is still important because we can not guarantee the system to function well according to the requirements. Furthermore, even if the customer does not place performance of the system at first place, it is still essential that our system will respond within the time one user could bare.
2. Testing Staff
Staff | Responsibilities |
Song Shaoyi | Make test plan, Functional test |
Mei Xiaowei | User interface test |
Li Boqiang | Performance test |
3. Test Cases
Case # | Module | Pre-condition | Action | Expected result |
1 | Login | On login page. User is not logged in. | Type in an invalid username/password and press “Login” | An error message of “Invalid username or password” is displayed in red on login page. |
2 | Login | On login page. User is not logged in. | Type in an correct username/password and press “Login” | Display admin functions on the top of the page, including login out link. |
3 | Login | On login page. User is logged in. | Whether require user login again | No further requirement for relogin. |
4 | Log off | On any page. User is logged in. | Click on link “logoff”. | Admin functions on top of the page disappear and display “login” function link. |
5 | Search | On search main page. User logged in. | Click on link “Search by date(s)”. | Go to search by date page. |
6 | Search | On search main page. User not logged in. | Click on link “Search by date(s)”. | Go to search by date page. |
7 | Search | On search main page. | Click on link “Search by event(s)”. | Go to search by event |
8 | Search | On search main page. | Click on link “Search by | Go to search by country page. |
9 | Search | On search main | Click on link “Search by athlete(s)”. | Go to search by athlete page. |
10 | Search | On index page. | Click on link “Search by date(s)”. | Go to search by date page. |
11 | Search | On index page. | Click on link “Search by event(s)”. | Go to search by event page. |
12 | Search | On index page. | Click on link “Search by country(s)”. | Go to search by country page. |
13 | Search | On index page. | Click on link “Search by athlete(s)”. | Go to search by athlete |
14 | Search | On index page. | Click on link “country name”. | Go to search results of medals the country won. |
15 | Search | On index page. | Click on link “athlete name”. | Go to search results of medals the athlete won. |
16 | Search | On index page. | Enter a valid country name in “country field”, Click on link “search”. | Go to search results of medals the country won. |
17 | Search | On index page. | Enter an invalid country name in “country field”, Click on link “search”. | Show no such country error message. |
18 | Search | On index page. | Enter a valid country name in “athlete field”, and enter athlete name in “athlete field”, Click on link “search”. | Go to search results of medals the country won. |
19 | Search | On index page. | Enter an invalid country name in “athlete field”, and enter athlete name in “athlete field”, Click on link “search”. | Show no such country error message. |
20 | Search | On index page. | Enter a valid country name in “athlete field”, and enter athlete name in “athlete field”, Click on link “search”. | Go to search results of medals the country won. |
21 | Search | On index page. | Enter a valid athlete name in “athlete field”, Click on link “search”. | Go to search results of medals the athlete won. |
22 | Search | On index page. | Enter an invalid athlete name in “athlete field”, Click on link “search”. | Show no such athlete error message. |
23 | Search | On search result page. | Click on link “athlete name”. | Go to search results of medals the athlete won. |
24 | Search | On search result page. | Click on link “country name”. | Go to search results of medals the country won. |
25 | Search | On search result page. | Click on link “rank by date”. | Rank search results by |
26 | Search | On search result page. | Click on link “rank by | Rank search results by event. |
27 | Ranking | On index | Click on link “gold” | Rank countries by number of gold medals. |
28 | Ranking | On index page. | Click on link “total” | Rank countries by number of total medals. |
29 | Ranking | On search result page. | Click on link “Search by date(s)”. | Rank the results by date. |
30 | Ranking | On search result page. | Click on link “Search by event(s)”. | Rank the results by event. |
31 | Admin | On management page. User is logged in. | Click on link “add” | Jump to add medal page. |
32 | Admin | On management page. User is logged in. | Click on link “correct” | Jump to correct medal confirm page. |
33 | Admin | On correct medal confirm page. User is logged | Click on link “confirm” | Jump to delete medal information page. |
34 | Admin | On correct medal confirm page. User is logged in. | Click on link “cancel” | Jump to admin default page. |
35 | Admin | On management page. User is logged in. | Click on link “delete” | Jump to delete medal confirm page. |
36 | Admin | On delete medal confirm page. User is logged in. | Click on link “confirm” | Jump to delete medal information page. |
37 | Admin | On delete medal confirm page. User is logged in. | Click on link “cancel” | Jump to admin default page. |
4. Performance and UI tes
It is essential that our system will respond within the time one user could bare, and the user interface should be nice as well. So testing of performance should be measured by the testers’ comparison between our system and existing systems.
Leave a Comment