ISTQB FOUNDATION 4.0 | Tutorial 30-1 | Equivalence Partition | Test Case Design Techniques | CTFL
ฝัง
- เผยแพร่เมื่อ 14 ก.พ. 2024
- This tutorial will drive individuals about the Equivalence Partition of Chapter 4 - Test Analysis and Design of ISTQB Foundation Level Certification 4.0 include the syllabus, exam structure, approach, etc.
This series of tutorials will help individuals to prepare for the ISTQB Foundation Level exam. This series consists of ISTQB Sample Questions discussion, understanding, tips, tricks, and time management about the exam by Neeraj Kumar Singh.
Each session will be broken into topic-wise discussion and explained with the help of supporting material and sample questions. Upon completion of a tutorial, you will be better enabled to answer the exam questions with more confidence.
The topics covered in this tutorial are -
Equivalence Partition,
Test Design Techniques,
Test Techniques,
ISTQB Foundation Exam,
ISTQB Foundation tutorials,
ISTQB Sample Questions,
ISTQB Foundation Syllabus,
ISTQB Foundation New Syllabus,
Official Website: www.istqb.org
You can visit the official website of ISTQB for downloading the syllabus, sample paper, exam structure, etc.
Learn More about Testing
Testing In Nutshell - / @testinginnutshell
Technical Vocabulary - / @technicalvocabulary
Follow me at
Slideshare - www.slideshare.net/jannatindia
Facebook - / rajtheburningdesire
LinkedIn - / neeraj-kumar-singh-064...
Instagram - tmsquare_te...
Quora - www.quora.com/profile/Neeraj-...
#istqb #istqbcertification #istqbtutorials #tmsquare - วิทยาศาสตร์และเทคโนโลยี
Why don't you test if the the ground flour don't have a garden? There is nowhere said that the ground flour should have a garden. So for me there should be a fifth test with ground flour -> no garden.
I also considered another class for ground floor without a garden
I'm confused too and answered 5 at first. In the solution it says 4.
yes, it should be there
@@bisomenike9769 it shouldn't be there, because according to the syllabus, in case of multiple sets of partitions we are using EACH CHOICE coverage. Eeach choice coverage requires test cases to execute each partition from each set of partitions at least once. Meaning that we tested NO GARDEN partition with first and second + floor test cases. so we don't need to test it with ground floor as well. remember this is to cover all values of the fields, not all combinations.
@@vaxutucuna thanks for this, I already took the cert a couple of months ago I am reviwing for the agile one and this comment just saved me from going back to the new syllabus to search the answer for this question
Why are you not considering a TC for time before 9am on week day for staff ? If time between 0:00 and 8:59am is another partition
ABC booking "staff weekday (any) 4am --- here it's a invalid partition. but under coverage
You are testing a registration page for a web application and your task is to design test cases for the login field on the registration form. The login must be between 8 and 12 characters, alphanumeric and contain at least one capital (uppercase) letter. You want to apply the Each Choice Equivalence Partitioning test technique.
How many partitions do you need to cover?
1. less than 8 characters(invalid);
2. from 8 to 12 characters(valid);
3. more than 12 characters(invalid);
I
4. alphanumeric (contains letters and numbers);
5. not alphanumeric (contains non-alphanumeric characters or only numbers/letters) (invalid);
6. Includes capital (uppercase) letter(valid);
7. doesn't include capital (uppercase) letter(invalid)
As per my understanding we can consider 2nd and 6th as 1 partition , then total number of partitions would be 6
Please clarify..
for the second question you can just assume one condition is false and other being true for all minimum scenarios in an easier to understand way
tc 1 - all scenarios true flight can be booked
tc 2 - staff is false - flight cant be booked
tc 3 - weekday is false - flight cant be booked
tc4 - times are false - flight cant be booked
For staff and days i can understand.. there are only two classes for each. But for hours are three (before 9/between 9-5/ after 5). shouldn't we consider the class before 9 am (staff and weekday) ?
So we just came from a tutorial where less than 1 (invalid), 1-15 (valid), and greater or equal 16 (invalid) are three partitions. Less than 1 isn't in the same partition as greater or equal to 16.
So isn't it the same for 00:00-08:59 (can not book), 09:00-17:00 (can book), 17:01-23:59 (can not book) ? But there's no test case here in the range 00:00-08:00 (weekdays).
I got the same concern. I selected the answer as C, which includes 5 classes..
For the Garden and Floor example, can't the answer be 6? What if there is an option to go for a ground floor apartment that has no Garden? The question only says that Garden is not possible for 1st and higher floors. It's doesn't say that all ground floor apartments should have a garden.
I had similar reasoning, except I thought it was 5. Ground floor could have no garden, small, or large. First floor no garden. Second or higher floor no garden.
True, 5. Not 6. Agree
Okay. See the main context is are they asking for minimum or maximum. In case sof Minimum we test what is possible as per the scenario and another thing is each item to be tested at least what your saying is Maximum where I am trying the floor with each combination of garden type.
So, when it comes to combinations we can try other impossible scenarios.
@@CulleniumI agree, the description is confusing at this part.
@@TMSQUARETECH but do we get 100% coverage if we skip the ground/no garden option? On floor 1+ the option doesn't exist by implementation but it does for the ground floor
You haven't covered or tested midnight to 8:59 am time
The syllabus say that you can ignore combinations, and only have to test each options at least once. So for the second example, why not 3 test case?
Tc1: staff, weekday, working hours.
Tc2: staff, weekend, non working hours
Tc3: non staff
?
I solved the problem in the same way. I got frustrated. But I think the key is that only staff can book a fly. So in theory the system will not allow you to enter the rest of the information if you are not a staff member. It's the only logic that I found.
For the flight booking application, I was coming up with the 5 test cases. Test 1 is valid because the time is between the definite range and test 2 is not because the mentioned time ' 7 PM' is after the specified timeline. I was wondering why did not we count an invalid test case of having booking time before 9 AM on the weekend? Can you please elaborate a bit here ? Thank you
i suppose it's because we can't book on weekend at all, doesn't matter what time is. so the test case is checking in general the ability to book by staff the tickets in the working hours. and as there are no working hours on weekend, so there is no need in additional test case
Is TEST 4 the same I do NON Staff - M/F - 9/5, correct?
Yes
Why Ground floor with No garden is not considered?
we need to find out "minimum" number of TCs
Even if the question says minimum number of test cases, shouldn't EP cater for the invalid cases too? Cause Equivalence Partitioning is also about valid/invalid partitions?
I agree and that's what I thought at first to answer the question but I think they only take into account valid combinations because they say straight away that it's impossible to combine first or second floor with a garden. Therefor they're assuming that it's not possible to test invalid combinations. But he's I'd have tested too if that impossibility is true.
Hi, great tutorial. For question 1, if we remove the sentence 'The form has a built-in validation mechanism that will not allow you to use the search criteria which violate this rule.' The answer will be 3, right?
Yes
The flight ticket one confuses me. According to video we are making 4 test cases:
STAFF / WEEKDAY / 9:00 - 17:00
STAFF / WEEKDAY / 17:01 - 23:59
STAFF / WEEDEND / 9:00 - 17:00
NON-STAFF / ANY / ANY
But we are not testing 00:00 - 8:59 Anywhere. So I think there should be a 5th test case STAFF / WEEKDAY / 00:00 - 8:59.
Am I mistaken? Please explain
OR alternatively, The test cases should be:
STAFF / WEEKDAY / 9:00 - 17:00
STAFF / WEEKDAY / 17:01 - 23:59
STAFF / WEEDEND / 00:00 - 8:59*
NON-STAFF / ANY / ANY
in which case the answer "4 test cases" would make sense
@@vaxutucuna i have the same question and my brain is about to explode. Finally after 13 days did you found any solution?
@@katarinabolova6879 in case of multiple sets of partitions we are using EACH CHOICE coverage. Each choice coverage requires test cases to execute each partition from each set of partitions at least once. So we're not focusing on all possible combinations, we're focusing on testing value from each partition at least once.
@@katarinabolova6879 So this is the correct answer:
STAFF / WEEKDAY / 9:00 - 17:00
STAFF / WEEKDAY / 17:01 - 23:59
STAFF / WEEDEND / 00:00 - 8:59*
NON-STAFF / ANY / ANY
in which case the answer "4 test cases" would make sense
@@vaxutucuna now i get it, many thanks. Also giving 1pm to the Test 3 and not a time below 9am was the mistake. i took it as granted and i stucked
In the EP don't we cover the negative test cases?
got my answer after reading the question again. "minimum" number of TCs
I was about the say the same
Can you explain ?
ISTQB 4.0 Sample Exam set C (#20 and #21 Questions)
the one with PIN? From v1.4? That one have me also confused.
Why R U not taking invalid test cases for the 1st question?
Because the question is about 100 % coverage
1) How many test cases are typically required for each partition in EP?
a) One test case
b) Two test cases
c) Three test cases
d) At least two test cases
Answers please 🙏
A)