Professional Documents
Culture Documents
Testing:
Testing is the validation or verification of a
predefined set of rules, conditions, criteria or
attributes
Objectives of testing
Testing
To validate requirement
To identify missing requirements
To identify additional requirements
Defect
A Defect is any form of variance from a predefined
set of rules, conditions, criteria or attributes
A Defect may also be referred to as a deficiency or
bug
Copyright 2011 | People Tech Group
www.PeopleTechGroup.com
Testing Principles
Timely
Balanced
Provable
Repeatable
Sensible
Clarity of Roles
Timely
The earlier that defects are identified in the Testing Life
Cycle the less cost is associated with fixing it.
Balanced
The effort required in testing must be balanced with the
time, budget and resources available
It is imperative that significant effort is spent on testing
functions that are deemed necessary or critical rather
than those that are considered nice to have
Copyright 2011 | People Tech Group
www.PeopleTechGroup.com
Provable
The results of testing must be provable in
Sensible
It is not feasible to test every thing
It may be necessary to identify when enough
Test Strategy
PTM
Test Plan
PTL
Test Scenario
STA
Test Cases
TA
Test Scripts
Testers
Execution
10
Strategy
Initialize
Version
Sign Off
PTM
1.0
PM or BA
KeyPerson
Accountability
Peter
Project Manager
Lilly
Jack
Test Lead
Sam
Test Analyst
Eric
Tester
12
13
2. Test phases :
This section shows the what type of tests perform on
the project, like system test and U.A.T test and why
these test are performing on project.
3. Roles and Responsibilities :
It shows the staffing assumptions for the project.
14
Role
Responsibility
Understand SRS
Prepare test strategy
Review Test plan
Test Analyst
Tester
15
4. Test environment :
What type of front End, Backend, internet,
networking used for the testing.
F/E =Asp.Net
B/E = SQL-Server
OS =Windows
Internet = Netscape Navigator.
Band Width=512 kbps
Project Manager , System Analyst and IT
people will involve in this.
Copyright 2011 | People Tech Group
www.PeopleTechGroup.com
16
Test strategy
Test plan
Test scenarios
Test Results
Defect Summary Report
Test cases
Test Scripts
17
18
19
20
Risks
Constraint
Delivery Late
Mitigation
Reduce Expenses
No of Emp may reduced
No of Emp goes
increased
21
Week2
Week3
Week4
Client
meeting with
entire project
team
PTM with
team
members
PTL test plan
22
23
In this section test lead define the purpose of the project, object
of the document, project description and modules.
Requirement
Functional req.
System req.
Client req.
Cost
U.A.T
S.T
S.I.T
Time
UAT - 6months
ST - 2months
SIT - 4months
Manpower
10men
Plan
Scenario
Cases
Scripts
Test plan- 1
scenario - 1
Cases - 4
Scripts - 6
24
25
3. Testing Approach:
In this phase, Test lead , decide what modules are
going for manual testing and what modules are going
for Automation Testing and which tools we want to
use is mentioned here and what type of testing will be
performed on particular module.
Unit testing
Integration testing
System testing
UAT Testing
26
Functional
Non-Functional
Manual
Automation
M1
M3
M2
M4
M6
M5
M7
M8
M10
M9
27
28
Iterations
Unit
Testing
ST
SIT
Defect %
Cycle1/Build1
____
_____
____
70%
Cycle2/Build2
____
_____
____
35%
Cycle3/Build3
____
_____
____
8%
UAT
____
_____
____
0.5%
29
30
7. Risks :
Time
1.Deadlines
Budget
31
Work
Assigned
Test Plan
Rajesh
Test Scenario
Sanjay
32
33
34
35
36
cases is made.
Test Case
UserId
Password
TC_1
Fail
Pass
TC_2
Pass
Fail
TC_3
Fail
Fail
TC_4
Pass
Pass
37
38
StepNo
Responsible Tester
Descrip
tion(wh
at to
do)
Expect
ed
Actual
result
Status
Execn
Date
Assigne
d Date1
39
40
<4
20 Char
> 20
4-20 Char
41
42
Normal flow:
Invoke the browser
Specify the URL
Enter the Uid, Pwd
Click on check mail
Copyright 2011 | People Tech Group
www.PeopleTechGroup.com
43
Alternate flow:
Invoke the browser
Specify the URL
Enter the Uid, Pwd
Click Signout
Exception:
Invalid URL
Invalid Uid,Pwd
Functional Specification:
Uid accepts 4-10 Characters
Pwd accepts 5 digit
44
Bug
Why does Bug occurs?
Due to miscommunication or no
communication
Software complexity
Programming errors
Changing requirements
Time Pressure
Human error
In experience
45
If
Passed
Stop Testing
Retest
Reason for not being a
defect will be given
Cancelled
No
Is that a
genuine
defect
Yes
46
Bug:
Bug Status:
47
48
Differed Status
Defect_Id
Defect
Description
Defect Status
Severity
Priority
49
What is Testing?
Testing
Testing is the validation or verification of a
predefined set of rules, conditions, criteria or
attributes
50
Automated Testing
It is Possible
51
Testing Levels
Unit Testing
Integration Testing
System Testing
User Acceptance Testing
52
Unit Testing
Unit testing :This kind of Testing is done by
the developers to verify the internal structure
of each individual module based on LLDD
using white Box Testing techniques consists
of individual stones )
(if, switch)
(for, while, do-while)
(set of stmts which are interlinked)
(no of individual paths based on graphs)
53
Cyclomatic complexity
55
Integration Testing
This testing is done by the developers by integrating
57
Top-Down approach
58
Sandwich approach
Big-Bang approach
59
rectified easily.
Integration testing is also done by the testers
to verify the functionality of the interface
which combines one or more modules.
Window based
Web based
Data base also
60
System Testing
This kind of testing is done by the system
61
System Requirements
Functional
Non-Functional
Functionality test
Installation test
Parallel test
Compatibility test
Configuration test
Performance test
User Interface(GUI) test
Security test
62
Functional Requirements
Functionality Testing
63
Combo box
Drop down list, No: of list focused properly
Text box
We can verify the insertion of text or value in this
object and the properties are enabled, focused.
Multiline text control
It is used to verify to enter multiple lines of text.
Links
Valid link
ex: Correct page
Invalid link ex: Incorrect page
Broken link ex: Error page: Page not found
Copyright 2011 | People Tech Group
www.PeopleTechGroup.com
64
65
Installation Testing
Installation guide
Size of S/W (Before installation)
Typical or Custom options
Wizards
Size of S/W (After installation)
66
Parallel Testing
67
Compatibility Testing
68
Configuration Testing
69
Non-Functional Requirements
Performance Testing
Load Testing
Stress Testing
Volume Testing
70
71
Load Testing
Stress Testing
72
73
Volume Testing
74
Security Testing
75
Alpha Testing
Alpha testing is done by the customer in the developer
environment to verify his business requirements.
Beta Testing
Beta testing is done by the customer in his own environment
or called as real/customer environment to verify his Business
requirements.
76
77