loghours Tests

Each of the tests below relates to loghours test cases

Table 11. loghours Test Cases

TESTCASEEVENTIDACTIONEXPECTED_RESULTS
loghours1hit the "log hours" button, no client selectederror dialog box pops up with warning saying must select a client
loghours2hit the "log hours" button, client selectedform returned for logging hours to that client
loghours3in details, hit "post hours" without filling out any datahours not logged because missing hours and hours description
loghours4in details, fill in hours and hours description and hit "post hours"hours successfully logged
loghours5in details, fill in hours with alphabetic data and hours description, hit "post hours"error about hours data, hours not logged
loghours6in details, fill in hours with numeric data, hours description, and parking/cab with alpha characterserror about data, hours not logged
loghours7in details, fill in all fields correctly, set billable to "yes"hours successfully logged
loghours8in details, fill in all fields correctly, set billable to "no"hours successfully logged