Você está na página 1de 8

Test plan Login Test case id 1 Test case The admin user clicks the submit button on a blank

username and password Test data

Invalid Username={blank} Password ={blank}

The admin user enters numeric characters for the username and password textbox. Clicks the submit button to confirm valued entries Admin user types in admin (accepted username ) and types numeric value into the password textbox Admin user types in numeric character for username and leaves the password textbox blank. The admin user types invalid username in the password textbox and types in authenticated password into the password textbox The admin user types in numeric value for the password and leaves the username blank

InvalidUsername ={123456} Password ={123456} Invalid Username {newuser/admin} Password{123345 Invalid Username={123456} Password ={blank} Username={invalid} Password = {valid}

Expected output Dialogue box with label error and message please provide username pops up s Message displays requesting to enter valid username or password Message dialogue pops up requesting user to type in valid password Message displays requesting to enter valid username or password Message dialogue pops up requesting user to type in valid username Message displays requesting to enter valid username or password Message dialogue display notifying user user successfully logged in Message dialogue displays notifying user user successfully logged in

Invalid Username={blank} Password ={12345} valid Username={valid username} Password ={valid password} username={newuser} Password = {newuser} Or Username={admin} Password = {admin}

The admin user types in valid (newly created )entry for username and password. click submit to validate entry The admin user types in (existing) valid password and username into the respective textboxes. clicks submit to confirm entry.

Employee Search Test case id 11 Test case User specifies a search category and does not specify a search criteria Test data Search category=user select from the list of criteria{firstname,lastname, Middlename,Employeeid,departmentid, Jodid,Address,email,postalcode,birthdate Rank,Hiredate,marital status,phone,post Gender} Search criteria ={empty string} Search criteria={field name element} Search category={please select} Expected output Displays results of with entries for the respective field and the number of rows retrieved

12

13

14

User specifies search criteria and no search category User specifies a search criteria and specify a search category User specifies search criteria and search category

Search criteria={Duke} Search category={Firstname}

A click on the search button displays error getting data A click on the search button display field with Duke as the firstname A click on the search button display field with 100 as the EmployeeID.it also displays the number of row A click on the search button displays message error getting data

Search criteria={100} Search category={EmployeeID}

15

User does not specify search category and search criteria

Search criteria={empty string} Search category={please select}

Search Employee Training Test case id 1 Test case User specifies a search category and does not Test data Search category=user selects one from the list of criteria{coursename,coursecode Expected output Displays result for selected search category and the

specify a search criteria

Firstname, Lastname, vendorname Department name,status,startdate ,description} Search criteria={empty string} User specifies Search criteria={e.g Database search criteria and management } no search category Search category={please select } User specifies a search criteria and specify a search category Search criteria={Duke} Search category={First name}

number of rows with field content

User specifies search criteria and search category

Search criteria={database management} Search category={coursename}

User does not specify search category and search criteria

Search criteria={empty string} Search category={please select}

A click on the search button displays error getting data Clicking the search button displays row of data containing duke in the firstname field Clicking the search button displays row of data containing database management in the course name field Displays the error message error getting data

Search Employee Schedule Test case id 1 Test case User specifies a search category and does not specify a search criteria User specifies search criteria and no search category User specifies a search criteria and specify a Test data Search category=user select one from the list of search criteria{firstname,lastname EmployeeID,workshift,starttime,closetime} Search criteria={empty string} Search criteria={7.30} Search category ={please category} Expected output Displays result corresponding to the selected option of the search category A click on the search button displays an error message error getting data Clicking the search button displays rows

Search criteria={day} Search category={workshift}

search category

User specifies search criteria and search category

Search category={starttime} Search criteria={7.30}

with day as the corresponding entry for field name for work shift Clicking the search button displays rows with 7.30 as the corresponding entry for field name for starttime

Search Employee benefit Test case id 1 Test case User specifies search criteria and search category Test data Search criteria={overtime bonus} Search category=user select corresponding search option from the list{allowance type ,allowance grant,firstname,lastname,employeeid,star tdate ,enrolmentdate,note} Search category={ allowance grant } Search criteria={1200 } Expected output The system displays rows of data with overtime bonus as the entries for allowance type Clicking the search button displays rows with 1200 as the corresponding entry for field name for allowance grant A click on the search button displays an error message error getting data Displays result corresponding to the selected option of the search category

User specifies a search criteria and specify a search category

User specifies search criteria and no search category

Search criteria={duke} Search category={please select}

User specifies a search category and does not specify a search criteria

Search category={allowance type} Search criteria={empty string}

Add Training Test case id 1 Test case


user types numeric characters into the text boxes and click save

Test data Firstname{11111} Lastname{122333} Coursename{44443222} Coursecode{333333} Jobid{122334} Vendorname{223341} Startdate{1234} Duration{1233} Description{1234} First name{Duke} Last name{Ekpo} Course name{database management} Course code{DBMS} Jobid{HR_REP} Vendorname{System Corp} Startdate{19/02/09} Duration3weeks{} Description{Management Training} Firstname{Duke} Lastname{Ekpo} Coursename{database management} Coursecode{?} Jobid{?} Vendorname{System Corp} Start date{19/02/09} Duration3weeks{} Description{Management Training} All text boxes are empty

Expected output All entries are validated. Click on the save button gives a chronological display of the message please fill the following entries with invalid entries

User types valid entries appropriately into the respective text boxes and click the save button

On clicking the save button a message is displayed Employee training details added

User omits any one of the text box without specifying the appropriate entry. Click the save button

On clicking the save button;error message is displayed please fill in the following entries JobID,coursecode

User click the save button without entering data into the text boxes

On clicking the save button ,error message is displayed please fill the following entries

Add Employee Test case id 1 Test case User correctly types valid entry into each text boxes without omitting any textbox and click the save button Test data
First name{duke} lastname{Ekpo} employeeid{1222} Email{duke@gmail.com} Departmentid{10} Gender{male} Hiredate{18/02/98} Address{171 Great Horton road} Postal code{bd1 1pu} maritalstatus{single} rank{manager} title{Mr} mobilenumber{073452324} payperiod{monthlyl} First name{12333} lastname{2344} employeeid{1222} Email{23odjdj7748} Departmentid{334112} Gender{1222} Hiredate{12222} Address{123u30} Postal code{28292} maritalstatus{1912-2} rank{12222} title{23333} mobilenumber{1229} payperiod{normal} First name{} lastname{} employeeid{} Email{} Departmentid{} Gender{} Hiredate{} Address{} Postal code{} maritalstatus{} rank{} title{} mobilenumber{} payperiod{}

Expected output On clicking the save button a message is displayed Employee details added

User types numeric characters into the text boxes and the click the save button

A click on the save button display the error message please fill in the following entries

User omits all the text boxes and click the save button

When the save button is clicked an error message displays all list of unfilled entries with the error string please fill the following entries

Add Benefit Test case id 1 Test case User correctly types all Test data Firstname{Duke} Expected output A click on the save

entries into the respective field and click the save button

User types alphabetic characters in numeric fields and numeric character into the field for alphabetic character

Lastname{Ekpo} Employeeid{123} Allowancegrant{1200} Allowancetype{pension} Startdate{12/02/02} Enddate{12/02/2016} Firstname{12233} Lastname{Ekpo} Employeeid{werrr} Allowancegrant{hwhwh} Allowancetype{pension} Startdate{hshs} Enddate{hahah}

button displays message indicating completion of operation. Employee details saved

User leaves all fields blank and click the save button

Clicking on the save button displays all the fills requiring entry from the user

Add Schedule Test case id 1 Test case The user correctly types all entry into the text box and click the save button Test data Firstname{duke} Lastname{ekpo} Emplomenttype{permanent} Starttime{9.00} Closetime{7.00} Duration{10hrs} Firstname{} Lastname{} Emplomenttype{} Starttime{} Closetime{} Duration{} Firstname{2222} Lastname{2222} Emplomenttype{please select} Starttime{222} Closetime{www} Duration{2222} Firstname{?} Lastname{?} Emplomenttype{please select} Starttime{222} Expected output On clicking the save button a message is displayed indicating the completion of operation Employee schedule details added An error message displays requiring the employee to correctly fill the listed field An error message is displayed requiring the employee to correctly fill all entry

User omits all fields and click the save button

User types numeric character into the field and clicks the save button

The user omits selected fields in the text boxes and click the save button

The system validates the omitted fields and display it requesting the use to enter

Closetime{www} Duration{2222}

correct value

Staff Appraisal Test case id 1 Test case The user correctly enter employee details and score for all attributes. A clicks on the save button Test data Firstname{Duke} Lastname{Ekpo} Employeeid{111} Departmentname{HR} Performance{score} Firstname{} Lastname{} Employeeid{} Departmentname{} Performance{score} Firstname{11111} Lastname{11111} Employeeid{1111} Departmentname{111} Performance{score} Expected output A click on the save button display displays the the message performance details saved An error message is displayed request the user to fill the specified fields The system displays an error message requesting the user to type in the correct enrty and score

User omits the entries for the textbox ,omit the score and click the save button

User types numeric characters into the respective fields ,select the score for an employee and click the save button

Você também pode gostar