Manual Testing Notes By: Suresh
Manual Testing Notes By: Suresh
Mr.Suresh 1 of 26
Selenium Training by Suresh
Currently working as a Consultant with one of the Top MNC and has 11
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 26
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 26
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 26
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 26
Selenium Training by Suresh
Mr.Suresh 6 of 26
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 26
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 26
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 26
Selenium Training by Suresh
Mr.Suresh 10 of 26
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 26
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)
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
Mr.Suresh 12 of 26
Selenium Training by Suresh
Exit Criteria for Test Cases :
Test Cases should be reviewed & approved(mapping test scenarios with
requirements)
Mr.Suresh 13 of 26
Selenium Training by Suresh
Equivalence Class Partitioning (ECP) :
Divide a set of test conditions into groups which is having similar behavior to
reduce number of test cases.
Decision Table :
Testing with different combination of inputs which produce different results.
Mr.Suresh 14 of 26
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 15 of 26
Selenium Training by Suresh
JIRA Tool:
Mr.Suresh 16 of 26
Selenium Training by Suresh
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.
Mr.Suresh 17 of 26
Selenium Training by Suresh
Test steps
Expected Result
The status of the test case is changed from “Open” to “In test”
Mr.Suresh 18 of 26
Selenium Training by Suresh
Click on “ Execute “
A pop up opens. Click on execute in the pop up.
Mr.Suresh 19 of 26
Selenium Training by Suresh
Mr.Suresh 20 of 26
Selenium Training by Suresh
Types of Testing
Mr.Suresh 21 of 26
Selenium Training by Suresh
Mr.Suresh 22 of 26
Selenium Training by Suresh
Mr.Suresh 23 of 26
Selenium Training by Suresh
Mr.Suresh 24 of 26
Selenium Training by Suresh
Mr.Suresh 25 of 26
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 26 of 26