You are on page 1of 7

PA_Earning Codes UI Testing

Revision History:
Date

Version

Description

19.09.2008

Original script

23.04.2010

Updated scripts with design change and incorporated


pet referances from E1

Autho
r

Estimated hours to execute: 4


Total number of first round tests in this document: 90
Total number of second round tests in this document: 40
Testing Resource Name:
Hours to complete:
Date Completed:

______________________
______________________
______________________

Feature Description:
Use the Earning Codes function to set up and maintain an unlimited number of earning codes for
different types of work. Earning codes store information used to calculate an employees pay for a
particular type of work, such as assembly or packaging. Earning codes also store information used to
calculate pay for work such as overtime or shift-differential pay that multiplies or adds an amount to the
employees base hourly rate.
More Information:
You will need to include the Unit Test List Document in your testing of this feature
Check the status on the XXX development portal to make sure coding is complete before you start testing
this feature. If youre not sure of the status, check with QA on the status before you start testing.
If you have further questions about how some fields should function (i.e.: if a field should be required),
you can use XXX to see how the fields currently function
Setup steps:
You must assign valid earning codes to each employee. You can assign earning codes to employees in
one of two ways:

Click the Copy To button on the Earning Codes screen to copy earning codes to a range of
employees

Using the Setup and Maintenance Employee Information function, double-click the Default
Earning Code box on the Pay tab. The Valid Earning Codes dialog box appears where you can
select the valid earning codes for the employee.

You can override the default earning code when you enter Payroll Transactions.

Page 1 of 7

2nd/3rd
Round

