Professional Documents
Culture Documents
l) It is not a secret that in some cases it is more effectual both in terms of time, cost, and precision to
conduct an expert or heuristic estimation of a product rather than test it. This is particularly true in the
early steps of a product when gross violations of usability principles abound. It is simply unnecessary
to bring in many partakers to reveal the evident .
m) Exhaustive testing is not possible in current scenario.
n) Complete testing is infeasible. Complexity is the root of the problem. At some point, software testing
has to be stopped and product has to be shipped .
Q2. Explain various software testing limitations.
Ans. 2:
1) You cannot test a program completely
2) We can only test against system requirements
- May not detect errors in the requirements.
- Incomplete or ambiguous requirements may lead to inadequate or incorrect testing.
3) Exhaustive (total) testing is impossible in present scenario.
4) Time and budget constraints normally require very careful planning of the testing effort.
5) Compromise between thoroughness and budget.
6) Test results are used to make business decisions for release dates.
7) Even if you do find the last bug, youll never know it
8) You will run out of time before you run out of test cases
9) You cannot test every path
10) You cannot test every valid input
11) You cannot test every invalid input
Q3. Differentiate between software Verification and Validation.
Ans. 3:
Verification
Are we building the system right?
Verification is the process of evaluating
products of a development phase to find out
whether they meet the specified requirements.
Validation
Are we building the right system?
Validation is the process of evaluating software
at the end of the development process to
determine whether software meets the customer
expectations and requirements.
The objective of Verification is to make sure
The objective of Validation is to make sure that
that the product being develop is as per the
the product actually meet up the users
requirements and design specifications.
requirements, and check whether the
specifications were correct in the first place.
Following activities are involved in
Following activities are involved in Validation:
Verification: Reviews, Meetings and
Testing like black box testing, white box testing,
Inspections.
gray box testing etc.
Verification is carried out by QA team to check Validation is carried out by testing team.
Security requirements have been documented and necessary user access obtained
Exit Criteria
UAT has been completed and approved by the user community in a transition meeting
Change control is managing requested modifications and enhancements
Business sponsor agrees that known defects do not impact a production releaseno remaining
defects are rated 3, 2, or 1
Q2. Draw the test cases by using equivalence partitioning method for the following situation.
Find out the type of a triangle on the basis of given three input integer values.
Ans.2: The problem statement we note that there are four possible outputs:
Not a Triangle
Isosceles
Equilateral
Scalene
We can use these to identify output (range) equivalence classes:
R1= {<a, b, c> | the triangle with sides a, b, c, is equilateral}
R2= {<a, b, c> | the triangle with sides a, b, c, is isosceles}
R3= {< a, b, c> | the triangle with sides a, b, c, is scalene}
R4= {a, b, c> | sides a, b, c do not form a triangle}
These classes yield the following simple set of test cases:
Sample Test Cases based on Output Domain:
Test Case
Expected
Output
OE1
Equilateral
OE2
Isosceles
OE3
Scalene
OE4
Not a
Triangle
T = { <y1nom, y2min>,
<y1nom, y2min+>, <y1nom, y2nom>, <y1nom, y2max->,
<y1nom, y2max+>, <y1min, y2nom>, < 1nin+, y2nom>, <y1max-, y2nom>,
<y1max, y2nom> }
Test Cases Using Boundary Value Analysis: