Write 10 test cases for the condition P=R/I where R and I
are integer and P is floating point.

Answer Posted / priyanka nagaraj

For the most part, errors are observed in the extreme ends of the input values, so these extreme values like start/end or lower/upper values are called Boundary values and analysis of these Boundary values is called “Boundary value analysis”. It is also sometimes known as ‘range checking’.

Boundary value analysis is another black box test design technique and it is used to find the errors at boundaries of input domain rather than finding those errors in the center of input.

Equivalence Partitioning and Boundary value analysis are linked to each other and can be used together at all levels of testing. Based on the edges of the equivalence classes, test cases can then be derived.

Each boundary has a valid boundary value and an invalid boundary value. Test cases are designed based on the both valid and invalid boundary values. Typically, we choose one test case from each boundary.

Finding defects using Boundary value analysis test design technique is very effective and it can be used at all test levels. You can select multiple test cases from valid and invalid input domains based on your needs or previous experience but remember you do have to select at least one test case from each input domain.

Let’s take same above example to understand the Boundary value analysis concept:

One test case for exact boundary values of input domains each means 1 and 100.
One test case for just below boundary value of input domains each means 0 and 99.
One test case for just above boundary values of input domains each means 2 and 101.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1. Buzz Words 1.1 Purpose Allow user easy access of content based on key/popular words 1.2 Scope All the tags at the portal. 1.3 User Interface - Tags are usually hyperlinks that lead to a collection of items that are associated with the tag. - Click takes you to page similar to Search Result page, should search all content and not only articles - Based on Most Viewed only 1.4 Interfacing/Sourcing Details - Need to develop an application which works on algorithm to calculate size/color of Buzz words. - In phase 1 algorithm will be pretty straight forward of calculating dimesion of Buzz words by going by ""Most Viewed/Visited"" words. Need to get exact algorithm.

2241


Explain the monkey testing?

677


This was asked to me recently in Microsoft interview How would you do DOS copy command testing

1924


write test case for pen cap if it is not present?

2104


150 integration testing scenarios for gmail

12049






how to write a test procedure & test log for login system

2776


Explain the component testing?

779


how to write testcase for the output of an program ****0 ***01 **012 *0123 01234

1327


How to write test cases for "open file dialog box" for ms word? Thanks a lot!

3561


What is use case testing?

718


please give me different test scenario for uploading whatsapp status from gallery and camera

5484


Who will take care of test plan and test case?

1658


What is Initial Configuration?

1958


Elaborate test plan and content availability in test plan.

678


What is the state testing?

731