PA_Earning Codes UI Testing

Revision History:
Date

Version

Description

19.09.2008

1

Original script

23.04.2010

2

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 employee’s 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
employee’s 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 you’re 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

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 X 225440 Field test X 225442 Combo box test X 225432 Default values test X 225440 Labels Test X 225426 Messages Test X 225434 Function keys X Invalid data test X Formatting test X Verify the following fields available in the form Earning Code X 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 . do only those marked with X in the last column (Check the OK/PET column if the tests passed.2nd/3rd Round OK/PE T# Tests: For second and third round tests.

but the reported tips amount is not added to the employee’s take-home wages. This type of earning code transaction adds pay information to the employee’s history record and you can use it to calculate withholdings and deductions. the red X appears When you try to close the screen without fixing the red . the red X disappears and the form closes Very the field doesn’t allow you to enter Duplicate Earning Codes.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. Fixed withholding Verify the field allows to check / Uncheck Verify the if the box is checked. the red X disappears and the form closes X 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 Employee’s Net Pay) Verify the field allows to check / Uncheck Verify the if the box is checked . The Page 3 of 7 . Note: X Fixed withholdings are used for income tax types of withholdings only. the box to use a fixed percent to calculate withholdings due for the pay amounts entered with this earnings code. the system should say a Good warning message When you enter with the data and close the screen. use the Exclusions function. the red X appears When you close the screen without fixing the red . To exclude an earning code from taxable income. Refer Table 1 on the document below Verify if the field is leave as blank. the system should say a Good warning message When you enter with the data and close the screen. 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. then the Earning codes pay is excluded X X Note: Excluding an earning code from net pay does not exclude earnings from taxable income. then the earning codes pay is included in to Employee’s Net Pay Verify the if the box is Unchecked. An example of an earning code that would not be included in an employee’s net pay is reported tips.

00 or decrease from -1. enter W-2 box 14. When you set up an earning code for 100% Use of Auto. the withholding is calculated according to the regular federal. Note: If you do not use a fixed withholding. when you set up an earning code for Dependent Care Benefits.000 Verify the field allows you to enter new values Verify that is not possible to enter other than numeric characters X 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.00 and vice versa Verify the field allows you to enter new values Verify that is not possible to enter other than numeric characters X 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 red X disappears and the form closes X X X Multiplier Verify while creating new record. the system should say a Good warning message When you enter with the data and close the screen. When you set up an earning code for excludable moving expense reimbursements. the list appears with numbers Page 4 of 7 . or Local Tax Setup functions. the field loads with the default data 1. Verify the field is loaded as empty while creating a record Verify the field is a list box by Press F4. Refer Table 1 on the document below Verify if the field is leave as blank. 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. enter W-2 box 10.2nd/3rd Round OK/PE T# percentage amount of the fixed withholding is specified in the Federal Tax Setup. the field loads with the default data 0. state.00 (it is possible to increase form 1. State Tax Setup. enter W-2 box 12. 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 red X appears When you close the screen without fixing the red .

Verify if the filed is empty for the values 12 and 14.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. X 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 X Page 5 of 7 . 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 X 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. Otherwise the systems says some good message that the Field are required Copy To dialog box Verify the Tool bar won’t works for the screen Verify the form loaded with all available fields X Earning Code Verity the Earning Code in the parents screen appears here Verify the field doesn’t allow you to change and look like non editable field X 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. 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. Refer Table 1 on the document below. Verify when clicking on the Copy To button the Copy To Dialog box appears Verify While creating new record. X 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. Description and Earning type filled by some values. then a warning message will appears 225438 225440 225440 Department screen not ready. the copy to button works only after the fields Earning code. So need to be tested in second round.

00. 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 employee’s hourly rate in the Add To Base box. the rate of pay used for the earning code will be ($9 +$1) * 2. Note: You must enter an amount in the hourly rate field on the Employee Information screen’s Pay tab for a salaried employee if you want to use the Add To Base and Multiplier functions for the employee. or $20. if the employee’s hourly rate is $9.0. the Add To Base amount is added to the employee’s pay rate first. The new base pay is then multiplied by the multiplier. 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 X Page 6 of 7 . and the earning code used has an Add To Base amount of $1.00 and a Multiplier of 2. 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. For example. 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 X OK Button Verify if Click on OK button to begin processing and message box appears when the earning code is copied successfully X 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 X X Open the Earning Code form.2nd/3rd Round OK/PE T# copy the earning code by From and Thru list box fields. If you use both the Add To Base and Multiplier boxes for an earning code.

then open the Payroll Transaction for that employee. and enter the hourly rate = 9 Transaction not yet implemented . change the earning code code to the new earning code you just created or modified. 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 . and select a employee who is set to hourly.2nd/3rd Round OK/PE T# set to 1 and multiplier is set to 2 then open the Employee function.