Each of the tests below relates to loghours test cases
Table 11. loghours Test Cases
TESTCASE | EVENTID | ACTION | EXPECTED_RESULTS |
---|---|---|---|
loghours | 1 | hit the "log hours" button, no client selected | error dialog box pops up with warning saying must select a client |
loghours | 2 | hit the "log hours" button, client selected | form returned for logging hours to that client |
loghours | 3 | in details, hit "post hours" without filling out any data | hours not logged because missing hours and hours description |
loghours | 4 | in details, fill in hours and hours description and hit "post hours" | hours successfully logged |
loghours | 5 | in details, fill in hours with alphabetic data and hours description, hit "post hours" | error about hours data, hours not logged |
loghours | 6 | in details, fill in hours with numeric data, hours description, and parking/cab with alpha characters | error about data, hours not logged |
loghours | 7 | in details, fill in all fields correctly, set billable to "yes" | hours successfully logged |
loghours | 8 | in details, fill in all fields correctly, set billable to "no" | hours successfully logged |