Content-Length: 3089029 | pFad | https://www.scribd.com/document/807220223/unit-5
0unit-5
unit-5
unit-5
Introduction
• A single testing tool may not cover the whole testing process, hence a variety of
testing tools are available according to various needs and users.
Manual testing
• Manual testing involves testing the software without any automation script of any
tool. Tests are run manually
Automation testing
• The method which takes automation tools support to execute test cases is known as
automation testing.
• They are good for large projects.
• Automation testing process involves testing with the help of automation scripts and
executing the scripts to run the application with the help of some automation tool.
Guidelines for Software Testing.
1. Testing should uncover software defects and improve software quality.
• Test team should focus on finding the defects in the software like any deviation from
the software requirement specification (SRS) or any variance from the desired output.
Also test team should focus on performance, reliability of software so as to improve
software quality.
2. Testing should be done throughout the SDLC.
• As in the traditional software development models like waterfall model, testing is
done only after certain phases of development, so test team is not involved throughout
the SDLC. This is not the right approach to get the best quality software’s. In order to
do effective testing the test team should be included from the requirements phase till
the implementation phase of the software.
1
UNIT – V Testing Tools and measurements
• Any software application performs some business logic and provides the solution.
The test team should test all the business logic of the software and ensure that the
logic is implemented correctly and provides desired results
5. Testing should be performed effectively and reduce software risks.
• Testing team should put their full effort and perform testing effectively with minimal
resources. The test process should be well defined so that there is minimal variance
between the tasks performed from tester to tester. Since software testing is the control
which provides management with the risk information so that they can take necessary
actions to reduce the project and product risks.
• Executing same tests again and again time taking process as well as Tedious.
• GUI Objects Size difference and Color combinations etc..Are not easy to find in Manual
Testing.
• Not Suitable for Large scale projects and time bounded projects.
• Batch Testing is not possible, for each and every test execution Human user interaction is
mandatory.
• Manual Test Case scope is very limited, if it is Automated test, scope is unlimited.
• Comparing large amount of data is impractical
• Checking relevance of search of operation is difficult
• Processing change requests during software maintenance takes more time.
4. Simulated Testing: Automated tools can create many concurrent virtual users/data and
effectively test the project in the test environment before releasing the product.
5. Test case design: Automated tools can be used to design test cases also. Through
automation, better coverage can be guaranteed than if done manually.
6. Reusable: The automated tests can be reused on different versions of the software, even if
the interface changes.
7. Avoids human mistakes: Manually executing the test cases may incorporate errors. But
this can be avoided in automation testing.
9. Cost Reduction: If testing time increases cost of the software also increases. Due to
testing tools time and therefore cost is reduced.
10. Relentlessness: Test tool and automation never tire or give up. It will continuously test
the software.
While introducing the tool in the organization it must match a need within the organization,
and solve that need in a way that is both effective and efficient. The tool should help in
building the strengths of the organization and should also address its weaknesses. The
organization needs to be ready for the changes that will come along with the new tool.
However, do not depend on the tool for everything, but it should provide support to your
organization as expected.
4
UNIT – V Testing Tools and measurements
Give any four differences between Manual & Automated testing. (s-18)
List what are the different guidelines to be followed while selecting dynamic test tools.
i) Assessment of the organization ‘s maturity (e.g. readiness for change);
ii) Identification of the areas within the organization where tool support will help to improve
testing processes;
iii) Evaluation of tools against clear requirements and objective criteria;
iv) Proof-of-concept to see whether the product works as desired and meets the requirements
and objectives defined for it;
v) Evaluation of the vendor (training, support and other commercial aspects) or open-source
network of support;
vi) Identifying and planning internal implementation (including coaching and mentoring for
those new to the use of the tool).
6
UNIT – V Testing Tools and measurements
5. Simulation and Emulation. Test tools are often used to replace hardware or software that
would normally interface to your product. This "fake" device or application can then be used
to drive or respond to your software in ways that you choose and ways that might otherwise
be difficult to achieve.
6. Relentlessness. Test tools and automation never tire or give up. they can keep going and
going and on and on without any problem; whereas the tester gets tired to test again and
again.
Or
Advantages of using testing tools :
i. Reduce time of testing
ii. Improve the bugs finding
iii. Deliver the quality software/product
iv. Allow to run tests many times with different data
v. Getting more time for test planning
vi. Save resources or reduce requirement
vii. It is never tired and expert person can work at a time many tools.
8
UNIT – V Testing Tools and measurements
going back to the tool vendor and involves additional cost and effort. A good number of test
tools require their libraries to be linked with product binaries.
3. Training/skills : While test tools require plenty of training, very few vendors provide the
training to the required level. Organization level training is needed to deploy the test tools, as
the user of the test suite are not only the test team but also the development team and other
areas like configuration management.
4. Management aspects : A test tool increases the system requirement and requires the
hardware and software to be upgraded. This increases the cost of the already- expensive test
tool.
OR
Guidelines for selecting a tool:
1. The tool must match its intended use. Wrong selection of a tool can lead to problems like
lower efficiency and effectiveness of testing may be lost.
2. Different phases of a life cycle have different quality-factor requirements. Tools required
at each stage may differ significantly.
3. Matching a tool with the skills of testers is also essential. If the testers do not have proper
training and skill then they may not be able to work effectively.
4. Select affordable tools. Cost and benefits of various tools must be compared before making
final decision.
5. Backdoor entry of tools must be prevented. Unauthorized entry results into failure of tool
and creates a negative environment for new tool introduction.
9
UNIT – V Testing Tools and measurements
• It helps the team to keep a track on the software quality at every stage in the software
development cycle and also provides information to control and reduce the number of
errors.
• It allows the stakeholders to measure the efficiency of the team and accelerates
application delivery.
• For example: A test manager must measure the effectiveness of a test process to
identify the areas of improvement.
• While working on various testing projects we make sure to follow the software testing
metrics for our clients to release a high-quality software.
➢ Software testing metrics Plays a important role in monitoring the progress of the
project.
➢ It improves efficiency and effectiveness of software testing .
We can measure the progress of the product by using different test metric techniques.
There are various steps to be followed in identifying the right set of metrics to
measure a project. the metrics used in a project varies according to the type of the
project.
10
UNIT – V Testing Tools and measurements
Product Metrics
➢ Describes the characteristics of the product such as size, complexity, design features,
performance, and quality level.
➢ The product metrics are those metrics which has more meaning in perspective of the
software product being developed.
➢ One of the example is quality of the developed product.
➢ They focus on quality of deliverables.
Project metrics
➢ This metrics describe project characteristics and execution.
➢ Examples include number of software developers, cost, schedule and productivity.
➢ The project metrics are those metrics which are more relevant to a project team. They
can be used to measure the efficiency of a project team or any other tools being used
by team members.
➢ One example of project metric is ‘Errors found per engineer-month which is a
relevant project metric for a test team.
Different steps for identifying the right set of metrics to measure a project.
Step 1: Identify the key areas to be measured
If goal of the project is to complete the test execution of 1000 test cases according to
the schedule then the key areas to be measured are the test execution productivity of
the resources who are working in that project .
What do you mean by Software Metrics? List any three types of metrics. (s-18)
Software metrics: Metrics are necessary to provide measurements of such qualities. Metrics
can also be used to gauge the size and complexity of software and hence are employed in
project management and cost estimation.
OR
A Metric is a quantitative measure of the degree to which a system, system component, or
process possesses a given attribute.
Metrics can be defined as ―STANDARDS OF MEASUREMENT
Software Metrics are used to measure the quality of the project.
Metric is a unit used for describing an attribute.
Types of software metrics are:
1. Process metrics
3. Project metrics/ Product metrics
13
UNIT – V Testing Tools and measurements
• – Test efficiency
Importance of Metrics
• Metrics is used to improve the quality of products and services thus helps in
achieving customer satisfaction.
• Different metrics helps the teams to monitor the efficiency of the process and control
them
• It provides the scope of improvement for current process.
➢ Base metrics is the raw data collected by Test Analyst during the test case
development and execution (# of test cases executed, # of test cases).
➢ While calculated metrics are derived from the data collected in base metrics. (%
Complete, % Test Coverage).
15
UNIT – V Testing Tools and measurements
Conclusion
Thus we can conclude that role of metrics and measurement is to control and improve the
process of software development in order to develop a good quality product.
16
UNIT – V Testing Tools and measurements
Assignment Questions
1. What is manual testing and automation testing.
2. What are the guidelines for software testing.
3. What is meant by testing tools.
4. Describe how to select testing tool.
5. State the advantages and limitations of manual testing.
6. Explain need of automated testing.
7. Compare manual and automation testing
8. Explain static and dynamic testing tools.
9. State the advantages and disadvantages of automated testing.
10. Define metrics and measurements.
11. Explain the steps for identifying the right set of metrics to measure a project.
12. Explain the following
➢ Process metrics
➢ Product metrics
➢ Project metrics.
17
Fetched URL: https://www.scribd.com/document/807220223/unit-5
Alternative Proxies: