You are on page 1of 9

TEST CASE: PAYROLL

S.No Functionality Test Case ID Test Description To check whether checks option displays period of checks Test data click on checks option Expected Result Actual result status

options

checks option

Application should Application displays display period of checks the period of checks pass

checks option

To check whether all_checks radio button displays all the check previews which includes check summary,income click on all_checks Application should Application displays all_checks radio details,tax details and dedution details radio button on the display check preview of the check preview button of employees screen employees of employees pass Application displays monthly check preview of employees pass

To check whether this_month radio button displays monthly check previews which includes check this_month radio summary,income details,tax details checks option button and dedution details of employees To check whether this_quarter radio button displays three months check previews which includes check this_quarter summary,income details,tax details checks option radio button and dedution details of employees To check whether this_year radio button displays current year check previews which includes check this_year radio summary,income details,tax details button and dedution details of employees

click on this_month Application should radio button on the display monthly check screen preview of employees click on this_quarter radio button on the screen

Application displays Application should three months check display 3 months check preview of preview of employees employees pass Application displays the current year check preview of employees pass

checks option

Application should click on this_year display current year radio button on the check preview of screen employees

click on last_year radio button on the checks option screen click on edit check edit check menu option on the menu option To edit the check preview of employee screen click on delete check option on the screen click on print selected check option on the screen

To check whether last_year radio button displays previous year check previews which includes check last_year radio summary,income details,tax details button and dedution details of employees

Application should display previous year check preview of employees Application should display the edit check details dialogue box

Application displays the previous year check preview of employees pass Application displays the edit check dialogue box pass

menu

delete check menu option

To delete check preview of employee

Application should Application displays display the delete check the delete check dialogue box dialogue box pass Application should display print dialogue box Application displays the print dialogue box pass

menu

print selected check option printer name drop down list box employees option active employees radio button inactive employees radio button

To print selected employee check

10

menu

To select printer name To check whether it displays all the employee details To check whether it displays active employee details To check whether it displays inactive employee details To check whether it displays new wizard to get details

click on drop down Application should Application displays list and select the display available printer the available printer name name printers pass click on employees option on the screen click on active employees radio button click on inactive employees radio button Application should display all employee details Application should displays active employee details Application should displays inactive employee details Application displays all employee details pass Application displays active employee details pass Application displays inactive employee details pass Application displays new wizard pass

11

options employees option employees option employees option

12

13

14

new option

click on new option Application should on the screen display new wizard

15

16

17

general information wizard general information wizard general information wizard general information wizard general information wizard general information wizard

name field

To check whether the field accepts alpha characters To check whether the field accepts numbers To verify that the name is required control to proceed further To check whether the address1 field accepts alpha numeric characters as input value To check whether the address 1 field accepts numeric characters as input value To check whether the address 1 field accepts special characters as input value

name field

name field

Enter chitra as i/p value for the field name Enter 123 as i/p value for the field name Leave name as blank and enter the other fields

Name should accept only aipha characters

Field accepts alpha characters as i/p pass

Name should not accept Field accepts numbers number as i/p fail Field accepts to Application should not enter the other data allow to proceed in the wizard fail Address1 field accepts alpha numeric characters as input value Address1 field accepts numeric characters as input value Address1 field accepts special characters as input value Address1 field should accepts numeric special characters as input value

18

address1 field

19

address1 field

20

address1 field

Address1 field should Enter aaaa12 as accepts alpha numeric input value for the characters as input field Address1 value Address1 field should Enter 1234 as input not accepts numeric value for the field characters as input Address1 value Address1 field should Enter @$!%^& as not accepts special input value for the characters as input field Address1 value Address1 field should Enter 123@#!$& as not accepts numeric input value for the special characters as field Address1 input value Address2 field should Enter aaaa12 as accepts alpha numeric input value for the characters as input field Address2 value

pass

fail

fail

21

general information wizard general information wizard

address1 field

To check whether the address 1 field accepts numeric special characters as input value To check whether the address2 field accepts alpha numeric characters as input value

fail

22

address2 field

Address2 field accepts alpha numeric characters as input value pass

23

general information wizard general information wizard

address2 field

To check whether the address2 field accepts numeric characters as input value To check whether the address2 field accepts special characters as input value

24

address2 field

Address2 field should Enter 1234 as input not accepts numeric value for the field characters as input Address2 value Address2 field should Enter @$!%^& as not accepts special input value for the characters as input field Address2 value

