Black Box Testing / Test Cases Flashcards
What are test to pass cases?
Testing all of the cases that should pass based on the spec sheet.
What things should you be testing in the test to pass cases?
Test the upper and lower limits, all given parameters (+, -, * in the math one), negatives and positives, all variables at least once, and test for the things the spec sheet says the program should not do. If a test case fails, then do multiple tests trying to pinpoint the cause/root of the failure.
What things should you be testing in the test to fail cases?
Test for things not mentioned in the spec sheet that you think might break the program. Test for things that you expect to throw an error or do nothing.
What columns should be expected in both the test to pass and test to fail reports?
The test case number The actual test case parameters tested The reason for the test case The expected result The observed result If the test case passed or failed
What columns should be expected in the bug report?
The bug id Test cases that show the bug The explanation of the bug
What are the 6 black box testing design techniques?
- Equivalence Partitioning
- Boundary Value Analysis
- Decision Table
- State Transition
- Exploratory Testing
- Error Guessing
What is equivalence partitioning?
You divide test conditions into groups, which we test only one condition.
eg. only tested *, +, -, blue once and assumed it worked throughout the rest of the application
What is boundary value analysis?
We test the boundaries, not every possibility inbetween them.
eg. if boundaries at > 10 and < 20 we would test for 9,10,11,19,20,21
What is the decision table technique?
This test technique is appropriate for functionalities which has logical relationships between inputs (if-else logic). We consider conditions and actions.
eg. login page validation (Allow user to login only when both the user id and password are entered correct).
Conditions: Enter valid User ID, Enter valid password.
Actions: Displaying home page, Show a message “Invalid Creds.
What is the state transition technique?
Testing the state transition. Meaning if I put a value in, that is supposed to either carry on to the next step or clear the value after, make sure it does that.
What is exploratory testing?
This is when the system is tested by someon who has no idea about the requirements, and is simply learning the system by exploring, finding bugs in the process in how things should work logically.
What is the error guessing technique?
Unplanned testing based on the testers prior experience, testing things that they have seen break systems and they think might break the system, failure testing.
eg. submitting a form with missing values or invalid values
What is the bug report checklist?
- Reproduce the bug 2 - 3 times
- Make sure the bug hasn’t already been reported
- Write the detailed bug report
- DefectID
- Title/Summary
- Reporter Name
- Defect Reported Date
- Who Detected
- How detected (testing, accidentally, giving walkthrough)
- Project Name
- Release/Build Version (system build #)
- Defect/Enhancement
- Environment (windows 8, chrome 48)
- Priority
- Severity
- Status (new, open, rejected)
- Description (what were you doing when the bug shows
- Steps to reproduce (detailed!! even include browser)
- URL
- Expected Result
- Actual Result
- Attachments
- Defect close date