Stf Unit-V Notes
Stf Unit-V Notes
2. Management
4. Scope of automation,
Test Planning
The test plan acts as the anchor for the execution, tracking and reporting of the entire testing
project and covers
1. What needs to be tested.
2. How the testing is going to be performed.
3. What resources are needed for testing
4. The time lines by which the testing activities will be performed.
5. Risks that may be faced in all of the above, with appropriate mitigation and contingency plans.
Scope Management: Deciding features to be Tested / Not Tested.
Scope management pertains to specifying the scope of a project.
For testing, scope management entails.
1. Understanding what constitutes a release of a product;
2. Breaking down the release into features;
3. Prioritizing the features for testing;
4. Deciding which features will be tested and which will not be; and
5. Gathering details to prepare for estimation of resources for testing.
Features to be tested:
• Features that are new and critical for the release.
• Features whose failures can be catastrophic.
• Features that are expected to be complex to test.
• Features which are extensions of earlier features that have been defect prone.
• Given the limitations on resources and time, it is likely that it will not be possible to test all the
combinations exhaustively.
• During planning time a test manager should also consciously identify the features or
combinations that will not be tested.
There must be entry and exit criteria for different phases of testing.
The entry criteria for a test specify threshold criteria for each phase or type of test.
There may also be entry criteria for the entire testing activity to start.
The completion/exit criteria specify when a test cycle or a testing activity can be deemed
complete.
Identifying responsibilities, Staffing and Training needs:
A testing project requires different people to play different roles.
There are the roles of test engineers, test leads, and test managers.
Staffing is done based on estimation of effort involved and the availability of time for release.
Trainings are required to find the perfect fit between the requirements and the skills available.
Identifying Test Deliverables:
Communications Management:
Risk Management:
Test Execution Phase is carried out by the testers in which testing of the software build is done based on
test plans and test cases prepared.
The process consists of test script execution, test script maintenance and bug reporting.
If bugs are reported then it is reverted back to development team for correction and retesting
will be performed.
Test Report is a document which contains a summary of all test activities and final test results of a
testing project.
• Test report is an assessment of how well the Testing is performed.
• Based on the test report, stakeholders can evaluate the quality of the tested product and make
a decision on the software release.
Project Information
All information of the project such as the project name, product name, and version should be described
in the test report.
Test Objective
As mentioned in Test Planning tutorial, Test Report should include the objective of each round of
testing, such as Unit Test, Performance Test, System Test …Etc.
Test Summary
This section includes the summary of testing activity in general. Information detailed here includes
The number of test cases executed
The numbers of test cases pass
The numbers of test cases fail
Pass percentage
Fail percentage
Comments
This information should be displayed visually by using color indicator, graph, and highlighted table.
Defect
One of the most important information in Test Report is defect. The report should contain following
information.
• Total number of bugs.
• Status of bugs (open, closed, responding).
• Number of bugs open, resolved, closed.
• Breakdown by severity and priority.
Tips to write a good test report:
• Test report is a communication tool between the Test Manager and the stakeholder.
• Through the test report, the stakeholder can understand the project situation, the quality of
product and other things.
• The following scenario shows you why we need a good Test Report.
• You co-operate with outsourcing company, its tester after having performed Performance
Testing of a website, sends you a test report like this
Test Report:
• The information of that report is too abstract. It does not have any detailed information.
• The stakeholder who will read it might be slightly puzzled when they get it.
They might ask or have following sets of questions: -
Why did they not execute 30 TCs that remains?
What are these failed Test Cases?
Doesn't have any bugs description.
To solve that problem, a good Test Report should be:
Detail: You should provide a detailed description of the testing activity, show which testing you have
performed. Do not put the abstract information into the report, because the reader will not understand
what you said.
Clear: All information in the test report should be short and clearly understandable.
Standard: The Test Report should follow the standard template. It is easy for stakeholder to review and
ensure the consistency between test reports in many projects.
Specific: Do not write an essay about the project activity. Describe and summarize the test result
specification and focus on the main point.
For example, to correct the above Test Report, the tester should provide more information such as:
• Project information
• Test cycle: (System Test, Integration Test...etc.)
• Which functions have already tested (% TCs executed, % TCs passed or fail…)
• Defect report (Defect description, Priority or status...)
Automation testing points
Terms used in Automation.
Skills needed for automation.
What to automate, Scope of automate.
Design and Architecture for Automation.
Generic requirements for test tool /framework.
Process model for automation.
Selecting a test tool.
Automation for extreme programming model.
Challenges in Automation.
4. SCOPE OF AUTOMATION
Software Testers and Developers were now on the lookout for a testing method.
The testing method that could provide the same throughput as Manual Testing, but with
minimal labor and cost.
In addition to this, they also wanted to reduce the repetitive tasks of Manual Testing.
The scope of automation or automation testing future scope is huge in the market.
This was the time when Automation Testing works towards the technical world. It had 2 primary
goals, to be a reliable Software Testing Method and meet the requirements in less time, cost,
and labor.
“So how exactly is Automation Testing successful in saving and money???”
Define the scope of Automation:
The scope of automation is the area of your Application Under Test which will be automated. Following
points help determine scope:
• The features that are important for the business
• Scenarios which have a large amount of data
• Common functionalities across applications
• Technical feasibility
• The extent to which business components are reused
• The complexity of test cases
• Ability to use the same test cases for cross-browser testing
Benefits of Automation Testing
• Reduces Repetitive Tasks.
• Increases Coverage.
• Test Automation helps in Performance Testing.
• Automation Testing equals Reusability.
The following category of test cases are not suitable for automation:
• Test Cases that are newly designed and not executed manually at least once.
• Test Cases for which the requirements are frequently changing.
• Test cases which are executed on an ad-hoc basis.
Who will Automate ?
Test Engineers
Developers
After base lining the requirement of the tool, the Test Manager should
• Analyze the commercial and open source tools that are available in the market, based on the
project requirement.
• Create a tool shortlist which best meets your criteria.
• One factor you should consider is vendors. You should consider the vendor’s reputation, after
sale support, tool update frequency, etc. while taking your decision.
• Evaluate the quality of the tool by taking the trial usage & launching a pilot. Many vendors
often make trial versions of their software available for download.
Step 3) Estimate cost and benefit:
• To ensure the test tool is beneficial for business, the Test Manager have to balance the
following factors:
A cost-benefit analysis should be performed before acquiring or building a tool
Example: After spending considerable time to investigate testing tools, the project team found the
perfect testing tool for the project Guru99 Bank website. The evaluation results concluded that this
tool could
• Double the current productivity of test execution
• Reduce the management effort by 30%
However, after discussing with the software vendor, you found that the cost of this tool is too high
compare to the value and benefit that it can bring to the teamwork.
In such a case, the balance between cost & benefit of the tool may affect the final decision.
• Have a strong awareness of the tool. It means you must understand which is the strong points and
the weak points of the tool
• Balance cost and benefit.
Even with hours spent reading software manual and vendor information, you may still need to try the tool
in your actual working environment before buying the license.
You should have the meeting with the project team, consultants to get the deeper knowledge of the tool.
Your decision may adversely impact the project, the testing process, and the business goals; you should
spend a good time to think hard about it.
oOo