Print Page | Close Window

Test Case Problems

Printed From: One Stop Testing
Category: Software Testing @ OneStopTesting
Forum Name: Test Cases @ OneStopTesting
Forum Discription: You must be well versed in writting Good Test Cases as they only will decide whether you can catch most of bugs or not.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=6307
Printed Date: 12Dec2024 at 2:10am


Topic: Test Case Problems
Posted By: rubayet51
Subject: Test Case Problems
Date Posted: 24Jan2009 at 3:44am
# A large IT company is in the process of revising salary structure for its employees. The salary will be on the basis of assessed performance of the previous year for all employee who have completed six months or more.

# The rules for salary revision are provided below :- Performance level 1 : Increase existing salary by 30% Performance level 2 : Increase existing salary by 20% Performance level 3 : Increase existing salary by 10% Performance level 4 : Increase existing salary by 5% Performance level 5 : No Increase

# For those who have not completed six months, provide a flat increase of 7.5% in their salary. In addition to above provide a special loyalty allowance of Tk. 800 to all employees who have complete THREE years with the organization.

# Compute the minimum number of paths that you would require to cover the application and how many test cases would you require?



Replies:
Posted By: krishnajihere
Date Posted: 06Feb2009 at 4:18am
Just trying out... Smile

1. Check if the tenure of the employee
2. If < 6  months, increase salary by 7.5%.
3. If > 6 months and < 3 years Performance Level is 1, then inc by 30%.
4. If > 6 months and < 3 years Performance Level is 2, then inc by 20%.
5. If > 6 months and < 3 years Performance Level is 3, then inc by 10%.
6. If > 6 months and < 3 years Performance Level is 4, then inc by 5%.
7. If > 3 years, Provide Tk 800
8. If > 3 years & if Performance Level is 1, then inc by 30%.
9. If > 3 years & if Performance Level is 2, then inc by 20%.
10. If > 3 years & if Performance Level is 3, then inc by 10%.
11. If > 3 years & if Performance Level is 4, then inc by 5%.

No. of Test Cases: 11.
Path: Do not know the answer (if you know, pls post to [email protected]




Posted By: cprasenjit26
Date Posted: 07Jul2009 at 5:59am
I think krishnajihere has rightly pointed the matter.
------------------------------------------------------------------------
http://www.softwareqatestings.com - Software Testing



Print Page | Close Window