Results 1 to 6 of 6

Thread: boundary value analysis

  1. #1

    boundary value analysis


    What is boundary value analysis and equivalence partitioning method with example.

  2. #2
    Junior Member
    Join Date
    Nov 2006

    Lightbulb Re: boundary value analysis


    Consider a situation where u pass the number as the input .(eg: Entering ur marks on a web page.)

    Assumption: marks are between 0 to 100

    For this
    1) Boundary value analysis : take the boundaries 0 and 100 and test for the condition such as -1,0,+1 and 99,100,101

    2) Equivalence partitioning : is not as such a stand alone method for testing. It is implemented by Boundary value analysis.

    Partition the inputs into a) valid and b) invalid partition as
    a) valid 0 -100
    b) invalid -1 to -infinity and 101 to infinity

    and then apply the boundary value analysis for the above.

    Still if u not clear, use this Equivalence partitioning, Boundary value analysis


  3. #3
    Junior Member
    Join Date
    Oct 2007

    Re: boundary value analysis

    what r the possible test cases for railway reservation system

  4. #4

    Re: boundary value analysis

    Boundary value analysis is one of the method of black box testing, in which the values on the boundary is tested. For example, if the benefit amount should fall in the range $1000 to $10000, the testing on the boundary will be carried based on the following inputs. I. On the boundary - $1000 and $10000, the test case should pass ii. Below the boundary - value less than $1000, the test case should fail ii. Above the boundary - value greater than $10000, the test case should fail equivalence partitioning is another approach of testing followed in black box testing where the input values are partioned and tested. For example, if the benefit amount is in the range $1000 to $10000 then the following criterias are tested as the input values are equally partioned in to three categories. I. Values less than $1000, the test case should fail ii. Values between $1000 to $10000 the test case should pass iii. Values greater than $10000 the test case should fail warm regards, ganesan

  5. #5

    Thumbs up Re: boundary value analysis

    Boundary value analysis:a test data selection technique in which values are chosen to lie along data extremes. design the test cases to validate max,mini values outside/inside ,typical and error values by the system.
    Equivalance partition:design the testcases to validate the application for valid and invalid testdata.

  6. #6
    Junior Member
    Join Date
    Nov 2007

    Thumbs up Re: boundary value analysis

    Hi bagavathi ! Boundary value analysis is testing the boundary condiitions.
    Ex : If you have to test the functionality of A prime number prog. working on numbers between 1 to 1000.
    Then your test conditions will be :
    BVA :
    U have to check the behaviour of the prog. with the numbers excatly at the boundary, imm. outside the boundary, imm. inside the boundary.

    Equivalance partition :
    It has got three parts :

    (1) Input partitions : The set of inputs can be partitioned into similar type of data to avoid exhaustive testing.
    For example: consider a program
    which accepts any value between
    -10000 and +10000.
    Then equivalence partition would be;
    Less than zero,
    Zero &
    Greater than zero
    (2) Output partitions : Even the output values can be partitioned just like inputs.
    For example: A university declares a result of its student as Fail if the score is 0-35, 2nd class for 35-60, 1st class for 60-75 and distinction for 75 and above. Then o/p partition would be;
    0-35 Fail
    35-60 second class
    60-75 first class
    75 and above distinction
    (3) Other partitions : It is used when we know enough about application and is an optional on. This is more technical and difficult one.

    Saurabh Garg

    Last edited by saurabh garg; 11-15-2007 at 12:06 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.