Manual Testing Quick Guide
Manual Testing Quick Guide
com
9123820085
MANUAL TESTING
kasper-analytics
kasperanalytics.com
9123820085
What is software?
• A Software is a collection of computer programs that helps us to perform a
task.
• Types of Software:
• System software
• Programming software
• Application software
Product Vs Project
• If software application is developed for specific customer requirement then it
is called Project.
• If software application is developed for multiple customers requirement then it
called Product.
kasper-analytics
kasperanalytics.com
9123820085
Software Quality
• Quality: Quality is defined as justification of all the requirements of a customer
in a product.
o Note: Quality is not defined in the product. It is defined in the customer`s
mind.
• Quality software is reasonably
o Bug-free.
o Delivered on time.
o Within budget.
o Meets requirements and/or expectations.
o Maintainable.
kasper-analytics
kasperanalytics.com
9123820085
SDLC Models
• Waterfall Model
• Incremental Model
• Spiral Model
• V- Model
• Agile Model
Waterfall Model
kasper-analytics
kasperanalytics.com
9123820085
Incremental/Iterative Model
Spiral Model
kasper-analytics
kasperanalytics.com
9123820085
V-Model
Agile Model
kasper-analytics
kasperanalytics.com
9123820085
QA Vs QC/QE
• QA is Process related.
• QC is the actual testing of the software.
• QA focuses on building in quality.
• QC focuses on testing for quality.
• QA is preventing defects.
• QC is detecting defects.
• QA is process oriented.
• QC is Product oriented.
• QA for entire life cycle.
kasper-analytics
kasperanalytics.com
9123820085
Walkthroughs:
• It is a formal review and we can discuss/raise the issues at peer level.
• Also walkthrough does not have minutes of the meet. It can happen at any
time and conclude just like that no schedule as such.
Inspections:
• Its a formal approach to the requirements schedule.
• At least 3- 8 people will sit in the meeting 1- reader 2-writer 3- moderator plus
concerned.
• Inspection will have a proper schedule which will be intimated via email to the
concerned developer/tester.
kasper-analytics
kasperanalytics.com
9123820085
Unit Testing
• A unit is the smallest testable part of software. It usually has one or a few
inputs and usually a single output.
• Unit testing conducts on a single program or single module.
• Unit Testing is white box testing technique.
• Unit testing is conducted by the developers.
• Unit testing techniques:
o Basis path testing
o Control structure testing
▪ Conditional coverage
▪ Loops Coverage
o Mutation Testing
Integration Testing
• In Integration Testing, individual software modules are integrated logically and
tested as a group.
• Integration testing focuses on checking data communication amongst these
modules.
• Integrated Testing is white box testing technique.
• Integrated testing is conducted by the developers.
• Approaches:
o Top Down Approach
o Bottom Up Approach
o Sandwich Approach(Hybrid)
kasper-analytics
kasperanalytics.com
9123820085
Bottom-Up Integration
• In the bottom up strategy, each module at lower levels is tested with higher
modules until all modules are tested. It takes help of Drivers for testing.
kasper-analytics
kasperanalytics.com
9123820085
System Testing
• Testing over all functionality of the application with respective client
requirements.
• It is a black box testing technique.
• This testing is conducted by testing team.
• Before conducting system testing we should know the requirements.
• System Testing focusses on below aspects.
o User Interface Testing (GUI)
o Functional Testing
o Non-Functional Testing
o Usability Testing
Testing Methodologies
• White box Testing
• Black box Testing
• Grey box Testing
kasper-analytics
kasperanalytics.com
9123820085
What is GUI?
• There are two types of interfaces in a computer application.
o Command Line Interface is where you type text and computer responds
to that command.
o GUI stands for Graphical User Interface where you interact with the
computer using images rather than text.
kasper-analytics
kasperanalytics.com
9123820085
GUI Testing
• Graphical User Interface (GUI) testing is the process of testing the system’s
GUI.
• GUI testing involves checking the screens with the controls like menus, buttons,
icons, and all types of bars – tool bar, menu bar, dialog boxes and windows
etc.
• During GUI Testing Test Engineers validates user interface of the application as
following aspects:
o Look & Feel
o Easy to use
o Navigations & Shortcut keys
• GUI Objects:
o Window, Dialog Box, Push Button, Radio Button, Radio Group, Tool bar,
Edit Box, Text Box, Check Box, List Box, Drop down Box, Combo Box, Tab,
Tree view, progress bar, Table, Scroll bar Etc.
Usability Testing
• During this testing validates application provided context sensitive help or not
to the user.
• Checks how easily the end users are able to understand and operate the
application is called usability testing.
kasper-analytics
kasperanalytics.com
9123820085
Functional Testing
• Object Properties Coverage
• Input Domain Coverage (BVA, ECP)
• Database Testing/Backend Coverage
• Error Handling Coverage
• Calculations/Manipulations Coverage
• Links Existence & Links Execution
• Cookies & Sessions
kasper-analytics
kasperanalytics.com
9123820085
Database Testing
• During Database testing Test Engineers validate the data w.r.t database.
• Validates DML operations( Insert , Update, Delete & Select)
• SQL Language: DDL, DML, DCL etc..
• DDL - Data Definition Langue - Create , alter, drop
• DML - Data Manipulation language - Insert, update, select, delete
• DCL - Commit, roll back etc.
Calculations/Manipulations Testing
• Validate mathematical calculations.
kasper-analytics
kasperanalytics.com
9123820085
Links Coverage
• Links existence - Links placed in the appropriate location or not.
• Links execution - link is navigating to appropriate page or not.
• Types of links:-
o Internal links
o External links
o Broken links
• Session- Sessions are time slots which are allocated to the user at the serve
side.
Non-Functional Testing
• Performance Testing
o Load Testing
o Stress Testing
o Volume Testing
• Security Testing
• Recovery Testing
• Compatibility Testing
• Configuration Testing
• Installation Testing
kasper-analytics
kasperanalytics.com
9123820085
Performance Testing
• Load: Testing speed of the system while increasing the load gradually till the
customer expected number.
• Stress: Testing speed of the system while increasing/reducing the load on the
system to check any where its breaking.
• Volume: Check how much volumes of data is able to handle by the system.
Security Testing
• Testing security provided by the system.
• Types:
o Authentication
o Access Control/Authorization
o Encryption/Decryption
Recovery Testing
• Testing Recovery provided by the system. Whether the system recovering
abnormal to normal condition or not.
Compatibility Testing
• Testing Compatibility of the system w.r.t OS, H/W & Browsers.
• Operating System Compatibility
• Hardware Compatibility (Configuration Testing)
• Browser Compatibility
• Forward & Backward Compatibility
Installation Testing
• Testing Installation pf the application on Customer expected platforms and
check installation steps, navigation, how much space is occupied in memory.
• Check Un-Installation.
kasper-analytics
kasperanalytics.com
9123820085
Sanitation/Garbage Testing
• Check whether application is providing any extra/additional features beyond
the customer requirements.
Testing Terminology
• Adhoc Testing:
o Software testing performed without proper planning and
documentation.
o Testing is carried out with the knowledge of the tester about the
application and the tester tests randomly without following the
specifications/requirements.
• Monkey Testing:
o Test the functionality randomly without knowledge of application and
test cases is called Monkey Testing.
kasper-analytics
kasperanalytics.com
9123820085
• Smoke Testing:
o This is also basic functional testing conducted by developer or tester
before releasing the build to the next cycle.
• Exploratory Testing:
o Exploring the application and understanding the functionalities adding
or modifying the existing test cases for better testing is called
exploratory testing.
• Localization Testing:
o Checks default languages currency date and time format etc. If it is
designed for a particular locality of users is called Localization testing.
kasper-analytics
kasperanalytics.com
9123820085
kasper-analytics
kasperanalytics.com
9123820085
STLC
• It identifies test items, the feature to be tested, the testing tasks, who will do
each task, and any risks requiring contingency planning.
• A detail of how the test will proceed, who will do the testing, what will be tested,
in how much time the test will take place, and to what quality level the test will
be performed.
kasper-analytics
kasperanalytics.com
9123820085
• Test cases are derived (or written) from test scenario. The scenarios are
derived from use cases.
• In short, Test Scenario is ‘What to be tested’ and Test Case is ‘How to be tested’.
kasper-analytics
kasperanalytics.com
9123820085
• Example:-
• Test Scenario: Checking the functionality of Login button
o TC1: Click the button without entering user name and password.
o TC2: Click the button only entering User name.
o TC3: Click the button while entering wrong user name and wrong
password.
kasper-analytics
kasperanalytics.com
9123820085
Decision Table
kasper-analytics
kasperanalytics.com
9123820085
Use Case
Test Suite
• Test Suite is group of test cases which belongs to same category.
kasper-analytics
kasperanalytics.com
9123820085
kasper-analytics
kasperanalytics.com
9123820085
Test Data
• Test Data is required for Test cases.
• Test Data will be provided as input to the cases.
• Prepared by Test Engineers.
• Maintains in Excel sheets.
Test Execution
• During this phase test team will carry out the testing based on the test plans
and the test cases prepared.
• Bugs will be reported back to the development team for correction and
retesting will be performed.
kasper-analytics
kasperanalytics.com
9123820085
Defect Reporting
• Any mismatched functionality found in a application is called as
Defect/Bug/Issue.
• During Test Execution Test engineers are reporting mismatches as defects to
developers through templates or using tools.
• Defect Reporting Tools:
• Clear Quest
• DevTrack
• Jira
• Quality Center
• Bug Jilla etc.
kasper-analytics
kasperanalytics.com
9123820085
Defect Classification
kasper-analytics
kasperanalytics.com
9123820085
Defect Severity
• Severity describes the seriousness of defect.
• In software testing, defect severity can be defined as the degree of impact a
defect has on the development or operation of a component application
being tested.
• Defect severity can be categorized into four class
o Critical: This defect indicates complete shut-down of the process,
nothing can proceed further
o High: It is a highly severe defect and collapse the system. However,
certain parts of the system remain functional
o Medium: It cause some undesirable behavior, but the system is still
functional
o Low: It won't cause any major break-down of the system
Defect Priority
• Priority describes the importance of defect.
• Defect Priority states the order in which a defect should be fixed. Higher the
priority the sooner the defect should be resolved.
• Defect priority can be categorized into three class
o P1 (High) : The defect must be resolved as soon as possible as it affects
the system severely and cannot be used until it is fixed
o P2 (Medium): During the normal course of the development activities
defect should be resolved. It can wait until a new version is created
o P3 (Low): The defect is an irritant but repair can be done once the more
serious defect have been fixed
kasper-analytics
kasperanalytics.com
9123820085
kasper-analytics
kasperanalytics.com
9123820085
kasper-analytics
kasperanalytics.com
9123820085
Defect Resolution
• After receiving the defect report from the testing team, development team
conduct a review meeting to fix defects. Then they send a Resolution Type to
the testing team for further communication.
• Resolution Types:-
o Accept
o Reject
o Duplicate
o Enhancement
o Need more information
o Not Reproducible
o Fixed
o As Designed
Defect Triage
• Defect triage is a process that tries to do the re-balancing of the process
where test team faces the problem of limited availability of resources.
• When there are large number of the defects and limited testers to verify them,
defect triage helps trying to get as many defects resolved based on defect
parameters like severity and priority.
kasper-analytics
kasperanalytics.com
9123820085
Exercise
• Assign the Severity for the following issues.
1 The website performance is too slow
2 The login function of the website does not work properly
3 The GUI of the website does not display correctly on mobile
devices
4 The website could not remember the user login session
5 Some links doesn’t work
kasper-analytics
kasperanalytics.com
9123820085
kasper-analytics
kasperanalytics.com
9123820085
kasper-analytics
kasperanalytics.com
9123820085
Sates of Defects
• New: A bug is reported and is yet to be assigned to developer
• Open: The test lead approves the bug
• Assigned: Assigned to a developer and a fix is in progress
• Need more info: When the developer needs information to reproduce the bug
or to fix the bug
• Fixed: Bug is fixed and waiting for validation
• Closed: The bug is fixed, validated and closed
• Rejected: Bug is not genuine
• Deferred: Fix will be placed in future builds
• Duplicate: Two bugs mention the same concept
• Invalid: Not a valid bug
• Reopened: Bug still exists even after the bug is fixed by the developer
kasper-analytics
kasperanalytics.com
9123820085
QA/Testing Activities
• Understanding the requirements and functional specifications of the
application.
• Identifying required Test Scenario’s.
• Designing Test Cases to validate application.
• Execute Test Cases to valid application
• Log Test results ( How many test cases pass/fail ).
• Defect reporting and tracking.
• Retest fixed defects of previous build
• Perform various type of testing assigned by Test Lead (Functionality, Usability,
User Interface
• and compatibility) etc.,
• Reports to Test Lead about the status of assigned tasks
• Participated in regular team meetings.
• Creating automation scripts for Regression Testing.
Test Metrics
SNO Required Data
1 No. Of Requirements
2 Avg. No. of Test Cases written Per Requirement
3 Total No.Of Test Cases written for all Requirement
4 Total No. Of test cases Executed
5 No.of Test Cases Passed
6 No.of Test Cases Failed
7 No.of Test cases Blocked
8 No. Of Test Cases Un Executed
9 Total No. Of Defects Identified
10 Critical Defects Count
11 Higher Defects Count
12 Medium Defects Count
13 Low Defects Count
14 Customer Defects
15 No.of defects found in UAT
kasper-analytics
kasperanalytics.com
9123820085
kasper-analytics
kasperanalytics.com
9123820085
What is Agile?
• AGILE is a methodology that promotes continuous iteration of development
and testing throughout the software development life cycle of the project.
• Both development and testing activities are concurrent unlike the Waterfall
model.
kasper-analytics