Unit 1 STA
Unit 1 STA
• Error Guessing:
• It is based on the experience of the tester ,where tester uses
experience to guess the problematic areas of the
software .Examples:Divide by Zero ,Handling nul values in text
fields ,Accepting the submit button without any value ,File
upload without attachment , File upload with less thanor
State Transition Testing
• It is used to capture behavior of the software
application when different input values are
given to the same function .
• Applies to those types of applications that
provide specific number of attempts to
access application.
All Pairs Testing Techniques
• It is used to test all the possible discrete combination of
values .
• This is combinational method is used for testing the
application that uses check box input ,radio button
input , list box, text box etc.
• Advantages of Black box Testing
• The tester does not need to have more functional
knowledge or programming skills.
• It is efficient for implementing the test s in the larger
system.
• Tests are executed from the user’s or client’s point of
view.
• It is used in finding the ambiguity and
contradictions in the functional specifications.
• Dis Advantages of Black Box Testing
• Without clear programming knowledge, test cases are
difficult to implement
• It does not reveal the errors in the control structure
• Working with a large sample space of inputs can be
exhaustive and consumes a lot of time.
LEVELS OF TESTING
1.Unit Testing 2. Integration Testing 3.system Testing
4.Acceptance Testing
Unit Testing
one or individual (Individual Module Testing
Done by developers
• Component /module testing
• Developers follows (white box Testing
Techniques)
• SRS -Software Requirement specification &
LLD (Low Level Detailed Design)
• Integration Testing
• Combining/merging modules
• Done by developers
• White box testing techniques
• SRS& HLD (High Level Design )document .
System Testing
• Complete Application Testing
• Done by Testers
• Black Box Testing Technique
• FRS(Functional Requirement Specification) &
Test Case Document
In system testing has four categories. They are
Usability testing
Functional testing
Performance testing
Security Testing
Acceptance Testing
• Getting approval from client
• Done by client
• Testing done at developer/client/online environment
• Satisfying client requirements
Functional
Functionality Testing
• Testing the behaviour of the application
Alpha Testing
• Application is tested for first time
Before the final release of the software is released to
users for testing.
Beta Testing
• Application is tested second time.
• Before the final release of the software is released
to users for testing.
Smoke Testing:
• Testing the major functionality of the application.
Sanity Testing:
• Testing the minor functionality of the application.
Regression Testing:
• Testing the whole application to check whether
new requirement changes affects previous
functionality.
Retesting
• Testing only the bugs fixed by the developers.
Non Functional Testing:
Usability Testing:User friendly,Look &feel, Ease of
use,Speed in interface,Context sensitiveness.
Performance Testing:
Load Testing: Application loading time
Stress Testing: estimates the peak load
Data/Volume Testing: Test to find the maximum
limit of data/volume of your application
Security Testing: protecting from unauthorized
access malware/spam/virus
Configuration Testing
• Testing system configuration as per the client
request
• Comptability Testing:
• OS-Testing in multiple os
• Browser-Testing in multiple Browser known as
cross browser testing
Other testing types
• Monkey Testing
• Random Testing
• Exploratory Testing
White Box testing
White box testing is a form of application testing
that provides the tester with complete knowledge of
the application being tested, including access to source
code and design documents.
This in-depth visibility makes it possible for white box
testing to identify issues that are invisible to gray and
black box testing.
Types of White BoxTesting
• Static Testing-i)Desk checking ii) code walk
through iii)code inspection
• Structural Testing- 1.unit/code Functional
testing, 2.Code Coverage-i)statement
coverage ii) path coverage iii)branch coverage
3.code complexity
Types of Static Testing Reviews
Example
Read A
Read B
if A > B
Print “A is greater than B”
else
Print “B is greater than A”
endif
Case 1
• if A = 7, B= 3
• No of statements Executed= 5
• Total statements= 7
• Statement coverage= 5 / 7 * 100
= 71.00 %
Case 2
• if A = 4, B= -8
• No of statements Executed= 7
• Total statements= 8
• Statement coverage= 7 / 8 * 100
= 87.50 %
• Path coverage
• Designed to execute all or selected path
various logical path
• Start from beginning and take any path to
compute
• Split program into no. of distinct path
Path coverage
• Path Coverage testing is a structured testing technique for
designing test cases with intention to examine all possible
paths of execution at least once.
• Path coverage = (Number of executed paths / Total number
of paths in source code) * 100
Dis advantages:
i)Bing bang approach
ii)Can’t accept change
iii)Document driven process
iv)Client feed back
V Model
V-Model also referred to as the Verification and Validation Model.
• In this, each phase of SDLC must complete before the next phase
starts.