Manual Testing
Manual Testing
Manual Testing
Set of programs given as instructions to any machine which will respond to user
requests.
Software testing :
1)Verifying or checking application feature functionality is working as expected
or not.
2)Testing is an application with an intention to identify bugs.
Bug:
1)Any feature not working as tester expected.
2)Deviation between expected and actual result.
Error:
i)Mistake in a program.
Types Of Error:
a) Compile Time Error:- syntacally error
b) Runtime Error:-While executing program.
Note:-
i)Because of mistakes made by the developer tester will identify bugs.
ii)If the tester identifies a bug means runtime error is identified.
Software Testing:-
Types of application:-
1] Web application :-
Applications which need to be accessed using a browser.
2]Client server application:-
Applications which need to be installed in local machines & to
access the internet are mandatory .
6)Test Plan
7)Tools:a)Defect Tracking Tool:Bugzilla /Mantis
b)Test Management Tool:JIRA/Test LInk/QC
APPROACH 1:-
In this approach developers will develop complete application perform
white box and send application to testing team.
LIMITATIONS:
1)Both developing and testing team are not working together.
2)Chances are there tester are not perform effective testing so quality
Might get affective.
3)Overall project cost and duration might get increase.
APPROACH 2:-
In this approach developer will develop few features and send it to
testing team.
While testing team test that features developers will create new features.
ADVANTAGES:
1)Both developing and testing teams works together.
2)Overall project cost and duration reduced.
3)Tester can perform affective testing and product quality might be
Improve.
#Once few features are develop.Developer will compile, compress programs and creates
a file.(i.e.build)
BUILD: 1)It’s piece of software which contains few features.
2)It’s piece of software which contains compiled and compressed programs.
3)Its piece of software which converts programs to features.
*Developing team will install build01. In testing environment.
*Testing team will refering requirement test features or build one,if they identifies any bug
send it to developers.
*While testing team is busy in testing build1 developing team will develop build2.(Adding
new program old program.
*Once build testing is completed developers send new build.
*This process will continious untill all features are completely develop and realise
product to customer.
*When a build came for testing test lead will decides test cycle duration.Within that test
cycle testing team should test all develop features. If they identifies any bug send it to
developers.
*Onces build is completely tested developing team send new build. But every test cycle
testing team will receive only one build
*Chances are there tester might identify blocker bugs.So developer need to fix that
blocker bug immediately and sends respin in same test cycle.
Test Cycle:-
Time taken by testing team to test build.
Blocker Bug :-
It’s type of bug which will not allow tester to perform further testing.
Respin:-
More than one build same test cycle.No of respin in test cycle depends on no of
blocker bugs found by testing team
Approach 2]:-
In this approach developer will review other developer written code.
Approach 3]:-
In this approach other project team developer will review source
code i.e(peereview).
2)All the testscripts will be converted into suite file or XML file.
4)Each test script will execute main program if main program works fine then
testscript will pass otherwise fail.
6)By referring to report if any test scripts is fail then main program will be
modified & XML file will be reexecuted.
7)Once all testscripts are pass White Box Testing is passed & send build to
testing team.
Class
{
int a; //statement 1
Int b; //statement 2
if(a==b)
{
Print”same” //statement 3
}
Else
{
Print”not same” //statement 4
}
}
Request:Banking App.
a.Account holder can transfer amount within range 500-50,000.
Class Amt_Transfer
{
Int amt;
Int current_bal;
if(amt>=500&&amt<=50000&&amt<=current_bal)
{
Transfer amount
}
Else
{
print”Error Message”;
}
Loop Testing:
In this technique developer will checks each and every loop is executing for all
possible iterations or not.
Ex.Banking App
a.In a day, Account holder can do max 4 transactions.
b.Each transaction Account Holder can transfer max.50,000.
Class Transaction
{
Int amt;
Int Currentbal;
Int count;
while(count<=4)
{
if(amt>=500&&amt<=50000&&amt<=currentbal)
{
Transfer amt;
count ++;
}
else
{
Error message;
break;//stop loop execution
}
}
1 1000 1,00,000 1 4
2 25,000 50,000 1 2
3 1000 10,000 4 1
Path Testing:
In this technique developer will checks each and every individual path in set
of programs.
1.In WBT we will check each program 1.In BBT we will check each feature
functionality.
3.To perform WBT internal coding is required 3.To perform BBT coding knowledge not
. require
4.As code is visible it is known as open box 4.As code is not visible it is known as closed
testing. box testing.
5.To perform WBT developer use technique 5.To perform BBT tester will use testing types
like statement coverage. like functional ,integration etc.
1)Functional Testing :
Testing each and every component completely or thoroughly
or rigorously by referring to requirement document.
SRS document for signup page .
1.When a user accesses an application by entering URL .
1.2.It should contain the following features.
a.Sign Up
B.login
2. When user clicks on sign up button.
2.1. Sign up page should be displayed.
2.2. It should contain following features.
2.2.1.Username
a.It should accept 6 to 12 characters.
b.It should accept numbers,special characters,blank,space and operators.
2.2.2. Password
a. It should accept 8-15 char
b. It should be combination of alpha + number.
c. Only one special char allowed(optional).
d. Blank and space not allowed.
2.2.3.Email Id
a.Should accept a valid email id.
2.2.4DOB
a.should accept valid DOB.
2.2.5 Contact
a.Should accept a 10 digit number.
b.Alpha , no’s ,spl.char, decimal, space , expression not allowed.
2.2.6 Gender
User should select anyone
a.Male
b.Female
2.2.7:Sign up button
When a user clicks on the sign up button with valid data in mandatory fields.
a. Home page should display.
Username:
a.It should accept 6 to 12 char.
b. It should accept only alpha.
c.It should not accept number, special character,blank and space , operators.
Password
Dinga@1
Confirm Password
Password
Dinga@1
Confirm Password
6) Enter same text upper in lower case and lower in upper- dINGA@1
7) Leave blank –
8) Enter space –
9) Enter same text in password field and change the password field text
DOB :
DD MM YYYY
Case 1:
V/I V V
Case 2:
V V/I V
Case 3:
V V V/I
Case 4:
I I I
Case 1:
V/I 03 2005
(01/31)
1)01/03/2005
2)31/03/2005
3)15/03/2005
4)0/03/2005
5)33/03/2005
6)-1/03/2005
Case 2: (01-12)
04 V/I 2001
1)04/01/2001
2)04/12/2001
3)04/05/2001
4)04/00/2001
5)04/13/2001
6)04/one/2001
7)04/1.2/2001
Case 3: 2000-2020
01 08 V/I
1)01/08/2000
1)01/08/2020
1)01/08/2010
1)01/08/1+2
1)01/08/1999
1)01/08/2021
1)01/08/….
Case 4:
I I I
00/00/0000
-1/1.2/1+2=3
@/**/****
1) Enter any one mandatory field and check other mandatory fields
displays error message or not.
2) Enter any two mandatory fields and check other mandatory fields
displays error message or not.
3) Enter all mandatory fields and check user can create account or not.
4) Enter all mandatory fields and check user can create account or not.
1) Over Testing:
2) Under Testing:
3) Optimized Testing:
Amount
Transfer
Cancel
2)120.5 2)49.99
3)50000 3)-50
4)25000 4)***
5)51 5)fifty
7)55.55 7) 12
8)15000 8)$50
9)0245 9)10+2
10)200 10)80000
#Integration Testing:-
Expected Result:
Not.
2) Login to app.
4) Amount transfer.
5) Click on my transactions.
Expected Result:
2) Login to app.
2) Login to app.
5) Click on my transaction.
Relation:
1) Mono-directional:-
A---------->----------B
A----------->---------B
E.g: Compose---->------Inbox
2) Bidirectional:-
A --------<-->-------- B
Action : Check whether payer transfer money to payee and check it will be
transfer or not.
2) Login as payer.
6) Login payee.
2) Click my transaction.
Action:- Check whether payer transfer amount more than available balance
and should check amount credited in payee account or not.
5) Logout payer.
7) Logout page.
Action: payer transfer amount greater than available balance and it check
whether payee transactions should updated or not.
2) Click on my transaction.
1) Priorities to features.
Integration testing is classified into two types based on how testing team
will perform or check relations.
Limitations:-
Stubs:-
It’s dummy feature which will receive data from high level module.
Limitations:-
Drivers:-
Its dummy feature which will receive, analyse and transfer the
data.
Stubs Drivers
Defect:
1) Project name: This section explains in which project testing team found
bug.
3) Build no: This section explains by testing which build bug is identified.
4) Severity: This section explains how tester identified bug will show impact
on customer business.
*Priority types*
d) Low: Bug need to be fix in any build even delivering product to customer.
Severity Priority
Blocker Immediate
Critical High
Major Medium
Minor Low
Priority: High
Severity: High
Priority: Low
Severity: Low
Priority: High
Severity: Low
Priority: Low
Reproducibility:
# Status:
# Log file:-
Its document which will record all the actions that are performed
on application automatically.
# Platform:-
# Bug summary:
# Bug Description:
#Steps to reproduce:
#Expected Result:
#Actual Result:
# Attachment:
Bug Report
1) Word documents.
2) Excel.
3) Spread sheets.
a) Approach 1:
Limitations:-
b) Approach 2:-
Limitations:-
Que: Why tester can’t send all bug report at the end of the day?
#Duplicate bug:
1) Signup
2) Login
3) Compose
4) Inbox
5) Send mails
6) All mails
7) Forget password
8) Important
9) event
10) help
11) starred
12) chat
13) Privacy
14) contact
15) labels
17) logout
Test Lead
T
e
s
t
L
e
a
d
I F
n e
d R a
e e t
p l u
e a r
n t e
d e s
e d
n
t
F
e
a
t
u
r
e
s
h S C
e i o
l g m
p n p
u o
p s
e
A L I
b o n
o g b
u i o
t n x
u
s
C L A
o o l
n g l
t o m
a u a
c t i
t l
s
C F S
h o e
a r n
t g d
e m
t a
p i
a l
s s
s
w
o
r
d
T C S
a h t
s a a
k n r
g r
e e
p d
a
s
s
w
o
r
d
f S L
a e a
c c b
u e
r l
i s
t
y
P i
r n
i d
v e
a p
e
c n
y d
e
n
t
T T T
E E E
- - -
3 1 2
( ( (
F F F
T T T
/ / /
I I I
T T T
/ / /
S S S
y y y
. . .
T T T
) ) )
Que: Why we should not send bug report to test lead or developer?
2) If we send bug report to test lead delay will happen in assigning bug to
developer.
1) When tester identifies a bug prepares bug report with status new/open
and send it to develop team.
2) Develop lead will review bug report identify developer who develop that
feature and assign bug report by changing status Assign.
3) Developer will review bug report reproduce a bug and modify source
code, change bug report status to Fixed.
a. When new build came for testing tester will rechecks bug
fixed or not if it is fixed change status to Closed, if bug is not
fixed to Reopen and send it to develop lead.
4) This process is continue until bug is fixed.
# Duplicate:
2) Chances are their features are having relation which are assign to
testers.
New/open>Duplicate>Closed
#Postponed/Deffert:
New->Assigned->Postponed/Defferd->Fixed->Closed/Reopen
# Unable to reproduce:-
a) Inconsistent:
Open->Assigned->Unable to reproduce->
Open->Assigned->Unable to reproduce->closed
Open->assign->unable to reproduce->fixed->closed/reopen
# can’t be fixed:-
2) Chances are their cost of fixing is more when compare to loss give to
loss give to that bug.
#Rejected:-
3) If bug is inconsistent.
a) TE .Misunderstood-> New->assign->rejected->closed
b) DE .Misunderstood->
New->Assign->rejected->reopen->fixed->closed/reopen.
c) Inconsistent.
d) New feature.
All RFE’s will be discussed with the customer if customer agrees then
fix the bug otherwise reject.
New->assign->RFE->
#Smoke Testing:
1) Developer will develop few features after WBT send build to testing
team.
3) Testing lead will start testing each feature chances are their tester might
identify blocker bug at the end of the test cycle.
4) To fix that blocker bug and to retest and respin testing team might
require sufficient time which results in delay in next delay testing.
5) To avoid this before testing build testing lead to verify whether build
contains blocker bugs are not by performing smoke testing. If there is no
blocker bug then accept the build and perform through testing.
*Definition:
#Note:-
Creative scenarios:-
1) Chances are their enduser might use application randomly and face
difficulty to avoid that we should perform adhoc testing.
6) To break product.
Que: When we need to perform adhoc testing?
4) In every build tester identified more creative scenarios but time is not
sufficient contact test lead so that new tester will be assign to perform
adhoc testing.
Synario 1) Login to Gmail copy URL and paste URL in other browser.
Synario 3) Logout from Gmail application and click on browser back button.
1) Monkey testing:-
In this type every tester need to identify creative
scenarios on their assigned feature and performs adhoc testing.
2) Interchange testing:
4) Buddy testing:-
* Reliability Testing:
Verifying or checking application features
functionality continuously for a period of time.
* Migration Testing:
*Recovery Testing:
2) Chances are their tester might immediately crash the software and
checks rebuilded software works as expected or not.
* Test Cases *
1) Test a build testing team will use following approaches:
Approach 1:
Limitations:-
Approach 2:
It's a document which contains all possible inputs that are used
to test application.
a) Word document
b) Excel sheets
c) Spread sheets
d) Test management tool like QC, Test link, JIRA, Test Rail.
1) Functional Testing
2) Integration Testing
3) System Testing
4) Adhoc Testing
Test Scenario Template
Project Name:
Module Name:
Feature Name:
Request no.:
Severity:
Platform:
Brief Description:
Author:
Written Date:
Reviewed By:
Reviewed Date:
Approved By:
Procedure to fill test scenario document:-
Project name:
ICICI Net Banking
App
Module Name:
Bank Employee
Module
Feature Name:
Create Account
Feature
Severit
y:High
Platform:OS,Windows8,Browser-Firefox/Chrome
Auther: Shrikan
t Pawar
Written 20-01.2
date: 021
Reviev
ed By:
Reviev
ed
Date:
Approv
ed By:
Integration Testing Test Scenario
Project
Name:-ICICI
Module Name:-Bank
Employee Module
Feature Name:-Create
Account Feature
Request No:-3.3.1,3.3.2,3.3.3,3.3.4,3.3.5,3.3.6,3.3.7
Severity:-Hig
h
Platform:-OS,Windows10,Browser -Chrome
10 Invalid Ts_ICICI_BankEmployee_CreateAcco Check whether user can create new account who
unt_IT_10 already have account
Author: Shrikant
Pawar
Reviewed by:
Reviewed
Date:
Approved By:
1 Account Amount Functional Ts_ICICI_Accoun t’s wrong scenario If open-->clos Scenario removed Fixed
Holder Transfer Testing tHolder_AmtT/F_ we click on cancel ed
Cancel__FT_09 button with amount
less than/Greater
than avail.bal same
message will display
2 Account Amount Functional Ts_ICICI_Accoun Its wrong scenario.. open Scenario removed Fixed
Holder Transfer Testing tHolder_AmtT/F_ If we click on cancel -->closed
Cancel__FT_010 button, with
correct/Incorrect
payee details same
message will be
display
1) Missing Scenario
2) Wrong Scenario
3) Modification Scenario
Module Name:
Feature Name:
Request no.:
Severity:
Priority:
Test_data:
Precondition:
Platform:
Brief Description:
Sr.n Subfeatur Test case Id Test step Input Expected result Actual Status
o e scenario Result
Author:
Written date:
Reviewed by:
Reviewed Date:
Approved By:
Approved Date:
Boundary Value Analysis:-
E.g: Amount
Amount:
Inputs: 499,500,501,49999,50000,50001
Username:
Inputs:
Equivalent Partition:-
1) Pressmen Technique:-
Eg: Account
Inputs:-
1)30000
2)100
3)60000
If component accepts set of values test that component for one valid and
invalids.
a) One valid
b) Two invalids
Price:
Sr no product Id
1 idli 10
2 puri 20
3 dosa 30
4 Masala dosa 40
Inputs:
1) 10
2) 15
3) 20.1
# Practice Technique:
Ex.amount
c)If a component accepts a set of values test that component for multiple
valid and two invalids.