Each of the tests below relates to editjobs test cases
Table 8. editjobs Test Cases
TESTCASE | EVENTID | ACTION | EXPECTED_RESULTS |
---|---|---|---|
editjobs | 1 | hit "edit jobs" button, don't select a client | dialog box warning that you need to select client pops up |
editjobs | 2 | select client from list, hit "edit jobs" button | search screen for finding job returned |
editjobs | 3 | any clients selected, no data entered, hit "search" | all jobs for all clients and supervisor returned |
editjobs | 4 | specific client radio button selected, hit "search" | all jobs for that particular client and supervisor returned |
editjobs | 5 | partial or whole description field | all jobs matching the exact or partial description and supervisor returned |
editjobs | 6 | job id entered | one job returned for that job id |
editjobs | 7 | category selected | any and all jobs matching that category are returned |
editjobs | 8 | open set to "no" | only closed jobs returned |
editjobs | 9 | open set to "yes" | only open jobs returned |
editjobs | 10 | output set to logn form, search performed | data returned in long form |
editjobs | 11 | approved set to "yes" | only jobs with default approval are returned |
editjobs | 12 | approved set to "no" | only jobs without default approval are returned |
editjobs | 13 | supervisor set to "any" | all jobs returned for all supervisors |
editjobs | 14 | in details, current hours | shows the correct number of hours billed to the job |
editjobs | 15 | in details, change open date and hit "update" | data is updated |
editjobs | 16 | in details, change close date and hit "update" | data is updated |
editjobs | 17 | in details, change category and hit "update" | data is updated |
editjobs | 18 | in details, change estimated hours and hit "update" | data is updated |
editjobs | 19 | in details, change completion date estimate and hit "update" | data is updated |
editjobs | 20 | in details, change bill rate and hit "update" | data is updated |
editjobs | 21 | in details, change open to closed and hit "update" | data is updated |
editjobs | 22 | in details, change closed to open and hit "update" | data is updated |
editjobs | 23 | in details, change supervisor and hit "update" | supervisor is updated |
editjobs | 24 | in details, change default approved and hit "update" | default approved is updated |
editjobs | 25 | in details, change flag hours and hit "update" | flag hours is changed |
editjobs | 26 | in details, change description and hit "update" | description is changed |
editjobs | 27 | in details, hit "delete" | jobs is deleted from the database |