Anyone can please inform me about how to write test cases
for any mathematical calculations. Say for example, we have
a formula in a given scenario for calculating the interest.

The given formula for interest is: (principle * 5)/(12 * 100)

In this case, the principle amount may vary. Would like to
know how many test cases can be written for this scenario
and how can we decide over this. I will be very thankful for
the answer....

Answers were Sorted based on User's Feedback



Anyone can please inform me about how to write test cases for any mathematical calculations. Say fo..

Answer / akhalesh yadav

Valid test cases
1.value of principle is +ve integer value
2.value of principle is greater than 0

Invalid test cases
1.value of principle is 0
2.value of principle is infinity
3.value of principle is -ve value

Is This Answer Correct ?    8 Yes 1 No

Anyone can please inform me about how to write test cases for any mathematical calculations. Say fo..

Answer / shome varma

1. Value of principle amount +Float value accepting 2 value
after decimal
2. Principle amount cannot be 0.
3.

Is This Answer Correct ?    0 Yes 0 No

Anyone can please inform me about how to write test cases for any mathematical calculations. Say fo..

Answer / amy

One other to do this is equivalent partioning in the valid
test cases

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Test Cases Interview Questions

For a Login screen with Username, Password input fields and Enter, Cancel button write Test Cases for GUI, Funcitonal, Negative, Usability and Security testing.

1 Answers  


how to write test case for Add, Delete,Update,search and Edit button. Please its urgent.Could anybody help me as soon as possible

2 Answers  


How to write test case for this scenario. The First Name data entry field shall be removed from the existing Contact Information screen

0 Answers  


Can any one tell me how to write test data. i mean, to test each input, 2 test input(1 for +ve, & other for -ve) are given. so , for example, if i want to write test data for login form, how many test data should i write in test case?

0 Answers   Nike,


Hi, I am doing project related to Online order Booking. In this project different products will be there. The user can order the product to different location by giving different shipping Addresses. By selection of Address shipping price will be calculate. My Question: Now the shipping related part they are integrating with UPS(www.ups.com) Depending on the From Zip code, To Zip cobe and Quantity weight the shipping price will be calculated. I want test scenarios to test the shipping part. I think ASAP u will help me. My mail id srinivasukona@gmail.com

1 Answers  






are the test cases stored in database nowadays? pls tell me... then give clear details about test case preparation and test case execution

1 Answers   ME,


maximum length of testcase

1 Answers  


Explain the format of a requirement traceability

0 Answers  


For example out of 100 test cases if I ask you to automate how many you can automate?

13 Answers   HCL, MBT,


how to make test case for anolog voice logger?

0 Answers  


how to write test cases for "Browse" button.

6 Answers   Accenture,


While writting Test Cases test testers have to write what test inputs/data he/she is going to use

2 Answers  


Categories