Manual Part1...
Manual Part1...
Definition:-
Software: Software is a collection of programs which perform a certain task.
Software Testing: To Check Completeness, Correctness and Quality of the developed software as per
customers’ requirements.
Correctness: To check whether the particular software is going to generates the desired output as per
customer satisfaction or not.
Defect: When actual results not match with expected results is called Defects.
Client:
1. Client is responsible to gives the requirements to the company.
2. Also client wants correct products as per his requirements from the company(organization)
BA (Bussiness Analyst):
1. BA is going to collect all the requirements from the Client.
2. On the basis of requirments BA is going to prepared BRS & SRS documents, and send to developments
team.
Tester:
1. Tester starts the test Application on the basis of positive scenarios & negative scenarios.
2. Positive Scenarios: -- Name is equal to “Vikas”.
3. Negative Scenarios: -- Name is equal to 1234.
Customers:
1. After testing a product, the product is ready to delivery to the customers.
Costing of Product:
1. Product Costing for MNC’s are as per hour cast and customer have to paid it.
2. This payment depends upon the resource utilization & as well as time to complete the project.
Time- in Delivery:
1. Product should deliver in particular time depending upon the resource gathering & documentation.
2. If company not deliver the product on time, then company have to pay the penalties.
Maintenance:
Maintenance is the part of of service provided by the company after delivery the product.
Phases of SDLC:
Information Gathering:
1. In this phase collect the information from the client/customer.
2. Customer/client have bunch of requirements
Business Analysis:
1. BA is responsible to collect the information from customers.
2. On the basis of the requirements BA prepared BRS & SRS Documents.
3. BRS is nothing but Business Requirements Specification which is bridge between Client, developer &
Tester.
4. SRS is nothing but Software requirements Specification. SRS contain detailed documents about the
Project.
5. SRS contain: a. functional flow diagram b. functional requirements c. use cases d. snapshots
Functional Requirements: That s mean’s attributes which are required to complete a specific function.
Use Cases: Use cases is nothing but functionalities in terms of Input & Output.
Snapshot: Snapshot is nothing but Visualization of functionalities before development of product.
Design Phase:
There are two types in Design phases.
Coding Phase:
Testing Phase:
1. Testing phase is nothing but process to check completeness, correctness & quality of developed
software.
2. Once development is done tester is going to test positive as well as negative scenarios.
3. Testing phase are further had three types. A. BBT B. WBT C. GBT
WBT: WHITE BOX TESTING:
1. Only developers are involved in WBT.
2. Only positive scenarios check.
3. Also called unit testing
4. Also called glass box testing
5. Also called clear box testing.
6. Also called code level testing.
Maintenance Phase:
Maintenance is the part of of service provided by the company after delivery the product.
Fish Model:
Waterfall Model:
1. Waterfall model is a standard model of SDLC.
2. Waterfall model is look like Waterfall.
3. Waterfall model is also known as linear sequential model.
4. Waterfall model is a step-by-step implementation of SDLC.
5. In waterfall model when first phase is over then procedure goes to next phase.
6. Duration of Waterfall model is Three Months.
7. Change of request not accepted in waterfall model because we are not reverting back to previous
phase, we start from first phase.
8. Mostly waterfall model is used in “product based” organization
V Model:
1. The Shape of V model is look like English Character V.
2. V model is a advance model of Waterfall.
3. In V model Verification phases & validation phases run parallelly.
4. In v model Development stages are mapped with Testing stages.
5. In v model Change of Request are accepted but charge some amount from the customers(client).
6. Duration of V model is Three months.
7. In v model if any requirement for changes is occurred, we are reverting back to previous phase.
8. V model is used in big organization.
9. V model is also known as continuous model because both phases run simultaneously. (parallelly)
10. V model is suitable for the project where requirements are changing.
Advantages Of V model:
1. Change of Request Accepted
2. duration less than Waterfall model
3. We reverting back to previous phase. Both phases running parallely.
4. Used in Big organization
Disadvantages Of V model:
1. For change in request, we charge some amount from client/customer.
2. Expensive compared to Waterfall model.
3. Duration is more compared to Agile methodology.
Smoke Testing:
Documentation:
1. Documentation is nothing but test summary report & test closure report.
2. Test summary report is prepared by Test engineer & test closure report is prepared by Test Lead.
(Team lead)
3. Test summary report contain detail information of project like:
a. How many tests cases pass?
b. How many test cases failed?
c. How many test cases blocked?
d. How many test cases skip?
4. After preparing the test summary report Test engineer send this report to Team leader.
DRE:
1. DRE stands for defect removal efficiency.
2. DRE calculates at which level tester(we) test the application
3. Formulas for DRE is:
DRE=A/(A+B)
Where: A= Defect found by tester
B=Defect found by Customer During UAT.
4. The ration 0.8:1 considered as good testing.
5. The ration 0.5:1 considered as average testing.
6. The ration 0.5<1 considered as bad testing.
Post-Mortem Testing:
1. Post- mortem testing performed by WBT.
2. When whole testing is done and product is ready for production, if product does not produce
expected (desired output) then white box tester is going to test all modules in details.
Comparison:
➔ Consider a project where there are five module such as home page, login page, new user page,
user detail page, task creation page. The user’s name in the login page should not accept less
than six char, but login page user name field accept less than six character and bug/defect is
created.
The bug is sent to development team for fixing the defect. Development team
modifying/changing in code, defect is fixed. After fixing defect development team send again
to testing team for re-testing. Now testing team check again and bug/defect is fixed by
development team is not affecting the functionalities of other module is nothing but sanity
testing, because functionalities of all module is not check in detail by testing team check only
one particular module.
DIT:
1. DIT stands for development integration testing.
2. Only WBT involved (developers).
3. Developers is going to developed the application in DIT Phase.
4. Only positive scenarios are covered in DIT Phase.
SIT:
1. SIT stands for system integration testing.
2. BBT is involved in SIT phase.
3. SIT phase comes after DIT.
4. Both scenarios covered in SIT phase, i.e. positive & negative scenarios.
UAT:
1. UAT stands for user acceptance testing
2. After SIT phase we comes to UAT phase.
3. Tester and user both are involved in UAT.
4. UAT are Two types a. Alpha testing B. Beta Testing
5. If user validate it is a correct product, then product is sent to production phase.
Production issue/HOT fix/ HOT leakage/Production leakage/Bug Leakage:
When issue (defect) found by customer in production and missed in UAT is called HOT fix/HOT
leakage/Production issue/Production leakage.
Agile Methodology:
Agile: Agile is a iterative & incremental approach for project development & Software Development.
Types of Agile:
XP-Extreme Programing
Lean
Kanban
Scrum
Sprint: Sprint is a time box Period of two week to three week in which product owner, scrum master, scrum
team are involved to complete the work in a given specific time.
What is Agile:
1. Agile is a iterative & incremental approach for project development & Software Development.
2. Duration of Agile methodologies is “One” Months.
3. In agile methodology requirements are frequently changed
4. Now a days agile methodology is used in most of the service-based organization.
5. In agile at any point of development we accept the change in requirements.
6. The change in requirements does not impact on other development phase nor testing phase.
7. Also change in requirements does not increase the project duration.
8. For change in requirements, we are not charge any extra money from client.
2. Product Owner:
➔ Product owner collect the requirements from the stack holder.
➔ Product owner prepared product backlog & Sprint Backlog.
➔ He is bridge between development team, testing team and stack holder.
3. Scrum master:
➔ Scrum master is the chairperson of the scrum meeting.
➔ Scrum master is going to check whether the sprint is going on smoothly or not for particular
sprint.
Backlogs in agile:
1. Product backlog:
➔ Product backlog is prepared by Product owner.
➔ Product backlog contain every features & requirements of the projects.
➔ Product backlog is nothing but product owner is going to store all the requirements of the
projects.
➔ Ex: if we have 10 user stories in our whole projects, then we are going to stored all the 10
requirements into product backlogs.
2. Sprint backlog:
➔ Sprint backlogs are created by product owners.
➔ Sprint backlogs contains detail information of the requirements which are required for module
developments.
➔ Under the Sprint backlogs we are going to stored current sprint user stories.
➔ Sprint backlog is subset of product backlogs.
➔ Ex: if we have 10 user stories in whole projects, then we are going to stored as 2 requirements
into sprint backlogs for the current sprint only.
Product Owner:
➔ Product owner collect the requirements from the stack holder.
➔ Product owner prepared product backlog & Sprint Backlog.
➔ He is bridge between development team, testing team and stack holder.
Product backlog:
➔ Product backlog is prepared by Product owner.
➔ Product backlog contain every features & requirements of the projects.
➔ Product backlog is nothing but product owner is going to store all the requirements of the
projects.
➔ Ex: if we have 10 user stories in our whole projects, then we are going to store all the 10
requirements into product backlogs.
Sprint backlog:
➔ Sprint backlogs are created by product owners.
➔ Sprint backlogs contains detail information of the requirements which are required for module
developments.
➔ Under the Sprint backlogs we are going to stored current sprint user stories.
➔ Sprint backlog is subset of product backlogs.
➔ Ex: if we have 10 user stories in whole projects, then we are going to store as 2 requirements into
sprint backlogs for the current sprint only.
Estimation:
➔ Estimation is nothing but how much time required to test a particular software
➔ How much time required to test a particular software is depend upon three factors which are 1.
Knowledge 2. Efforts 3. Complexity
1. Knowledge: Knowledge means how much knowledge have the team which are going to work in
same software.
2. Efforts: Under the efforts, higher authority decides how much efforts required to complete the
software.
3. Complexity: complexity means how much complex of the same project which are going to work
by same team. In short i) high ii) medium iii) low
User Stories:
➔ User stories is decided in Estimation phase.
➔ Based on user stories tester design the test cases.
➔ User stories consisting of two parts
a. Description criteria: description criteria is nothing but what user want to do and what’s its
desired output.
b. Acceptance criteria: If Different kind of scenarios are true then system generates Correct
output Otherwise system generates (shows) Error’s.
Example: Valid mobile number—int type data types.
Scrum meeting:
1. Scrum meeting is also known as daily stand-up call or daily stand-up meeting.
2. Scrum master is the chair person of the scrum meeting.
3. Scrum master asked to any member of the team who are involved in the scrum meeting
4. In the scrum meeting we are going to discuss progress of our sprints.
5. People involved in the serum meeting is scrum master, development team, testing team and product
owner.
6. Scrum meeting depending upon organization is conducted some organization it conducted in the
morning, some organization it conducted in the evening or afternoon.
7. Mainly three types of question asked in scrum meeting:
a. What we did yesterday?
➔ In this we are going to discuss about status of yesterday’s work.
b. What we are going to do today?
➔ In this we are going to discuss about today’s task which are assign to me.
c. What we are going to do tomorrow?
➔ In this we are going to discuss about tomorrow’s plan.
d. What is roadblock or issue?
➔ In that we are going to discuss difficulties in executing the test cases.
Like: lack of co-ordination from the teams.
Error or defect in code compilation
Defect are not resolved by the developers.
7. Implementation of automation:
If we implement automation the we get some benefits like:
a. less resources requirements to complete the project
b. less time to complete the project
c. high accuracy
d. less human error
Integration Testing:
Integration testing is nothing but when two or more than two modules connect by
developer is called integration. And we are going to test this connected module is called
integration testing.
Types of Integration Testing:
1. Front-end integration testing (incremental testing):
In front end integration testing developer connect two or more than two modules in front end by
using called functions.
2. Back-end integration testing (non incremental testing):
In Back-end integration testing developer connect two or more than two table in back end by using
join query.
Testing Approaches: Whenever integration testing ends, then testing starts is known as testing
approaches.
➔ The developer is going to create one dummy program for main – module. This dummy program is
known as Driver.
➔ The dummy program is written by developer in XML language.
Zero-Level Testing:
1. Zero level testing is also known as smoke testing.
2. Zero level testing is also known as build acceptance testing.
3. After integration testing is done, we start for zero level testing.
4. Database analyst (DBA) creates the test environment for zero level testing.
5. Once testing environment is ready, tester is going to do testing & check that whether the system is
generates desired output or not.
6. In zero level testing tester do testing for:
a. Basic core functionalities:
In basic core functionalities, we are going to check button, icon’s etc.
b. Tab Validation:
In tab validation, if we enter any values in tab by using on screen keyboard or physical keyboard.
Those characters number and symbols should get generated in tab.
c. Link Validation:
In link validation we are going to check sequence of interlink page get tested.
Ex: if user click on flight icon, then flight information page should be open. In make my trip
application.
d. Page validation:
It is also called as page navigation testing.
In that we are click on Next or Back button (→, ) then page should navigate front & back.
e. GUI Testing:
GUI stands for graphical user interface.
In this testing tester check, whether the page is displayed correctly or not.
Images are visible clearly on page or not. This validation of visualization is called as GUI testing.
Functional Testing:
In functional testing we are going to check internal functionalities depends upon external
functionalities.
There are six coverages which comes under functional testing.
1. Behavioral Coverage:
In these coverages we check behavioral and properties of the object.
Ex: properties of check box i.e., check or uncheck like radio button.
***imp***
Input domain coverages contain two types:
BVA: Boundary Value Analysis
ECP: Equivalent Class Partition.
BVA:
In BVA we check’s size of the object.
We are going to check how our system is working when we insert the
boundary values.
Formulas for BVA is:
a. MIN
b. MAX
c. MIN-1
d. MIN+1
e. MAX-1
f. MAX+1
EX: suppose number field is accepting number from one to hundred.
So, Boundary values is: by using formula
Min=1
Min-1=1-1=0
Min+1=1+1=2
Max=100
Max-1=100-1=99
Max+1=100+1=101
From the Above formula we will get boundary values is 0,1,2 And
99,100,101.
ECP: Equivalent Class Partition:
It maintains data types of an object.
Ex: In text box we should accept 4 to 6 characters.
Ex:
1. we need to check 100 to 500 numbers for text box. Then we are going to create equal
classes and gives random inputs to the text box
2. If that text box is accepted random values for the particular class, then we can say that
whole class is passed.
3. If that text box is not accepted random values for the particular class, then we can say that
whole class is failed.
3. Installation Testing:
➔ Process of checking installation of our build with existing software into customer life
configuration or user expectation platforms.
➔ When tester installed application, it should create shortcut on desktop.
Set up program execution:
a. To check whether package have all files.
b. To check whether all driver present or not.
c. To check installation of execution file.
Easy Interface:
a. Interface should be user friendly.
Disc Space:
1. Any application requires disc spaces at a time of installation
2. Tester check whether disc spaces is available or not.
3. If there is insufficient disc space then error should be display. i.e., insufficient disc space.
Check Uninstallation:
1. To check whether application can be uninstalled from the system or not.
➔ Example: Suppose any project is going on in the customer requirement and customer want that
below each object there should be a prize like Rs. 400 but developer did Rs. 400.000# This # is the
extra features.
➔ In Gmail sign up page and sign in page is at the middle of the page and no advertisement so it is
user-friendly.
WAT: - Web Accessing Toolbar:
➔ For usability testing business analyst (BA) is write the test cases. Like: -
➔ When we click on sign up button it should open sign up. If we click on sign in then it should open
sign in page.
➔ When we click on name, name tab should be focus.
➔ Execution of these test cases happen in WAT. (Web accessing Tollbar)
Security Testing:
➔ Process of checking privacy to the user operation.
➔ Both tester & developers are involved in security testing.
2. Access Control:
Process of checking whether authorized person has permission to access specific operation
or not.
Performance Testing:
➔ Process of checking speed of processing of our build.
➔ Performance test engineer are involved in performance testing.
➔ Load runner Tool is going to used for checking the performance of the software.
Testing Terminology:
1. Exploratory Testing:
We are not aware about the application knowledge but we have the test cases and the test
data then we are going to perform exploratory testing.
Ex: before launching the google pay and phone pe if we want to send some amount to our
relatives at that time we used our relatives name, bank branch name, bank account number,
bank IFSC code etc. So, in this example we used all information as test data.
2. Adhoc Testing:
We are aware about the application knowledge but we don’t have test cases and test data
then we are going to perform Adhoc testing.
Types of Adhoc Testing: a. Buddy Testing→ 1 developer + 1 Tester➔Same Modules.
B. Pair Testing→ Two Tester➔ Same Module
C. Monkey Testing:
In monkey testing we are going to gives random inputs to our application and check whether
our application is breaking or not.
Test Policy:
➔ Test policy is a company level document.
➔ Test policy is prepared by CEO of the company.
➔ Using test policy documents, they are going to decide objective of the project. i.e., how we can
earn more money from which domain
➔ Domain like: Telecom domain. Investment banking domain, E-commerce domain, Health Care
domain, Insurance
Test Strategy:
➔ Test Strategy is a project level document.
➔ Test strategy is prepared by project manager.
➔ By using test strategy document project manager is going to decide how we achieve the strategy
of the project.
➔ Ex: a. Whether it is implemented automation or not.
➔ b.. K.T. process (if new joiner joins in the teams)
➔ c. Risk management
➔ purpose of the test strategy documents is to clarify, identify, the major task & challenges of the
test projects.
➔ Test strategy documents contains different types of approaches like:
1. Scope & Objectives
2. Business Issue
3. Test Responsibility Matrix
4. Test deliverable
5. Roles & responsibility
6. Communication status reporting
7. Defect tracking & Reporting
8. Implementation of Automation
9. Test Measurement
10. Risk and Mitigation(solution)
11. K.T. Session/ training session
2. Business issue:
➔ In business issue they are going to analyze the cost depending upon the domain of the project
and resources required for the project.
➔ 75% cost invest for the developer and 25% for the tester. i.e. 3:1 ratio for DEV: TESTER
4. Test Deliverable:
➔ We are going to provide testing related documents to the client.
➔ Ex: Test cases, Test Status report, Test Defect Report
8. Implementation of Automation:
➔ They are (Project manager) is going to decide whether to implement automation or not.
➔ If automation is implemented then benefits are:
a. High accuracy b. Less Time c. Less resources d. Less Human Errors
b. Test measurement:
➔ We are going to measure the test quality by using DRE.
DRE=A/(A+B)
Test Methodology:
➔ Test Methodology is a project level document.
➔ Test methodology is prepared by project manager.
➔ Project manager is deciding which type of test and test factor is used in our project.
➔ Project manager used test strategy document to finalize the test methodology.
STLC: Software Testing Life Cycle:
➔ STLC stands for software testing life cycle.
➔ STLC is a subset of SDLC.
➔ SDLC contain whole process of software development however STLC contain only testing process.
➔ STLC helps to make the software as a defect free.
➔ Phases of STLC are:
New:
➔ When tester found any defect during the testing then tester marks status as “New”
Open:
➔ Open status is an intermediate state between New and Fix.
➔ Developer Starts analyzing and work on the fixing the defect and developer mark states as
“Open”.
Fixed:
➔ Developers makes necessary changes to fix defects.
➔ After fixing defects, developers mark states as fixed.
Retest:
➔ Re-Testing is done by Tester.
➔ By Re-testing tester check whether the defect is fixed or not. Then tester mark those states as Re-
Test.
Closed:
➔ If defect (bug) is not longer exits then tester marks those states as Closed.
Re-Open:
➔ After doing some changes for fixing defects or after fixing defects still defects are there then
tester mark those states as Re-Open.
Rejected:
➔ If Defect is not a valid defect, then developer mark those state as rejected.
Differed:
➔ When defect is a valid defect, but due to low priority, and lack of time and has less time to deliver
a sprint. we are not fixing that defect in current sprint we fix it in next sprint. Then developer
mark those defects as Differed.
Duplicate:
➔ After fixing defect, some defect occur twice then developer mark those states as duplicate.
Review:
A review is a systematic examination of a document by one or more people with the main aim of
finding and removing error early in the software development life cycle.
Review are four types:
1. Self-Review:
➔ Self-review is done by tester. (Himself)
➔ To check whether I missed any test cases or not.
➔ Also, we are going to check all the test cases are as per customer requirements or not.
2. Peer review:
➔ The test cases which is written by me. And review by my colleagues is known as peer review.
➔ Colleagues of my team check all the test cases are as per customer requirements or not.
3. Internal Review:
➔ In internal Review BA, Product Owner, Development Team, Testing Team Are involved.
➔ BA or product owner is responsible person to review our test cases in internal review.
4. External Review:
→external review performed by UAT team or Customer.
Sr TRM RTM
No.
1. TRM stand for Test Responsibility Matrix RTM stand for Requirement traceability matrix.
2. TRM prepared by project manager RTM prepared by Test Engineer.
3. TRM is a mapping between development stages vs Testing RTM is a mapping between customer requirement vs prepared
Factors test cases.
4. By using TRM Project manager is going to choose which By using RTM, we are going to check whether any requirement
testing factor and which testing is performed. is missing in our prepared test cases or not.
Traceability Matrix:
Sr Requirement Requirement Test case Test Test case Test case Defect Defect
no. ID Description Scenario case ID Description status ID Status
2. Early Testing:
➔ Early testing means testing starts from requirement stage.
5. Defect Clustering:
➔ Equal distribution of bugs across the module is not possible.
➔ Defect may be cluster in small piece of code/ module.
6. Pesticide paradox:
➔ Executing same test cases again and again will not helps to identify more bugs. Instead of that
review them regularly and modify it if changes required