Manual Testing Notes By: Suresh
Manual Testing Notes By: Suresh
Manual Testing Notes By: Suresh
Mr.Suresh 1 of 28
Selenium Training by Suresh
Currently working as a Consultant with one of the Top MNC and has 13
+ years of genuine experience in Software Testing.
Hands-on experience with Selenium since 2009 and has 6 years of in-
house Corporate Training experience.
Successfully trained 90+ batches on Selenium
Expert in Selenium Automation using Selenium RC and WebDriver.
Heavy Programming using Java, TestNG and worked with QTP and
Ruby with Watir as well.
Proficient in Planning, Designing, Building and maintaining complex
automation frameworks (Keyword, Modular, Hybrid and POM).
Pro-active Team Leader and Manager with strong focus on
documentation and process.
Rich industry experience as worked with Symphony Services,
Accenture, IGATE and Capgemini.
Specializations:
Expertise in creating Test Automation Frameworks for open source
automation tools.
Competence in open source automation APIs like Selenium RC and Web
Driver.
Proficiency in conducting Classroom, Corporate and Online Training on
Selenium.
Mr.Suresh 2 of 28
Selenium Training by Suresh
Testing Course Agenda
Module 1 : Testing Fundamentals
Module 2 : Testing Roles and Responsibilities
Module 3 : SDLC & STLC Models
Module 4 : Test Management Team
Module 5 : Test Engineer Responsibilities
Module 6 : Defect Management
Module 7 : Status Reports
Module 8 : Automation
Mr.Suresh 3 of 28
Selenium Training by Suresh
Why Testing Required
To identify the defects in development phases
To ensure Quality of the product
Saves Money as defect identified in earlier stages
To build customer confidence and business
Mr.Suresh 4 of 28
Selenium Training by Suresh
Sr. Software Test Engineer Responsibilities
Same as test engineer responsibilities
+
Participates in Review of Test Scenarios ,Test cases and defects
Some Times involved in Test Plan preparation also.
If required Leading the team when Team Lead is on Vacation
Mr.Suresh 5 of 28
Selenium Training by Suresh
Mr.Suresh 6 of 28
Selenium Training by Suresh
Types of SDLC Models
Waterfall model or Life Cycle Model or Linear Sequential Model
V- Model or Verification & Validation Model
Agile …etc
Waterfall model
This model suggests a systematic and sequential approach to software
development that begins at requirements analysis and progress through all
life cycle phases sequentially
Suitable for projects where requirements are clearly defined
Small and medium term duration
Having Domain knowledge
Advantages :
Project under Control
Pre-defined outputs at every phase
Tracking changes is easy
Disadvantages:
Not suitable for requirements changes
Does not support going back to previous phase
If any defect found need to go back to the originating phase
Mr.Suresh 7 of 28
Selenium Training by Suresh
V - model
V model means verification and validation model, the V shaped life cycle
is a sequential path of execution process.
Advantages :
Simple and easy to use
Testing activities like planning and test design will be done before coding
Testing planned parallel to development
Bug detection in early phases
Disadvantages:
If any changes happen in midway, then the test document along with
requirements documents has to be updated.
Not Suitable for large and complex projects
The client sees the only final project ,not intermediate modules
Agile - Process
Overview of Agile Process
Customer satisfaction by rapid delivery of useful software.
Welcome changes in requirements ,even late in development
Working software is delivered frequently (weeks rather than months)
Close ,daily cooperation between business professionals and developers
Continuous attention to technical excellence and good design
Mr.Suresh 8 of 28
Selenium Training by Suresh
Agile - Terms
User Story – A shorthand requirements document.
Product Backlog -- A prioritized list of stories that are waiting to be
worked on.
Product Owner -- person whom holds the vision for the product.
Scrum Master Role The Scrum Master is a facilitator for the team and
product owner.
Sprint -- A development process
Stand-up Meeting– a short (15 minutes or less) daily meeting during
which team members report on what they have accomplished since the
last meeting, what they plan to accomplish today and report any
impediments or blockers to making progress.
Scrum Meeting – To discuss on Sprint planning, development and
Review.
Mr.Suresh 9 of 28
Selenium Training by Suresh
Mr.Suresh 10 of 28
Selenium Training by Suresh
Test Plan
Test Plan – A document describing the scope, approach, resources & schedule
of testing activities. It identifies test items ,the features to be tested, the testing
tasks who will be doing and any risks …etc
Entry Criteria to prepare Test Plan :
Approved PMP
Approved SRS
Test Plan guidelines
Test Plan template
Exit Criteria of preparing Test Plan :
Test Plan should be reviewed and approved.
Mr.Suresh 11 of 28
Selenium Training by Suresh
16. Approvals
17. Entry / Exit for each Testing activity
18. Test Suspension
19. Test Resumption
20. Test completion
Test Scenarios
Test Scenarios: Identify all possible areas to be tested or What is to be tested.
Entry Criteria to Identify Test Scenarios :
Approved Test plan
Approved SRS
Test Scenarios Guidelines
Test Scenario template
Exit Criteria for Test Scenarios :
Test Scenarios should be reviewed & approved(mapping test scenarios
with requirements)
Sample Example :
Company Logo : Logo of the company
Project ID : ID of the Project
Project Name : Name of the Project
Identified by : Name of the tester
Date Identified : Day of the started writing the Test Scenarios
Reviewed By : Test Lead Name
Date Reviewed : Future Date
Approved By : Test Lead Name
Date Approved : Future Date
TS# : Test Scenario ID
Req:# : Requirement ID
Main Functionality : Page Name
Test Scenario Description : What need to be Tested
Test casename /ID : Test Case ID for corresponding Test Scenario
Mr.Suresh 12 of 28
Selenium Training by Suresh
Document ID / Reference : Which document we are refering to design the
Scenarios
Comments : In case of any spefic description need to be mention.
Test Case
Test Case: A test case is a document which contain set of input values, pre-
conditions, expected result … etc or How to be tested.
Entry Criteria to Identify Test Cases :
Approved Test plan
Approved SRS
Approved FRS
Approved Test Scenarios
Test Case Guidelines
Test Case Template
Exit Criteria for Test Cases :
Test Cases should be reviewed & approved(mapping test scenarios with
requirements)
--Sample Example :
Company Logo : Logo of the company
Project ID : ID of the project
Project Name : Name of the Project
Created By : Tester name
Review By : Test Lead name
Approved By : Test Lead name
Date Created : Day of the Started writing Test Cases
Mr.Suresh 13 of 28
Selenium Training by Suresh
Date Reviewed : Future Date
Date Approved : Future Date
Test Executed By : Tester name
Version : Version of the Test Case Document
Date Executed : Form Which Date Test Case Execution need to start
Build : build number
Total No of Test Cases : The Total number of Test Cases Created for whole
application.
Passed: Total number of Test Cases passed
Failed: Total number of Test Case Failed
Not Executable: not executed test case count
Defects Reported: Bugs reports for the Whole application.
TC# : Test Case ID
TS# : Test Scenario ID mentions in Test Scenario Document
Test Design Steps : Steps To be Followed for Testing particular Functionality
Input Date : Test Data need to be used to test particular Functionality
Expected Result : Result Excepting Based on Requirement Document
Actual Result : Result displayed in Application
PASS : Expected Result & Actual Result both are matching consider as PASS
FAIL : Expected Result&Actual Result both are not matching consider as FAIL
Not Executable : Test Case Which are not executed for that current Release
Comments : In case of any spefic description need to be mention.
Defect ID : Bug ID for failed test Cases
Mr.Suresh 14 of 28
Selenium Training by Suresh
White box techniques
Statement Testing
Branch/Decision testing
Data flow Testing
Branch condition testing
Decision Table :
Testing with different combination of inputs which produce different results.
Mr.Suresh 15 of 28
Selenium Training by Suresh
Defect Management
Defect Status : New ,Open ,Fixed ,closed ,Re-Open ,Not a bug, Duplicate
,Need More information, Can't reproduce .
Severity: Importance of defect with respective to functional point of
view…means criticalness of defect with respective to application.
Severity classification could be : CRITICAL , HIGH ,MEDIUM ,LOW
Priority: Importance of defect with respective to client point of view … means
how soon it should be fix.
Priority Classification could be : P1-Urgent ,P2-High ,P3-Medium ,P4-Low
Mr.Suresh 16 of 28
Selenium Training by Suresh
Sample Example :
Defect ID : ID of the new Defect
Status : Status of the Bug
Severity : Need to provide based on Functionality
Priority : Need to provide based on Client Expectation
Module : Page Name
Reported By : Tester Name
Assigned to : Developer or Test Lead Name
Browser Name : Name of the Browser
Found in Build: in which build bug had found
Found in Version: number of the version
Fixed in Version : Developer will provide this
Fixed in Build :Developer will provide this
Mr.Suresh 17 of 28
Selenium Training by Suresh
Bug or Defect Life Cycle
JIRA Tool:
Mr.Suresh 18 of 28
Selenium Training by Suresh
Steps to Create Test Cases in JIRA :
In JIRA, Test case, Bug, Epic and Story will be called as Issues.
To create a JIRA issue, you need the Create Issue project permission for
the issue's relevant project. If you do not have this permission, please
contact your JIRA administrator.
To create a new JIRA issue (Test case):
Click Create at the top of the screen to open the Create Issue dialog box.
Select the relevant Project and Issue Type on the Create Issue dialog box.
Under the tests tab, click on create a test.
Please see the below screenshots for reference:
Test case will be created and an ID will be assigned to it . Once the test
case is created you can add test steps and expected results as shown in
next page.
Click under the test steps and enter the steps. Click under the Expected
results and enter the results and click on update.
Test steps
Mr.Suresh 19 of 28
Selenium Training by Suresh
Expected Result
The status of the test case is changed from “Open” to “In test”
Mr.Suresh 20 of 28
Selenium Training by Suresh
Click on “ Execute “
A pop up opens. Click on execute in the pop up.
Mr.Suresh 21 of 28
Selenium Training by Suresh
Mr.Suresh 22 of 28
Selenium Training by Suresh
Types of Testing
Mr.Suresh 23 of 28
Selenium Training by Suresh
Mr.Suresh 24 of 28
Selenium Training by Suresh
Mr.Suresh 25 of 28
Selenium Training by Suresh
Mr.Suresh 26 of 28
Selenium Training by Suresh
Mr.Suresh 27 of 28
Selenium Training by Suresh
When to stop Testing?
This can be difficult to determine. Most modern software applications are so
complex, and run in such an interdependent environment, that complete testing
can never be done. Common factors in deciding when to stop are:
Deadlines (release deadlines, testing deadlines, etc.)
Test cases completed with certain percentage passed
Test budget depleted
Coverage of code/functionality/requirements reaches a specified point
Bug rate falls below a certain level
Beta or alpha testing period ends
Mr.Suresh 28 of 28