In the last topic we learned Equivalence Partitioning and, in this topic, we will learn about Boundary Value Analysis. We will study in this lecture what is Boundary Value Analysis. What is its impact, where is it used and we will also take an example? Boundary Value Analysis, what is it? Like the name suggests Boundary, the edge where we will analyze it. Right? The errors in it, we will check on the boundaries of the input domain rather than in the center of the input domain. Boundary Value Analysis is such a design technique which is very effective and it is used on all the test levels. Come, let’s take an easy example. A system is a valid username and password filed. Okay. It is accepting minimum 8 and maximum 12 characters only. So, think where we will have to do the testing? Our range will be from 8 to 10. Right? So, what will be the invalid range in it? 7 or less than 7. And which one will be on the right hand side? 13 or more than 13. Right? We have to include 8 and 12. So, what would be the valid partition 8 to 12 and which one will be invalid, less than 8 or more than 12. If I put 7 or 13, it will be invalid. If in-between 8 and 12. If I keep 10 or 9, then it will be valid. Right? So, how is our time saved? We got a range 8 to 12, we took a center point from that. Let’s say 10. So, it is obvious that 8 will work and even 12 will work. If 7 is not accepted, even 1 will not be accepted and 2 also will not be accepted. Similarly on the greater hand side 15 or 100 is not accepted than 12 or 13 will also be not accepted. Now we will see the impact of Boundary Value. Boundary Value Analysis technique, when used, it becomes easy for the tester to make test cases and the test cases become very effective. Here we will take an example of an address text box. Where maximum 500 characters are allowed. If we see the test case, each character will be difficult for us to test. Right? There are 500 characters, what will we do? 1st we will do 400, then 300, then 200, 50 and a lot many. We will get tired. When will the testing get over? Right? For this we will see Boundary Value Analysis. So, we will take a test case from each boundary. So, in this which one will be invalid, maximum 500. So, which one will be invalid, if it is 501 or 600, then it will be invalid. Which one will be valid? 1 to 500. This is our boundary that is done. So, what did we learn? What is Boundary Value Analysis? We learned its introduction, we saw the example and we saw its impact because of what difficulties we are avoiding. Now what will we learn? Now we will learn about end-to-end testing.
Share a personalized message with your friends.