25

general information wizard general information wizard general information wizard general information wizard general information wizard general information wizard

address2 field

To check whether the address2 field accepts numeric special characters as input value

Enter 123@#!$& as input value for the field Address2

26

city field

27

city field

To check whether the field City accepts Enter tiruppur as minimum of 30 characters input value for City Leave City name as To verify that the City is required blank and enter the control to proceed further other fields To verify that the state field displays drop down list box for selection To verify that the Zip field accepts an input value of numeric values To verify that the Zip field accept an input value of alpha characters

Address2 field accepts numeric characters as input value Address2 field accepts special characters as input value Address2 field Address2 field should should accepts not accepts numeric numeric special special characters as characters as input input value value City Field should City Field should accepts accepts min of 30 min of 30 characters as characters as input input value value city field accepts to Application should not enter the other allow to proceed datas in the field

fail

fail

fail

pass

fail

28

state field

select state from Application should drop down list box display list of states Enter 123456 as Zip field should only input value for the accept an input of field Zip numeric characters

Application displays list of states pass Zip field accepts an input of numeric characters pass

29

zip field

30

zip field

Enter abcdef as Zip field should not Zip field not accept input value for the accept an input of alpha an input of alpha field Zip characters characters pass

31

general information wizard general information wizard general information wizard general information wizard

zip field

To verify that the Zip field accept an input value of alpha numeric characters

Enter abc123 as Zip field should not Zip field not accept input value for the accept an input of alpha an input of alpha field Zip numeric characters numeric characters pass Zip field should not Enter @#$^&* as accept an input of input value for the special numeric field Zip characters Zip field not accept an input of special numeric characters pass

32

zip field

To verify that the Zip field accept an input value of special characters

33

zip field

Enter asd@#$% as Zip field should not Zip field not accept To verify that the Zip field accept an input value for the accept an input of alpha an input of alpha input value of alpha special characters field Zip special characters special characters pass To verify that the Zip field accept an input value of numeric special characters Zip field should not Enter 234@#$% as accept an input of input value for the numeric special field Zip characters Enter 123456789058 as input value for the field Zip Zip field should not accept an input maximum of 10 numeric characters Application should not Leave Zip field as allow to proceed blank and enter the without entering the Zip other fields field social security number field should only accept an input of numeric characters Zip field not accept an input of numeric special characters pass Zip field not accept an input maximum of 10 numeric characters pass Application allow to proceed without entering the Zip field fail social security number field accepts an input of numeric characters pass

34

zip field

35

general information wizard general information wizard general information wizard

zip field

To verify that the Zip field accepts an input value max of 10 numeric values

36

zip field

To verify that the Zip field is required control to proceed further

37

social security number field

Enter 0456789 as To verify that the social security input value for the number field accepts an input value of field social security numeric values number

38

general information wizard

social security number field

To verify that the social security number field accept an input value of alpha characters

Enter dfgrth as input value for the field social security number Enter ikk34 as input value for the field social security number Enter !@##$% as input value for the field social security number Enter chit!@#$ as input value for the field social security number Enter 435@#$ as input value for the field social security number Enter 123456789345 as input value for the field social security number

social security number field should not accept an input of alpha characters social security number field should not accept an input of alpha numeric characters

social security number field not accept an input of alpha characters

pass

39

general information wizard

social security number field

To verify that the social security number field accept an input value of alpha numeric characters

40

general information wizard

social security number field

To verify that the social security number field accept an input value of special characters

41

general information wizard

social security number field

To verify that thesocial security number field accept an input value of alpha special characters

social security number field not accept an input of alpha numeric characters social security social security number number field not field should not accept accept an input of an input of special special numeric numeric characters characters social security social security number number field not field should not accept accept an input of an input of alpha special alpha special characters characters social security number field should not accept an input of numeric special characters social security number field not accept an input of numeric special characters

pass

pass

pass

42

general information wizard

social security number field

To verify that the social security number field accept an input value of numeric special characters

pass

43

general information wizard

social security number field

To verify that the social security number field accepts an input value max of 10 numeric values

social security number field should not accept an input maximum of 10 numeric characters

social security number field not accept an input maximum of 10 numeric characters pass

44

general information wizard general information wizard general information wizard general information wizard general information wizard

social security number field

To verify that the social security number field is required control to proceed further

