Project

General

Profile

Actions

Bug #98

open

Application -selary module is returing wrong value for salary calculation

Added by Marko Dimovski over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
High
Start date:
05/23/2023
Due date:
% Done:

0%

Estimated time:

Description

Description:
Wrong results is returned when the salary is calculated. Because of this also the balance calculation is affected as well as annual salary calculation.

Pre-condition:
1. Application has been deployed.
2. The database has values for which we know the expected salary calculation value, balance calculation value and annual salary calculation

Steps to reproduce
1. Open the application
2. Go to the salary calculation view
3. Click the button for salary calculation
4. Compare the result returned from the application with the expected result of salary calculation based on pre-condition values
5. Click the button for tax calculation
6. Compare the result returned from the application with the expected result of tax calculation based on pre-condition values
7. Click the button for balance calculation
8. Compare the result returned from the application with the expected result of balance calculation based on pre-condition values
9. Click the button for annual salary calculation
10. Compare the result returned from the application with the expected result of annual salary calculation based on pre-condition values

Expected result:
1. The result returned from the application for salary calculation should be equal to the expected value for salary calculation from pre-conditions
2.The result returned from the application for tax calculation should be equal to the expected value for salary calculation from pre-conditions
3. The result returned from the application for balance calculation should be equal to the expected value for salary calculation from pre-conditions
4. The result returned from the application for annual salary calculation should be equal to the expected value for salary calculation from pre-conditions

Actions #1

Updated by Marko Dimovski over 2 years ago

Description:
Wrong results is returned when the salary is calculated. Because of this also the tax, balance calculation is affected as well as annual salary calculation.

Pre-condition:
1. Application has been deployed.
2. The database has values for which we know the expected salary calculation value, balance calculation value and annual salary calculation

Steps to reproduce
1. Open the application
2. Go to the salary calculation view
3. Click the button for salary calculation
4. Compare the result returned from the application with the expected result of salary calculation based on pre-condition values
5. Click the button for tax calculation
6. Compare the result returned from the application with the expected result of tax calculation based on pre-condition values
7. Click the button for balance calculation
8. Compare the result returned from the application with the expected result of balance calculation based on pre-condition values
9. Click the button for annual salary calculation
10. Compare the result returned from the application with the expected result of annual salary calculation based on pre-condition values

Expected result:
1. The result returned from the application for salary calculation should be equal to the expected value for salary calculation from pre-conditions
2.The result returned from the application for tax calculation should be equal to the expected value for salary calculation from pre-conditions
3. The result returned from the application for balance calculation should be equal to the expected value for salary calculation from pre-conditions
4. The result returned from the application for annual salary calculation should be equal to the expected value for salary calculation from pre-conditions

Actual result
1. The salary calculation from the application is not equal to the expected value based for salary calculation on the pre-conditions
2. The tax calculation from the application is not equal to the expected value based for tax calculation on the pre-conditions
3. The balance calculation from the application is not equal to the expected value based for balance calculation on the pre-conditions
4. The annual salary calculation from the application is not equal to the expected value for annual salary calculation based on the pre-conditions

Actions

Also available in: Atom PDF