Manual Testing complete Tutorial to enter IT
Manual Testing complete Tutorial to enter IT
com
+918130877931
kasper-analytics
kasperanalytics.com
+918130877931
i) Requirement Gathering
ii) Analysis
iii) Design
v) Testing
SDLC Models
i) Waterfall Model
ii) V Model
i) Unit Testing
i) Functional testing
kasper-analytics
kasperanalytics.com
+918130877931
1) Informal Review
2) Walk through
3) Technical Review
4) Inspection
1) Statement Coverage
2) Decision Coverage
3) Condition Coverage
5) LCSAJ etc…
1) Error Guessing
kasper-analytics
kasperanalytics.com
+918130877931
i) Requirement Analysis
v) Test Execution
kasper-analytics
kasperanalytics.com
+918130877931
> Software Development Life Cycle (SDLC) is a process used by the software
industry to design, develop and test software. The SDLC aims to produce a high-
quality software that meets or exceeds customer expectations, reaches
completion within times and cost estimates.
These phases may vary form one organization to another, but purpose is almost
all same, that is "Develop and Maintain Quality Software",
i) Requirement Gathering
ii) Analysis
iii) Design
iv) Coding / Development
v) Testing
vi) Deployment & Maintenance
Note: It is General Software Development Life Cycle, we have various SDLC Models
in the IT Industry, Waterfall Model, V Model, Spiral Model and Agile Development
Models etc...,
kasper-analytics
kasperanalytics.com
+918130877931
i) Requirement Gathering
Note: Document name may vary from one Organization to another, Some
examples are Customer Requirement Specification (CRS), Business Requirement
Document (BRD) etc…
> Suppose Our Planned Software is not intended for a single customer and the
software product for multiple customers then Business Analyst or Business Team
collects Requirements from the Market and also evaluate Other similar products
in the Market
> Key Role in this phase is Business Analyst and Outcome of the phase is "Business
Requirement Specification"
ii) Analysis
> Once the Requirement Gathering is done the next step is to define and
document the product requirements and get them approved by the customer.
This is done through SRS (Software Requirement Specification) document. SRS
consists of all the product requirements to be designed and developed during the
project life cycle.
> Key people involved in this phase are Project Manager, Business Analyst and
Senior members of the Team. The outcome of this phase is Software Requirement
Specification.
iii) Design
> In Design phase Senior Developers and Architects, they give the architecture of
the software product to be developed. It has two steps one is HLD (High Level
Design) or Global Design and another is LLD (Low Level Design) or Detailed Design,
kasper-analytics
kasperanalytics.com
+918130877931
> High Level Design (HLD) is the overall system design, covers the system
architecture and database design. It describes the relation between various
modules and functions of the system.
> Low Level Design (LLD) is the detailed system design, covers how each and every
feature in the product should work and how every component should work.
> The outcome of this phase is High Level Document and Low Level Document
which works as an input to the next phase Coding...
> Developers (seniors, juniors and fresher) involved in this phase, this is the phase
where we start building the software and start writing the code for the product.
> The outcome of this phase is Source Code Document (SCD) and the developed
product.
v) Testing
> Once the software is complete then it is deployed in the testing environment.
The testing team starts testing (either test the software manually or using
automated test tools depends on process defined in STLC)
> Testing is done to verify that the entire application works according to the
customer requirement.
> During this phase, Testing team may find defects which they communicate to
developers, the development team fixes the defect and send back to Testing for a
re-test. This process continues until the software is Stable, and working according
to the business needs of that system.
> After successful testing, the product is delivered (deployed to the customer for
their use), Deployment is done by the Deployment/Implementation engineers and
kasper-analytics
kasperanalytics.com
+918130877931
Once when the customers start using the developed system then the actual
problems will come up and needs to be solved from time to time.
> Fixing the issues found by the customer comes in the maintenance phase. 100%
testing is not possible – because, the way testers test the product is different from
the way customers use the product. Maintenance should be done as per SLA
(Service Level Agreement)
> There are various software development life cycle models defined and designed
which are followed during the software development process. These models are
also referred as Software Development Process Models".
i) Waterfall Model
> Waterfall approach was first SDLC Model to be used widely in Software
Engineering to ensure success of the project. In "The Waterfall" approach, the
whole process of software development is divided into separate phases. In this
Waterfall model, typically, the outcome of one phase acts as the input for the next
phase sequentially.
a) Requirements Gathering:
> This first step is also the most important, because it involves gathering
information about what the customer needs and defining, in the clearest possible
terms, the problem that the product is expected to solve.
b) Software Requirements:
kasper-analytics
kasperanalytics.com
+918130877931
c) Design:
> In this phase Global and Detailed design can be produced based on Software
Requirements.
d) Coding:
> This step consists of actually constructing the product as per the design
specification(s) developed in the previous step. Typically, this step is performed
by a development team consisting of programmers, interface designers and
other specialists, using tools such as compilers, debuggers, interpreters and
media editors. The output of this step is one or more product components, built
according to a pre-defined coding standard and debugged, tested and
integrated to satisfy the system architecture requirements.
e) Testing:
> In this stage, System will be tested by testers, if the find any mismatch they
report defects. Developers /Programmers fix the defects and then testers close
defects by performing confirmation testing (Regression Testing).
> Release team (consists of a few developers, testers, and tech-support people
etc…) install software in Customer environment and they consider below factors;
Etc…
kasper-analytics
kasperanalytics.com
+918130877931
b) Easy to manage due to the rigidity of the model- each phase has specific
deliverables and a review process.
d) Works well for smaller projects where requirements are very well understood.
ii) V Model
> It is Verification & Validation model, known as V Model, in this model all
development phases can be integrated with Testing phases.
> The V-model illustrates how testing activities can be integrated into each phase
of the software development life cycle.
> V Model was inaugurated in order to avoid drawbacks in Waterfall model and its
main focus on multiple stages of testing.
kasper-analytics
kasperanalytics.com
+918130877931
> Business Analyst category people gather requirements and the document the
requirements, after documentation Reviews, Meetings like verification will take
place in order get correct & Complete Requirements.
> Independent testers generate test cases from Software Requirements in order to
perform System Testing
> System Architect / senior developer creates Global design, Informal Review/
Walk through / Technical Review / Inspection like Verification methods will be
applied on Design documents.
kasper-analytics
kasperanalytics.com
+918130877931
Advantages of V Model:
d) Due to Multiple stages of Testing and Multiple teams involvement Quality can
be improved.
Disadvantages of V Model:
a) It an expensive model than Waterfall model, needs lot of resources, budget and
time.
i) Unit Testing
kasper-analytics
kasperanalytics.com
+918130877931
i) Unit Testing
> In Unit Testing level individual units/ components of a software are tested. The
purpose is to validate that each unit of the software works as designed.
> Developers conduct Unit Testing using White Box Test Design
Techniques…
> In Integration Testing Level, individual units are combined and tested as a group.
The purpose of this level of testing is to expose faults in the interaction between
integrated units.
> In System Testing level a complete and integrated software is tested. The
purpose of this test is to evaluate the system’s compliance with the specified
software requirements.
kasper-analytics
kasperanalytics.com
+918130877931
> Independent Testers conduct System Testing using Block Box Test Design
Techniques...
> In Acceptance Testing level a software system is tested for acceptability. The
purpose of this test is to evaluate the system’s compliance with the business
requirements
> A test type is a group of test activities aimed at testing specific characteristics
of a software system, or a part of a system, based on specific test objectives. Such
objectives may include:
kasper-analytics
kasperanalytics.com
+918130877931
> Evaluating the effects of changes, such as confirming that defects have been
fixed (confirmation testing) and looking for unintended changes in behavior
resulting from software or environment changes (regression testing)
i) Functional Testing
> Functional testing of a system involves tests that evaluate functions that the
system should perform. Functional requirements may be described in work
products such as business requirements specifications, epics, user stories, use
cases, or functional specifications, or they may be undocumented. The functions
are “what” the system should do.
> Functional tests should be performed at all test levels. Functional testing
considers the behavior of the software
> Structural Testing derives tests based on the system’s internal structure or
implementation. Internal structure may include code, architecture, work flows,
and/or data flows within the system.
kasper-analytics
kasperanalytics.com
+918130877931
> When changes are made to a system, either to correct a defect or because of
new or changing functionality, testing should be done to confirm that the
changes have corrected the defect or implemented the functionality correctly,
and have not caused any unforeseen adverse consequences.
> Confirmation Testing: After a defect is fixed, the software may be tested with all
test cases that failed due to the defect, which should be re-executed on the new
software version.
> Regression Testing: It is possible that a change made in one part of the code,
whether a fix or another type of change, may accidentally affect the behavior of
other parts of the code, whether within the same component, in other
components of the same system, or even in other systems.
> Changes may include changes to the environment, such as a new version of an
operating system or database management system. Such unintended side-
effects are called regressions.
> Regression testing involves running tests to detect such unintended side-
effects. Confirmation testing and regression testing are performed at all test
levels.
> Regression test suites are run many times and generally evolve slowly, so
regression testing is a strong candidate for automation. Automation of these tests
should start early in the project.
A test design technique is used to select a good set of tests from the all possible
tests for a given system.
kasper-analytics
kasperanalytics.com
+918130877931
Exhaustive Testing is a Test approach in which the test suite comprises all
combination of input values and preconditions.
There are two main categories of Test Design Techniques, They are:
i) Static Techniques
i) Static Techniques
> Testing of the software documents manually or with a set of tools but without
executing the Software.
——————————-
a) Reviews
Types of Reviews
1) Informal Review
2) Walkthrough
3) Technical Review
4) Inspection
kasper-analytics
kasperanalytics.com
+918130877931
b) Static Analysis
Static analysis tools are typically used by developers, Compilers offer some
support for Static analysis,
3) Condition Testing,
5) LCSAJ etc…
kasper-analytics
kasperanalytics.com
+918130877931
a) Error Guessing
b) Exploratory Testing
————————————————–
-Ne to 00 0 1 to 10 11 to 99 or above
kasper-analytics
kasperanalytics.com
+918130877931
• The maximum and minimum values of a partition are its boundary values.
• Behavior at edge of each equivalence partition is more likely to be incorrect
than behavior within the partition.
• Boundary value analysis can be applied at all Test levels(Unit, Integration,
System and Acceptance Testing).
Example 1:
Minimum/maximum 0
Minimum 1
Maximum 10
Minimum 11
Maximum 99
————————————-
• The decision tables are good way to capture system requirements that
contain logical conditions.
• It may be applied for all situations when the action of the software
depends on logical decisions.
Conditions:
kasper-analytics
kasperanalytics.com
+918130877931
———————————————-
OC 20 Invalid
OC 21 Valid
OC 35 Valid
OC 36 Valid
BC 36 Valid
BC 39 Invalid
SC 39 Valid
PHC 39 Valid
ST 40 Valid
—————————————————–
1 to 2 years 7%
2 to 3 Years 8%
———————————–
25 1year 7%
35 2.5 8%
kasper-analytics
kasperanalytics.com
+918130877931
56 4 10%
66 4 10.5%
• In State transition Testing Test cases are designed to execute valid and
invalid state transitions.
• A System (Application Under Test) may exhibit a different response on
current conditions or previous history.
Example: Internet Banking System Fund Transfer operation Initial Balance: 45000
• In Use Case Testing Test Cases are designed to execute User Scenarios or
Business Scenarios.
• A Use Case describes interactions between actors, including users and the
system.
• A Use case usually has a mainstream scenario and sometimes alternative
scenarios.
Example:
Mainstream Scenario:
1)
kasper-analytics
kasperanalytics.com
+918130877931
2)
3)
4)
5)
————————————————–
Alternatives
System: Shows error message and asks to enter correct PIN User: Enters Correct
PIN
———————–
System: Shows error and asks to select correct Account Type User: Select correct
account type
5a) If User enters incorrect amount (More than the balance amount or more than
the day limit)
System: Shows Error message and asks to enter correct amount User: Enters
correct amount
kasper-analytics
kasperanalytics.com
+918130877931
> Software Testing Life Cycle (STLC) identifies what test activities to carry out and
when to accomplish those test activities. Even though testing differs between
Organizations, there is a testing life cycle.
> Just like Software Developers follow the Software Development Life Cycle (SDLC),
Software Testers also follow the Software Testing Life Cycle.
> Software Test Process is not a single activity, it consists of many different
activities which are executed to achieve a good quality product.
i) Requirement Analysis
v) Test Execution
We have Entry and Exit Criteria for all levels in the Software Testing Life
Cycle…
Entry Criteria: Entry Criteria gives the prerequisite items that must be completed.
Exit Criteria: Exit Criteria defines the items that must be completed.
i) Requirement Analysis
> In Requirement Analysis phase, test team studies the requirements and identify
the testable requirements.
kasper-analytics
kasperanalytics.com
+918130877931
available…
Exit Criteria: RTM should be signed off and The customer should sign off on the test
automation feasibility
b) Risk Analysis
Deliverables:
> In this phase the Test Manager or Test Lead prepares the Test Plan and Test
strategy documents.
Exit Criteria: Approved Test Plan document, Test Strategy document and Effort
estimation document
kasper-analytics
kasperanalytics.com
+918130877931
b) Test Estimation
c) Team Formation
f) Resource planning
h) Training Requirement
Deliverables:
> In Test design phase, testers prepare test scenarios, test cases/test scripts and
test data based on the Requirement Document/s and Test Plan.
Entry Criteria: Requirements Document/s, RTM and Test Plan, Automation analysis
report
Exit Criteria: Reviews Test cases, Test Scripts (if automation) and Test data.
kasper-analytics
kasperanalytics.com
+918130877931
Etc…
Deliverables:
a) Test cases
c) Test Data
> Test Environment supports test execution with software, hardware and network
configured. Test environment configuration must mimic the production
environment.
> Readiness of the test environment can be validated by smoke testing performed
by the Testing team.
Exit criteria: Test environment should be ready and smoke testing should be
performed successfully.
Activities:
kasper-analytics
kasperanalytics.com
+918130877931
Deliverables:
v) Test Execution
> In Test Execution phase the test cases are executed in the testing environment,
while execution of the test cases the Testing team may find bugs which will be
reported, bugs are fixed by the developer and they are retested by the Testing
Team.
Entry Criteria: Test Plan document, Test cases, Test data, Test Environment Exit
Criteria: Test case execution report. Defect report, RTM
Activities:
Deliverables:
kasper-analytics
kasperanalytics.com
+918130877931
> Testing team will meet, discuss and analyze testing artifacts and evaluate Test
cycle completion criteria. Identify strategies that have to be implemented in
future and taking lessons from the current test cycle.
Entry Criteria: Test case Execution report and Opened and closed Defect Reports
Exit Criteria: Test Closure Report signed off by client, Test Metrics
Activities:
Deliverables:
b) Test metrics
Note: This Software Testing Life Cycle or Software Test Process is for conducting
Software
kasper-analytics
kasperanalytics.com
+918130877931
Input or References:
Low Level Design document Development and Test process standards Corporate
standards and guidelines
Tasks:
Test Estimations (in terms of time, budget, resources, and scope of the project)
Team formation
Output:
Some type of unique company generated number to identify this test plan.
2) Introduction:
Describe the purpose of the Plan, possibly identifying the level of the plan (System
Test Plan etc.). This is essentially the executive summary part of the plan.
3) Test Items:
These are things you intend to test within the scope of this test plan.
kasper-analytics
kasperanalytics.com
+918130877931
4) References:
List all documents that support this test plan. Refer to the actual version/release
number of the document as stored in the configuration management system.
5) Features to be Tested:
This is a listing of what is to be tested from the Users viewpoint of what the system
does. This is not a technical description of the software, but a User’s view of the
functions.
This is a listing of what is NOT to be tested from both the Users viewpoint of what
the system does and a configuration management/version control view. This is
not a technical description of the software, but a User’s view of the functions.
7) Test Approach:
This is your overall test strategy for this test plan; it should be appropriate to the
level of the plan (master, acceptance, etc.) and should be in agreement with all
higher and lower levels of plans. Overall rules and processes should be identified.
8) Entry Criteria:
9) Exit Criteria:
Team Lead or Test Lead and Team members Roles and Responsibilities.
12) Schedule:
kasper-analytics
kasperanalytics.com
+918130877931
13) Training:
16) Approvals
Who can approve the process as complete and allow the project to proceed to
the next level.
17) Glossary:
Define terms and acronyms used in the document, it can be used to understood
the terms used in this plan.
kasper-analytics
kasperanalytics.com
+918130877931
2) Introduction:
It is System Test Plan for Interment Banking System, internet web application,
provides access to Account holders and guest users from any ware in the world. It
has two interfaces one is Admin interface another is User interface. Admin can be
accesses by Bank authorized users, user interface can be accessed by Bank
account holders and guest users.
3) Test Items:
Admin Interface:
Master Data
User Management
Reports
etc…
Etc…
4) References:
Requirements
Use cases (If available) High Level Design doc Low Level design docs Process
guide line doc Prototypes
kasper-analytics
kasperanalytics.com
+918130877931
5) Features to be Tested:
a) Admin Interface:
i) Master Data
….
2) Edit user
3) Delete user
etc…..
iii) Reports
4) Service wise report (only loans, only new account. fixed deposits)b)
User Interface:
i) Information
1) Branch locators
2) ATM locators
3) Loans information
kasper-analytics
kasperanalytics.com
+918130877931
4) Bank history
7) Calculators
etc…
1) Login
2) Balance enquiry
etc…
2) Balance enquiry
3) Money transfer
4) Payroll
5) Reports etc..
NA
7) Entry Criteria:
a) Test Design
kasper-analytics
kasperanalytics.com
+918130877931
Etc…
8) Exit Criteria:
9) Suspension Criteria:
1 Kareemulla SK Test Lead Test Planning, guidance, Monitoring and Test control
2 Venkat Rao P Sr. Tester Test Data Collection, Generating Test Scenarios.
4 Srinivas V Tester Test Case Documentation, Test execution, defect reporting and
tracking for Personal Banking module.
kasper-analytics
kasperanalytics.com
+918130877931
11) Schedule:
....
....
kasper-analytics
kasperanalytics.com
+918130877931
....
12) Training
Time Budget
Server side:
Ms Exchange Server
VSS
MS Office
kasper-analytics
kasperanalytics.com
+918130877931
Browser MS Edge
AUT Environment
Test Plan,
16) Approvals
17) Glossary
kasper-analytics
kasperanalytics.com
+918130877931
Test Case Template may vary from one company to another, sometimes one
project to another in the same company. If you familiar with anyone Test Case
then you can easily write test Cases using any type of Test Case Template.
kasper-analytics
kasperanalytics.com
+918130877931
6) Test Data: Required Input Data for Executing the Test Case
10) Status: Pass or Fail Status after comparing Expected Results with Actual Results
6) Test Data:
kasper-analytics
kasperanalytics.com
+918130877931
7) Expected Result:
iii) Another Web page is opened which gives an option to Enter Password
8) Post-Condition: User Gmail Page opened with all options like Compose, Delete
etc…
11) Comments:
6) Test Data:
kasper-analytics
kasperanalytics.com
+918130877931
7) Expected Result:
iii) Another Web page is opened which gives an option to Enter Password
8) Post-Condition:
Delete etc…
9) Actual Results:
10) Status:
i) Step 1: Pass
v) Step 5: Pass
kasper-analytics
kasperanalytics.com
+918130877931
11) Comments:
Note 1: You can some fields to this Test Case if required, Ex: Tester’s Name,
Anyhow Test Case Template may vary form one company to another and one
project to another, based scope of the Project usually we can Select Test case
Template.
Note: Usually we write Manual Test Cases in Excel File using our Company
prescribed format, if we use any Test Tool like, ALM, Jira etc… then they provide
Test Case temple and User/Tester can document Test Cases, and one more thing
some Test Tools provide options to customize the Test Case Template.
Defect Reporting
Fault
a) Development Phase
In this phase If developers find any mismatch, they call it as Error or Mistake.
b) Testing Phase
In this phase If Testers find any mismatch, they call it as Defect or Bug or Fault.
c) Production Phase
In this phase If End users find any mismatch, they call it as Failure. Note:
Terminology vary from one phase to another.
kasper-analytics
kasperanalytics.com
+918130877931
Defect Management:
Some companies use Manual Process (Excel workbook), and some companies
use Tool based process
Jira, QC
1) Defect Id: any unique name for Identifying the Defect (Alphanumeric)
Steps:
kasper-analytics
kasperanalytics.com
+918130877931
New: Tester provides new status while Reporting (for the first time) Open:
Developer / Dev lead /DTT opens the Defect
Rejected: Developer / Dev lead /DTT rejects if the defect is invalid or defect is
duplicate.
Closed: Tester provides closed status after performing confirmation Testing Re-
open: Tester Re-opens the defect with valid reasons and proofs
If we use Tool for Defect management, every tool provides their own template.
Tester -> Test Lead -> DTT -> Development Lead -> Developer
kasper-analytics
kasperanalytics.com
+918130877931
7) Priority: Medium
8) Severity: High
9) Status: New
Severity:
Low
———–
Low
kasper-analytics
kasperanalytics.com
+918130877931
———–
Medium Low
c) New -> Opened -> Fixed -> Re-opened -> Fixed -> Closed
e) New -> Opened -> Rejected -> Re-opened -> Fixed -> Closed
Etc…
A test summary report is a Quality work product / Test Document that formally
summarizes the
Test Lead or Test Manager prepares this document at end of the Testing, means
in Test Closure
Purpose:
kasper-analytics
kasperanalytics.com
+918130877931
All stake holders of the Project able to get project test status, Application Quality
status
Introduction:
Test Items:
Test Summary
Number of Test Cases selected for Regression Testing Cycle1 Number of defects
found in Regression Testing Cycle1
Number of Test Cases selected for Regression Testing Cycle 2 Number of defects
found in Regression Testing Cycle 2
kasper-analytics
kasperanalytics.com
+918130877931
Number of Test Cases selected for Regression Testing Cycle 3 Number of defects
found in Regression Testing Cycle 3
Number of Test Cases selected for Final Regression. Number of opened defects in
this release.
Approvals
It is for Internet Banking System Application Version 2.0, IBS (Internet Banking
System) has
modules already. Now in this release some features added to Personal Banking
Module and One
Test Items:
Reference documents:
Test Plan, Test Case documents, Opened and Closed Defect Reports, Metrics docs,
Review
Reports.
Target Audience:
Project Manager, Release Team, Maintenance Team and Customer (End Users).
kasper-analytics
kasperanalytics.com
+918130877931
Test Summary
Test Cases selected for Regression Testing Cycle1: 320 Defects found in Regression
Testing Cycle1: 96
Test Cases selected for Regression Testing Cycle 2: 213 Defects found in
Regression Testing Cycle 2: 42
Test Cases selected for Regression Testing Cycle 3: 107 Defects found in
Regression Testing Cycle 3: 26
Test Cases selected for Final Regression: 512 Number of opened defects in this
release: 14
kasper-analytics
kasperanalytics.com
+918130877931
Approvals
Name Role Responsibility Date & Signature abcd Test Lead Test Summary 20-06-
2018 Report preparation
*************************************************************
kasper-analytics
Need any experience/support on
Hands-on Live Project
and Live Frameworks.
Please
Connect