Testing of the personnel window assumes that the user testing the
functions has the maximum security level.
| | | | | | | | | |
Process 6.1: Personnel Button Selection
|
| | | | | | | | | |
- Select an employee with in the list of Personnel and click on
one of the functions.
input
- Use mouse to click on an employee, then click on a function.
Expected results
- The selected function will be called.
- Don't select an employee with in the list of Personnel and click on
one of the functions (except print).
input
- Click on one of the functions (except print).
Expected results
- A beep will indicate that a the user did not select an employee.
| | | | | | | | | |
Process 6.2: Add Personnel
|
| | | | | | | | | |
- When a store id is entered that does not exist in the stores database
input
- enter store id (not in database) and all other fields are
syntactically correct and hit the enter key.
Expected results
- Error window "Invalid store_id information!!" is displayed.
- When an employee id that already exists is entered in the employee
database.
input
- Enter Employee id (is in database) and all other fields are
syntactically correct and hit the enter key.
Expected results
- Error window "Employee_id already exists."
- When a field is missing.
input
- Enter data into all the fields but one and hit enter.
Expected results
- Error window "Please enter data in all the fields." is displayed
- Enter all the correct data into the database.
input
- Enter data into all the felds and hit enter.
Expected results
- A new instance of an employee within the list.
| | | | | | | | | |
Process 6.3: Delete Personnel
|
| | | | | | | | | |
- When asked "Are you sure you want to delete" click on delete
input
expected results
- The employee will be removed from the list and the database.
- When asked "Are you sure you want to delete" click on cancel.
input
expected results
- No change in the database or the list.
| | | | | | | | | |
Process 6.4: Change Password
|
| | | | | | | | | |
- When asked "Are you sure you want to change the password for"
employee_id click on ok
input
expected results
- The new password will replace the old password.
- When asked "Are you sure you want to change the password for"
employee_id click on cancel.
input
expected results
- No change in the database.
| | | | | | | | | |
Process 6.5: Update Personnel
|
| | | | | | | | | |
- store_id does not exist
input
- enter store id (not in database) and all other fields are
syntactically correct and hit the enter key.
Expected results
- Error window "Invalid store_id information!!" is displayed.
- Enter all the correct data into the database.
input
- Enter correct data into one of the felds and hit enter.
Expected results
- The new data will replace the existing data for that field.
| | | | | | | | | |
Process 6.6: Print Personnel
|
| | | | | | | | | |
- Print the personnel list
input
Expected results
- The personnel database is correct on the printout.
| | | | | | | | | |
Process 6.7: Find Personnel
|
| | | | | | | | | |
- Try to find an employee that does not exist in the database.
input
- employee id, last name, or first name and hit search
Expected results
- error window "The employee" employee_id "was not found!!"
- When within the search window, click the cancel button.
input
expected results
- No change in the database.
- Try to find an employee that exists in the database.
input
- employee id, last name, or first name and hit search
Expected results
- goto the requested employee within the list.
- When within the sort by window, click the cancel button.
input
expected results
- No change in the database.
- Try to sort the all employees within the database.
input
- click on one of employee id, last name, or first name and hit sort
Expected results
- A new list of all the employees sorted by the request.
|
|
Login
Main Menu
Security
Password
Orders
Product
Personnel
Stores
Cashier
Inventory
Main Page
|