In this lecture we are going to start with boundary value analysis.
First we will talk about monetary value analysis and let's see what is there in it.
Boundary value analysis is used to test the values that exist on the boundaries of ordered equivalence
partition.
So first you have to make the equivalence partition and then at the boundary you have to apply this
technique sometime.
This technique is also represented as b the E so whenever it is written like this you should understand
it is boundary value analysis.
What does this mean.
That means suppose this is your data and now you have to apply the boundary value analysis for a plane.
You have to see at the boundaries like this.
So here it will be your analysis with an example.
We will try to understand that but before we go to the example we should know that there are two approaches
to a plate boundary value analysis.
The first approach is to value boundary testing and the other one is three value boundary testing.
So these are the two different approaches and each of these approaches we will try to understand with
an example.
So now let's see the example suppose an input field accepts a single integer that means a single digit
Deja value as an input and the value ranges from 1 to 5.
The first thing is it will accept only a single digit and the other one is the valid ranges from 1 to
5.
For this let's draw a diagram first.
So this is the timeline and then 1 and 5 are the boundary.
Now as I said we can go with two approaches.
The first one is to value boundary testing.
So how to apply a two value boundary testing let's see that.
So this is what we got from the in.
Now if you want to apply a two value boundary testing then we have to see a value which is outside.
And since it is in India so the increment and increment will be by 1 sort of value lower than 1 will
be 0 and the value higher than 5 will be 6 because 1 2 5 is a valid reason so we should not take value
between this.
Then whenever we are talking about two value boundary the value will always be outside it will be outward
in the invalid reason.
So below between is a valid reason and both sides are invalid reason and that is the reason we have
taken zero here and 6 here.
So this is a two value boundary testing.
Now let's try to understand three value boundary testing.
First you have to approach it to a loop on the testing and whatever result you got.
Not only have the right known for applying the term value you have to see in words while applying to
value Bondy you are seeing outwards.
Now it will be in words so 0 1 and the next boundary will be 2 here and there is in this scenario it
is for her.
So this is all you have to apply the 3 value boundary testing and this is to value boundary testing.
No we will see one more example and you'll try to understand you know better.
If the partition included the value 1 to 10.
So they're saying there is a partition which can include a value from 1 to 10 in increments of zero
point five.
So here they they're clearly given you how the world will happen if it is then the next value will be
rendered.
5 So for this if we make a diagram it's very simple 1 and then down if we want to apply to a new boundary
testing then this diagram will come and then we have to look outwards here and here.
So if we subtract minus if this at point 5 from 1 we will get zero point five and if we add point five
in ten we will get ten point five yet.
So these two a looser outwards.
So this is a two value boundary testing.
Now if we want to apply three value boundary testing then we have to continue to value boundary testing
and then we have to look in words so the value which is greater than one is zero point one point five.
So this is one point play and the value less than ten is nine point five.
So this is how you have to apply three point boundary testing here and two point boundary testing like
this.
And with this I'm ending this lecture and I will see you with the next lecture.
Until then happy testing.