Ste QB
Ste QB
Drivers:
- Drivers are used for bottom-up integration testing approch.
- These are used for interact with external system and usually complex than stubs.
Stubs:
- Stubs are used for top-down integration testing.
- When needs to interact with external system then also stubs are used.
Advantages:
i. Useful for very large projects.
ii. Itself a large system.
Disadvantages:
i. Can not be used for large projects.
ii. High Cost.
Elements:
i. Test for unauthorised access to secure program.
ii. Restricted files should not be downloadable.
iii. Check sessions are automatically killed.
iv. On use of SSL certificates, website should re-direct to encrypted page.
Stress testing:
Objectives:
- To involve customer deep into process of development.
- To identify and resolve critical bugs and issues in s/w.
Limitations:
i. Limited scope.
ii. Time consuming.
iii. Internal bias.
iv. High requirment.
Activities:
i. Analyze the product.
ii. Develop test strategy.
iii. Define objective of testing
iv. Define test criteria.
v. Planning the resources
vi. Plan test environment.
vii. Schedule and cost.
viii. Test deliverables.
13. What is test deliverables and milestone? Explain any four test deliverables.
It usually include following information:
i. Scope: Priority levels of different phases during testing.
ii. Methodology: Person who is going to perform the testing and method the methods.
iii. Requirements: Specifies what kind of h/w, s/w, human resources, tools you need.
iv. Criteria for pass-fail: To determine pass or fail.
v. Schedule: Plan of scheduling.
Coding defect:
- The program crashes or produces wrong result, this may lead to the coding defect.
- This defect may arise because product is developed in wrong way.
- These types of defect usually caused by developer’s oversight.
- There are three types as;
i. Variable declaration defect
ii. Documentation defect
iii. Database related defect
i. Static techniques:
Testing that is done without physically execution of program or system.
For ex. Code review
Classification:
S/w defects are classified as;
i. Severity wise
ii. Probability wise
iii. Priority wise
iv. Work product wise
v. Type of error wise
i. Severity based
- Severity is defined as the affect of defect on the application.
- It is related to the development aspect of the product.
- It can be decided based on how bad is the defect for system
- Its status can give idea about the affect in the functionality due to defect.
ii. Probability based
- Defect visibility: Indicates the likelihood of a user encountering the defect.
- High: Encountered by all or almost all the user.
- Medium: Encountered by about 50% of the user.
- Low: Encountered by very few users of the feature.
iii. Priority based
- Priority is defined as the order in which the defects should be resolved.
- Its status is set based on the requirements of the users.
- The status is usually set by QA team.
- There are some classes as;
Low
Medium
High
Urgent
iv. Work product based
- SSD: Defect from System Study Document
- FSD: Defect from Functional Specification Document
- ASD: Defect from Architectural Design Document
- DDS: Defect from Detailed Design Document
v. Type of error based
- Comments
- Data error
- Database error
- Missing Design
22. Illustrate defect prevention process of defect fixing process with diagram.
i. Identify critical risks
- The first step is preventing defects is to understand the critical risks.
- The best way to do this is to identify the types of defects that pose the largest area.
- These risk can vary from project to project.
- These risks might include:
Missing a key requirement
h/w maifunction
ii. Estimate expected impact
- Once the critical risk are identified, it is necessary to identify the financial impact
of the risk.
- This can be done by assessing the impact in dollars.
- The risk does become a problem combined with probability.
- The expected impact of a risk(E) is calculated as;
E=I*P
Where, I = Impact in dollars
P = Probability of risk becoming problem.
iii. Minimize expected impact
- The expected impact may be strongly affected so it is nessecary to minimize.
- It includes;
Eliminate the risk
Reduce the probability of a risk becoming a problem
Reduce the impact if there is a problem
23. Explain defect life cycle to identity status of defect with proper labeled diagram.
Types:
i. Process metrics
ii. Product metrics
iii. Project metrics
Measurment:
In general, Kilogram is metrics for measuring the attribute weight. Similarly in s/w ‘How
many issues are found in thousand lines of the code?’, here no. Of issues is one
measurement and no. Of lines of code is another measurement. Metrics is defined in these
two measurements.
33. State various advantages and disadvantages of using manual testing tool.
Advantages:
i. It is cheaper
ii. It requires less time
iii. It allows tester to perform adhoc testing
iv. Tester does not need knowledge of automated testing tool.
Disadvantages:
i. Time consuming process
ii. Limited scope
iii. No batch testing
iv. Non consistent
38. State the different metrics types with its classification. Explain three types product
metrics.