OK/PE
T#
Tests:
For second and third round tests, do only those marked with X in the last column
(Check the OK/PET column if the tests passed, or enter the PET # if a PET was entered)
OK/PET #

Test
PA_Earning Code

2nd/ 3rd
Round
Test

Perform the following test from the Unit test document


Forms test

225440

Field test

225442

Combo box test

225432

Default values test

225440

Labels Test

225426

Messages Test

225434

Function keys

Invalid data test

Formatting test

Verify the following fields available in the form


Earning Code

225452

Description
Include in Net Pay(Check box)
Fixed Withholding
Earning Type
Multiplier
Add To Base
W-2 Box
W-2 Code / Description
Copy to Button

225440
225440
225440
225440

Copy to dialog box


Earning Code
Employee ID ( From & Thru fields)
Department ID ( From & Thru Fields)
Labor Class ( From & Thru Fields)
Group Code ( From & Thru Fields)
OK Button
Cancel Button

Page 2 of 7

2nd/3rd
Round

OK/PE
T#

225426
225427
225426
225427
225429

225426

225426
225426

225432

Earning Code
Verify the field is loaded with default values if available while opening the form
Verify the field is a list box by Press F4, the list appears with earning codes
and descriptions
Verify the field allows you to select values
Verify the field allows you to enter new values
Verify the field allows not more than 3 characters. Refer Table 1 on the
document below
Verify if the field is leave as blank, the red X appears
When you close the screen without fixing the red , the system should say a
Good warning message
When you enter with the data and close the screen, the red X disappears and
the form closes
Very the field doesnt allow you to enter Duplicate Earning Codes. If it is then
the system should says a warning message
Description
Verify the field allows you to enter new values
Verify the field allows you to Edit the existing values
Verify the field allows not more than 40 characters. Refer Table 1 on the
document below
Verify the field is a alpha numeric field
Verify the field is mandatory
Verify if the field is leave as blank, the red X appears
When you try to close the screen without fixing the red , the system should
say a Good warning message
When you enter with the data and close the screen, the red X disappears and
the form closes

X
X

X
X
X
X

Include in Net Pay


Verify the field loaded by default as Checked (means including the earning
codes pay into the Employees Net Pay)
Verify the field allows to check / Uncheck
Verify the if the box is checked , then the earning codes pay is included in to
Employees Net Pay
Verify the if the box is Unchecked, then the Earning codes pay is excluded

X
X

Note: Excluding an earning code from net pay does not exclude earnings from taxable
income. To exclude an earning code from taxable income, use the Exclusions function.
An example of an earning code that would not be included in an employees net pay is
reported tips. This type of earning code transaction adds pay information to the
employees history record and you can use it to calculate withholdings and deductions,
but the reported tips amount is not added to the employees take-home wages.

Fixed withholding
Verify the field allows to check / Uncheck
Verify the if the box is checked, the box to use a fixed percent to calculate
withholdings due for the pay amounts entered with this earnings code.
Note:

Fixed withholdings are used for income tax types of withholdings only. The

Page 3 of 7

2nd/3rd
Round

OK/PE
T#
percentage amount of the fixed withholding is specified in the Federal Tax
Setup, State Tax Setup, or Local Tax Setup functions.
Note: If you do not use a fixed withholding, the withholding is calculated
according to the regular federal, state, or local tax routines

225434
225434

225434
225426
225434

Earning Type
Verify the field is loaded with default values if available while opening the form
Verify the field is a list box by Press F4, the list appears with earning codes
and descriptions
Verify the field allows you to select values
Verify the Description of the Earning code selected appears in the right side of
the field
Verify when press F6 the maintenance screen appears and it is possible to
add new Earning type
Verify the newly entered Earning type available by closing the maintenance
screen and select from the Earning type values
Verify the field allows you to change the existing values
Verify the field allows not more than 1 character. Refer Table 1 on the
document below
Verify if the field is leave as blank, the red X appears
When you close the screen without fixing the red , the system should say a
Good warning message
When you enter with the data and close the screen, the red X disappears and
the form closes

X
X

Multiplier
Verify while creating new record, the field loads with the default data 1.00 (it is
possible to increase form 1.00 or decrease from -1.00 and vice versa
Verify the field allows you to enter new values
Verify that is not possible to enter other than numeric characters

Add To Base
Verify the field displays as the Spinner box and allows you to increase or
decrease values
Verify while creating new record, the field loads with the default data 0.000
Verify the field allows you to enter new values
Verify that is not possible to enter other than numeric characters

W-2 Box
Note: Select or enter the number of the box on the W-2 form in which to print
the accumulated amount in the W-2 Box
For example, when you set up an earning code for Dependent Care
Benefits, enter W-2 box 10. When you set up an earning code for 100% Use
of Auto, enter W-2 box 14. When you set up an earning code for excludable
moving expense reimbursements, enter W-2 box 12.
Verify the field is loaded as empty while creating a record
Verify the field is a list box by Press F4, the list appears with numbers

Page 4 of 7

2nd/3rd
Round

OK/PE
T#
Verify the field allows you to select values
W-2 Code / Description
Verify the field allows you to enter new values
Verify the field allows you to Edit the existing values
Verify the field allows not more than 2 characters. Refer Table 1 on the
document below. If it is more than two then the red X should appears to say
the warning message
Verify the field is a alpha numeric field
Verify the field is mandatory for only the values 12 and 14.
Verify if the filed is empty for the values 12 and 14, then a warning message
will appears

225438

225440

225440
Department
screen not
ready. So
need to be
tested in
second
round.

X
X

Copy to Button
Note : Use the Copy Earning Codes dialog box to copy an earning code to the
valid earning codes file(s) for the employee(s) and
Selection criteria you specify.
Verify when clicking on the Copy To button the Copy To Dialog box appears
Verify While creating new record, the copy to button works only after the fields
Earning code, Description and Earning type filled by some values. Otherwise
the systems says some good message that the Field are required
Copy To dialog box
Verify the Tool bar wont works for the screen
Verify the form loaded with all available fields

Earning Code
Verity the Earning Code in the parents screen appears here
Verify the field doesnt allow you to change and look like non editable field

Employee ID ( From & Thru fields)


Verify it is possible to select the range of employee IDs to which you want to
copy the selected earning code by From and Thru list box fields.
Verify the From and Thru fields are list boxes
Verify the From and Thru fields loaded with the Employee ID and their names
Verify the From and Thru field allows you to select values

Department ID ( From & Thru Fields)


Verify it is possible to select the range of department IDs to which you want to
copy the earning code by From and Thru list box fields.

Verify the From and Thru fields are list boxes


Verify the From and Thru fields loaded with the Department ID and Description
Verify the From and Thru field allows you to select values
225440
225442

Labor Class ( From & Thru Fields)


Verify it is possible to select the range of labor classes to which you want to

Page 5 of 7

2nd/3rd
Round

OK/PE
T#
copy the earning code by From and Thru list box fields.
Verify the From and Thru fields are list boxes
Verify the From and Thru fields loaded with the Labor Class and Description
Verify the From and Thru field allows you to select values
Group Code ( From & Thru Fields)
Verify it is possible to select the range of group codes to which you want to
copy the earning code by From and Thru list box fields.
Verify the From and Thru fields are list boxes
Verify the From and Thru fields loaded with the group codes
Verify the From and Thru field allows you to select values

225454

OK Button
Verify if Click on OK button to begin processing and message box appears
when the earning code is copied successfully

Cancel Button
Verify if Click Cancel to return to the Earning Codes screen

225455

Toolbar Button Test


Perform toolbar button test from Unit test doc with use of all the above
possible test cases

225454

Delete

Open the Earning Code form, and try to delete the new earning Code
that is assigned to the selected employee
Verify that you receive a message Unable to delete record since related
records exist in other table(s)
Verify that the new earning code is displayed correctly on the Earning
Code form
Multiplier and Add to Base
Note: Enter the amount you want to add to the employees hourly rate in the
Add To Base box.
If you use both the Add To Base and Multiplier boxes for an earning
code, the Add To Base amount is added to the employees pay rate
first. The new base pay is then multiplied by the multiplier.
For example, if the employees hourly rate is $9.00, and the earning
code used has an Add To Base amount of $1.00 and a Multiplier of
2.0, the rate of pay used for the earning code will be ($9 +$1) * 2, or
$20.
Note: You must enter an amount in the hourly rate field on the Employee
Information screens Pay tab for a salaried employee if you want to use the
Add To Base and Multiplier functions for the employee.
Create a earning code (or modify a earning code) to use Add to
Base and Multiplier
you can use the example listed on the test script Add to Base is

Page 6 of 7

2nd/3rd
Round

OK/PE
T#
set to 1 and multiplier is set to 2
then open the Employee function, and select a employee who is
set to hourly.
change the earning code code to the new earning code you just
created or modified. and enter the hourly rate = 9
Transaction
not yet
implemented
.

then open the Payroll Transaction for that employee, the hourly
rate should be defaulted to 20 when you set the earning code of
the payroll transaction to the new earning code you created
earlier

Table 2: tblPaEarnCode

Name
AddToBas
Description
EarningCode
EarningType
FixedWithholding
GLHoldingAccou
nt
IncludeInNet
Multiplier
ts
W2Box
W2Code

Length
13
40
3
1
1
40
2
13
8
3
2

Page 7 of 7

You might also like