You are on page 1of 36

SOFTWARE TESTING

Presented by

CIA Technologies

CONTENTS
1. 2. 3. 4. 5. 6.

Introduction Testing objectives Manual Testing Testing principles Classification of testing Black box testing

CIA Technologies

CONTENTS
6. 7. 8. 9. 10.

White box testing Performance testing Reliability testing Security testing Testing automation

CIA Technologies

CONTENTS
11. 12. 13. 14. 15.

Available Tools And Techniques Testing level Testing cycle Summary Queries

CIA Technologies

INTRODUCTION
Software testing: Testing a software for its Correctness Completeness Security.

CIA Technologies

INTRODUCTION

SQA Software Quality Assurance is testing a software product completely in a broader aspect. Software testing is a part of SQA.

CIA Technologies

Why Testing?
Quality Control & Assurance Verification & Validation Incompatibility & Interoperability

CIA Technologies

Misunderstanding about Testing


Testing

is debugging Testing never ends Testing is not the job of a programmer

CIA Technologies

Types
Manual

Testing

Test Case Creation Test Case Execution Bug Reporting

CIA Technologies

TESTING OBJECTIVES
Testing

= executing a program to find an

error Quality of a test case: probability of finding an as-yet undiscovered error. A successful test uncovers a lot of undiscovered error

CIA Technologies

TESTING PRINCIPLES
All tests should be Made according to customer requirements planned long before testing begins begin in-the-small and progress toward inthe-large Exhaustive testing is not possible

CIA Technologies

Classification of testing
It is broadly classified based on point of view a test engineer takes as Black-box testing White-box testing

CIA Technologies

BLACK BOX TESTING


Only

inputs and output functionality are visible Inputs are given and outputs are compared against specification. No implementation details of the code are considered.

Data driven testing.

CIA Technologies

BLACK BOX TESTING


Targets: To find incorrect or missing functions interface errors performance errors

CIA Technologies

WHITE BOX TESTING


Contrary

to black-box testing. structure and code are visible. Implementation of the software is given importance programming language, logic, and styles are considered.

CIA Technologies

WHITE BOX TESTING


Targets: To check Control-flow Looping data-flow all the nodes or paths are covered or traversed at least once.

CIA Technologies

PERFORMANCE TESTING
software

should not take infinite time or infinite resource to execute. PERFORMANCE BUGS process that causes system performance to degrade. Usage of workload to check software performance.

CIA Technologies

PERFORMANCE TESTING
Targets: To check CPU cycles. Disk space. Disk access operations. Memory usage.

CIA Technologies

RELIABILITY TESTING
probability

of failure-free operation of a

software. Robustness testing - degree to which it can function correctly in the presence of exceptional inputs.

CIA Technologies

RELIABILITY TESTING
Targets: To check for robustness problems such as machine crashes. process hangs. abnormal termination.

CIA Technologies

SECURITY TESTING
Need for security testing: Flaws in software can be exploited by hackers. With the development of the Internet, software security problems are becoming even more severe.

CIA Technologies

SECURITY TESTING
Targets: To check security violations. validating the effectiveness of security measures. Simulated security attacks to find security vulnerabilities.

CIA Technologies

TESTING AUTOMATION
The need: Software testing can be very costly. Automation is a good way to cut down time and cost. In order to automate the testing process we have to generate the test cases to check for complete correctness.
CIA Technologies

AVAILABLE TOOLS AND TECHNIQUES


A lot of testing tools are available. some of them are Mercury Interactive Tools
1. 2. 3. 4. 5.

1.

Test Director Quality Center WinRunner QTP Load Runner

CIA Technologies

AVAILABLE TOOLS AND TECHNIQUES


Test Director It is management tool, in this we can do manual testing and you can connect automation tools 2. QC QC is the advance version of test director
1.

CIA Technologies

AVAILABLE TOOLS AND TECHNIQUES


3.WinRunner It is an automation tools used for functionality testing and regression testing. This tool support for window based application.

Test Script Language Script used in WinRunner

CIA Technologies

AVAILABLE TOOLS AND TECHNIQUES


4.

QTP It is an automation tools used for functionality testing and regression testing. This tool support for both window and web based application. Here we use VB Script

CIA Technologies

AVAILABLE TOOLS AND TECHNIQUES


5.

Load Runner This tool is used for performance testing to calculate a stress of the application

CIA Technologies

TESTING LEVELS
Acceptance

testing system requirementperformed after testing and before implementation phase. Alpha testing - testing by an independent test team at developers' site. Beta testing beta versions released outside the company sometimes to open public to increase feedback.

CIA Technologies

TESTING CYCLE

CIA Technologies

When to Stop Testing?


Bug

rate is least Deadlines Test budget has been depleted

CIA Technologies

SUMMARY
Testing

is a destructive activity. Testing cannot show the absence of defects. Testing > 30% of total effort.

CIA Technologies

SUMMARY
All

tests should be traceable to customer requirements. White-box testing. Black-box testing

CIA Technologies

SUMMARY
Software

quality, reliability and security are tightly coupled. Robustness, performance, reliability testing.

CIA Technologies

SUMMARY
Testing automation Testing cycle Testing levels

CIA Technologies

QUERIES

CIA Technologies

You might also like