editjobs Tests

Each of the tests below relates to editjobs test cases

Table 8. editjobs Test Cases

TESTCASEEVENTIDACTIONEXPECTED_RESULTS
editjobs1hit "edit jobs" button, don't select a clientdialog box warning that you need to select client pops up
editjobs2select client from list, hit "edit jobs" buttonsearch screen for finding job returned
editjobs3any clients selected, no data entered, hit "search"all jobs for all clients and supervisor returned
editjobs4specific client radio button selected, hit "search"all jobs for that particular client and supervisor returned
editjobs5partial or whole description fieldall jobs matching the exact or partial description and supervisor returned
editjobs6job id enteredone job returned for that job id
editjobs7category selectedany and all jobs matching that category are returned
editjobs8open set to "no"only closed jobs returned
editjobs9open set to "yes"only open jobs returned
editjobs10output set to logn form, search performeddata returned in long form
editjobs11approved set to "yes"only jobs with default approval are returned
editjobs12approved set to "no"only jobs without default approval are returned
editjobs13supervisor set to "any"all jobs returned for all supervisors
editjobs14in details, current hoursshows the correct number of hours billed to the job
editjobs15in details, change open date and hit "update"data is updated
editjobs16in details, change close date and hit "update"data is updated
editjobs17in details, change category and hit "update"data is updated
editjobs18in details, change estimated hours and hit "update"data is updated
editjobs19in details, change completion date estimate and hit "update"data is updated
editjobs20in details, change bill rate and hit "update"data is updated
editjobs21in details, change open to closed and hit "update"data is updated
editjobs22in details, change closed to open and hit "update"data is updated
editjobs23in details, change supervisor and hit "update"supervisor is updated
editjobs24in details, change default approved and hit "update"default approved is updated
editjobs25in details, change flag hours and hit "update"flag hours is changed
editjobs26in details, change description and hit "update"description is changed
editjobs27in details, hit "delete"jobs is deleted from the database