Leave social security number field as blank and enter the other fields

Application should not allow to proceed without entering the social security number field

Application allow to proceed without entering the social security number field fail Telephone number field accepts an input of numeric characters pass Telephone number field not accept an input of alpha characters pass Telephone number field not accept an input of alpha numeric characters pass Telephone number field not accept an input of special numeric characters pass Telephone number field not accept an input of alpha special characters pass Telephone number field not accept an input of numeric special characters pass

45

telephone number field

Enter 0897876 as To verify that the telephone number input value for the field accepts an input value of numeric field telephone values number To verify that the telephone number field accept an input value of alpha characters To verify that the telephone number field accept an input value of alpha numeric characters To verify that the telephone number field accept an input value of special characters

46

telephone number field

47

telephone number field

Telephone number field should only accept an input of numeric characters Telephone number field Enter hjtyu as input should not accept an value for the field input of alpha telephone number characters Enter hgj56 as Telephone number field input value for the should not accept an field telephone input of alpha numeric number characters Enter &^&%$# as input value for the field telephone number Enter cram$%^ as input value for the field telephone number Enter 786^&* as input value for the field telephone number Telephone number field should not accept an input of special numeric characters Telephone number field should not accept an input of alpha special characters Telephone number field should not accept an input of numeric special characters

48

telephone number field

49

general information wizard general information wizard

telephone number field

To verify that the telephone number field accept an input value of alpha special characters To verify that the telephone number field accept an input value of numeric special characters

50

telephone number field

51

general information wizard general information wizard general information wizard general information wizard

telephone number field

To verify that the telephone number field accepts an input value max of 10 numeric values

Telephone number Enter 2345677889 Telephone number field field not accept an as input value for should not accept an input maximum of the field telephone input maximum of 10 10 numeric number numeric characters characters pass Enter 0896567 as Fax number field should Fax number field input value for the only accept an input of accepts an input of field fax number numeric characters numeric characters pass Fax number field not accept an input of alpha characters pass Fax number field not accept an input of alpha numeric characters pass

52

To verify that the fax number field accepts an input value of numeric fax number field values To verify that the fax number field accept an input value of alpha fax number field characters

53

54

Enter hjtyu as input Fax number field should value for the field not accept an input of fax number alpha characters Fax number field should To verify that the fax number field Enter cvs67 as not accept an input of accept an input value of alpha numeric input value for the alpha numeric fax number field characters field fax number characters Fax number field should Enter &^&%$# as not accept an input of input value for the special numeric field fax number characters

55

general information wizard general information wizard general information wizard

56

57

Fax number field not accept an input of special numeric characters pass Fax number field To verify that the fax number field Enter ran%^& as Fax number field should not accept an input accept an input value of alpha special input value for the not accept an input of of alpha special fax number field characters field fax number alpha special characters characters pass Fax number field should Fax number field To verify that the fax number field Enter 546^%$ as not accept an input of not accept an input accept an input value of numeric input value for the numeric special of numeric special fax number field special characters field fax number characters characters pass To verify that the fax number field accept an input value of special fax number field characters

58

general information wizard general information wizard general information wizard employees option employees option conformation box conformation box

To verify that the fax number field accepts an input value max of 10 fax number field numeric values To verify that the email address field accepts alpha numeric characters as input

Enter 657899043 as input value for the field fax number

Fax number field should not accept an input maximum of 10 numeric characters

Fax number field not accept an input maximum of 10 numeric characters pass Field accept an input of alpha numeric characters pass New employee detail is created

59

email address field

Enter chit123 as Field should accept an input value for the input of alpha numeric email address field characters

60

61

62 63

To verify that the finish button creates click finish button New employee detail new employee to create employee should be created Selected employee edit employees click edit employee detail should be option To edit the employee details option displayed delete employees click delete conformation box option To delete employee details employee option should be displayed To check yes button delete the click yes button on It should delete the yes button employee detail the screen employee detail finish button click no button on the screen

pass

Selected employee detail is displayed pass conformation box is displayed pass It deletes the employee detail pass

64

65

options

66

options

It should not delete the It does not delete employee detail the employee detail pass Forms option To check whether forms option create click forms option Forms option should creates annual forms option annual forms on the screen create annual forms forms pass Reports option To check whether reports option click reports option Reports option should displays payroll reports option displays payroll details on the screen display payroll details details pass no button To check no button works properly

You might also like