onShore TimeSheet™ Release Tests | ||
---|---|---|
Prev |
Each of the tests below relates to edithours test cases
Table 12. edithours Test Cases
TESTCASE | EVENTID | ACTION | EXPECTED_RESULTS |
---|---|---|---|
edithours | 1 | hit "view/edit hours" button, no client selected | warning dialog box about having to select a client |
edithours | 2 | hit "view/edit hours" button, client selected | view/edit hours form search page returned |
edithours | 3 | in search, set supervisor to "any", client to "any", approved to "any", hit "search" | all hours ever logged returned |
edithours | 4 | in search, set supervisor to a specific supervisor, client to "any", approved to "any" | all hours for a particular supervisor returned |
edithours | 5 | in search, set supervisor to a specific supervisor, client to "any", approved to "no" | all unapproved hours for a supervisor returned |
edithours | 6 | in search, set supervisor to a specific supervisor, client to a specific client, approved to "no" | all unapproved hours for a supervisor returned for a specifi client |
edithours | 7 | select "any" for all pull down fields, enter in a start date | any hours logged on or after the date entered are returned |
edithours | 8 | select "any" for all pull down fields, enter in a stop date | any hours logged up to the stop date are returned |
edithours | 9 | select "any" for all pull down fields, enter in a stop and start date | any hours logged on and between the dates are returned |
edithours | 10 | enter a specific job id, all fields blank and pull downs set to "any" | hours for a particular job are returned |
edithours | 11 | enter in a specific username, all fields blank and pull downs set to "any" | hours for a particular user are returned |
edithours | 12 | multiple fields fillewd in and pulls downs changed | data returned in parameters entered |
edithours | 13 | select "short" form for multiple hours returned | list of hours matching search returned, can click on descriptions to edit record |
edithours | 14 | in details, change multiple fields and hit "update" | data changed |
edithours | 15 | in details, change job number and hit "update" | job logged under changed |
edithours | 16 | in details, change description and hit "update" | data changed |
edithours | 17 | in details, change comments and hit "update" | data changed |
edithours | 18 | in details, as supervisor set approved to "yes" and click "update" | job is approved, can't be edited anymore |
edithours | 19 | in details, click "delete" | job is deleted, cannot be edited, approved or returned with a view/edit hours search |