Test Cases - Ultimate - TheTestingAcademy

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 63

Test Scenario TID

2
3
4
5
6
7
Test Scenario Desciption
PING HEALTH CHECK
Get All Booking
Get Single Booking
Full update of a resource
Partial Update
Delete
Test Case Template for
Project
Project Name Restful Booker
Module Name API MODULE
Created By Pramod
Peer Review
Created Date 6/22/2023
Peer Reviewed Amit
By
Date 02/03/25

Priority No. of Test cases Linked Document


P0 10 Test Plan Link or FRD Link
P1 10 Test Plan Link or FRD Link
P0 15 Test Plan Link or FRD Link
P1 15 Test Plan Link or FRD Link
P0 10 Test Plan Link or FRD Link
P0 5 Test Plan Link or FRD Link
Executed QA Name Misc (Comments)
Restful Booker
HTTP MEthod ID Auth Payload
GET y x x
POST x x y
PATCH Y Y Y
PUT Y Y Y
DELETE Y Y X
HEAD Y X x
GET All X X X
Restful Booker
Comments
name, age, phone -> name
Few keys Req, all the keys
All Keys
oNLY HEADER INFOR
Status Response Headers
200 All keys
200/201 All keys + ID
200 All keys, GET updation
200 All keys, GET updation
204/200 GET ope, 404
200 200
200 Total Keys, not null
How to write a Better Testcase

Use the keywords Should

Test Case Title


Verify that with the X and Y, Z should work.

e.g Verify that with the Valid username. <<>> and password <<>> , login should work

Expected Result
with the Valid username and password, Login should work

Actual Result
with the valid username and password, Login is working as expected.

Steps to Execute
Navigate to X
Do This Z
Verify this Y

Test Scenario: Testing the login feature of a web application

Test Case 1: Verify that the user can successfully log in with valid credentials
Test
In thisCase 2: Verify
example, the that
test the user isisunable
scenario testing to
thelog in with
login an incorrect
feature of a webpassword
Test
application, and the test cases are specific tests that are designed username
Case 3: Verify that the user is unable to log in with an invalid to
validate different aspects of the login process. Test case 1 is designed to
verify that the user can log in with valid credentials, test case 2 is designed
to verify that the user is unable to log in with an incorrect password, and test
case 3 is designed to verify that the user is unable to log in with an invalid
username.
Verify Test Validate Select Check
TestCase
Scenario TID VerifyDescription
if you are getting
PreCondition
Verify if you are getting
status code
response of 201
body foras
string
1 ping health
Created check
for ping health
Verify if you are getting
check
response as 201
Created
Verify if Response
Header has content type
Verify if
Verify if User
Response time
is able to
is lessthan 200ms
Fetch All bookings
successfully
Verify JSON
Verify Get AllResponse
Booking
for Getcode
status all Booking
Verify Status code all
When for
bookings
Get are deleted
All bookings when
all booking id is fetched
Verify if Response time
is lessthan
Verify 200ms
.VErifyifJSON
User is able to
Response
Fetch
for Single
Get status bookings
Single code
Booking
.Verify
Booking
When all bookings are
deleted
.Verify Status code for
Get Single booking
Verify
Verify if
if user is
is not
able able
userResponse to
Verify JSON
to create
Verify
Create the
New new
statusresource
code
resource of
for Successful
Verify the status POST
code
using
POST POST
request request
when
Request
for successful POSTbody
when
Request Request
is sentjson
with
Request
sent has json
only body
4 out of 8
Request
fields
containing only 4 out of
8 fields
Verify the Response
body
Verifyfor
theSuccessful
Response PUT
requestfor successful
header
Verify the Status code
PUTsuccessful
for request PUT
Verify
Verify if
thethe user code
status is not
request
able
that user gets for update
to do partial trying
using
PartialPUT request
update using PUT
request
Verify the JSON
Response
Verify the body
Responsefor
PATCH
header request
forstatus
PATCHcode
Verify if
Verify theuser is able to
Request
for successful PATCH
perform
Verify PATCH
if user request
is able to
Request
successfully without
perform PATCH request
authorization
by providing
Verify is userJSONis getting
request body
correct error code as blank
for
failed PATCH request
.Verify if user is able to
delete all bookings
Addnew request code is 201", function () {
pm.test("Status
1.Login
3.Enter to POSTMAN
the PingHealth tool
3.Enter the PingHealth check
pm.response.to.have.status(201); check url url
2.In POSTMAN tool,Navigate
https://restful-booker.herokuapp.com/ping to My workspace-->Collection->Click
and Select GET request
https://restful-booker.herokuapp.com/ping
});
Addnew
and Click request
Send button
1.Login to POSTMAN tool
and Select GET request and Click Send button
3.Enter
4.Verify the
if PingHealth check url code of 201 in response tab
2.In
4.Verify
pm.test("Body if you
POSTMan you tool aregetting
are getting
,Import
matches
status
the
response
string",Curl command
body
function stringusing
()as Raw text
{ 'Created'
https://restful-booker.herokuapp.com/ping
formal
1.Login to POSTMAN tool
pm.expect(pm.response.text()).to.include("Created");
and Select GET request and Click Send button
Scripting:
curl
}); -i
Scripting:
2.In https://restful-booker.herokuapp.com/booking
POSTMan tool ,Import TestSteps
the Curl command using Raw text
4.Verify if Response
pm.test("Status codeHeader is 201", has content
function type
3.Click
formal send
pm.test("Body
1.Login request
to POSTMAN matches button
toolstring",and Verify ()
function { {
if ()
Response time in less
than
curlpm.response.to.have.status(201);
200ms
pm.expect(pm.response.text()).to.include("Created");
-i https://restful-booker.herokuapp.com/booking
pm.test("Content-Type
2.In POSTMan
Scripting:
1.Login to POSTMAN tool ,Import tool is thepresent",
Curl command function using()Raw { text
});
});
3.Click send request button and Verify the response body
pm.response.to.have.header("Content-Type");
formal
pm.test("Content-Type
2.In
1.Login POSTMan
Scripting: toPOSTMAN
to tool ,Import
POSTMAN tool is
tool thepresent",
Curl command function using()Raw { text
});
curl -i https://restful-booker.herokuapp.com/booking/x
https://restful-booker.herokuapp.com/booking
pm.response.to.have.header("Content-Type");
formal
2.Import
2.In POSTManthe
pm.test("Response
1.Login to
to curl
toolcommand
POSTMAN
POSTMAN ,Import
timethe
tool
tool using
is Curlraw
less thantext200ms",
command format
usingfunction
Raw text () {
Scripting:
3.Click
});
1.Login send
to request button
POSTMAN tool and Verify the response body
curl
formal
2.Import
2.In -i
-X https://restful-booker.herokuapp.com/booking
PUT
POSTManthe \ curl
tool command
,Import using
the Curl raw text
command format
using
pm.test("Body
1.Login
x-->x
2.In to be
can
POSTMan POSTMAN
your
tool matches tool the
preferred
,Import string",
booking
Curl function
id the status
command () { Raw
using Rawwhen
text
text all
3.Click
curl
format -i
-X send request button
https://restful-booker.herokuapp.com/booking/1 and
https://restful-booker.herokuapp.com/booking
pm.expect(pm.response.responseTime).to.be.below(200);
PUT \ Verify code
\
2.In pm.expect(pm.response.text()).to.include("bookingid");
POSTMan
Scripting:
format tool ,Import the Curl command using Raw text
bookings
-H
3.Click
}); sendare
'Content-Type: deleted
request application/json'
button
https://restful-booker.herokuapp.com/booking/1
1.Login to POSTMAN tool
https://restful-booker.herokuapp.com/booking/:id and Verify\ the status code \ when all
});
format
3.Click send request
pm.test("Body matches buttonstring",
https://restful-booker.herokuapp.com/booking/:id and Verify if Response
function () { time in less
-H
2.In 'Accept:
bookingsPOSTMan
id=tester are
-H 'Content-Type: application/json'
fetched
tool ,Import
preference successfully
application/json' \
the Curl command \ using Raw text
1.Login
id=tester
1.Login to POSTMAN
topreference
pm.test("Status POSTMAN code tool
https://restful-booker.herokuapp.com/booking/:id
than 200ms
pm.expect(pm.response.text()).to.include("bookingid");
toolis 404", function () {
-H 'Cookie:
Scripting
-H
formal 'Accept: token=abc123'
application/json' \\
2.In POSTMan
id=tester tool ,Import the Curl command using Raw Raw text
});
2.In
1.Login
-d
curl '{ topreference
POSTMan
pm.test("Status
'Cookie:
-i POSTMANtool code
-Hpm.response.to.have.status(404);
token=abc123' ,Import
toolis the \ Curlfunction
200",
https://restful-booker.herokuapp.com/booking/x
command:
command () using
{ text
formal
Scripting:
curl
formal
}); -X PUT \
2.In
curl POSTMan
'{
-X PUT \\ tool
-d"firstname" : "James",
pm.response.to.have.status(200); ,Import the Curl command using Raw text
curl -i
-X https://restful-booker.herokuapp.com/booking/x
PUT
pm.test("Response
curl -i time is less than 200ms",\ function () {
https://restful-booker.herokuapp.com/booking/1
https://restful-booker.herokuapp.com/booking/x
format
"lastname"
formal
}); "firstname"
x-->x can be your : "Brown",
: "James", preferred booking id
https://restful-booker.herokuapp.com/booking/1 \\
https://restful-booker.herokuapp.com/booking/1
-H 'Content-Type:
curl
-H 111,application/json' \\
application/json'
https://restful-booker.herokuapp.com/booking
"totalprice" : "Brown",
-i https://restful-booker.herokuapp.com/booking/x
"lastname"
'Content-Type: :
x-->x
-H
x-->x can
can be
'Content-Type:
'Accept: your
beapplication/json'
your preferred booking
application/json'
pm.expect(pm.response.responseTime).to.be.below(200);
-H \ \id
//"totalprice"
3.Click
-H "depositpaid"
send request
'Accept: : 111, :preferred
application/json' true,
button and
booking id
\\ Verify the response code
-H
});
-H 'Accept:
'Cookie: application/json'
token=abc123' \
//"bookingdates"
x-->x
3.Click"depositpaid"
Scripting:
-H 'Cookie:
send
your ::preferred
can betoken=abc123' {
true, booking
\\
id
-H
-d '{
3.Click send request
'Cookie:
"checkin"
"bookingdates"
token=abc123'
request
:
button
button and
"2018-01-01",
: { and Verify
Verify the the response
response code body
pm.test("Status
-d '{'{
Scripting:
-d code is 404", function () {
"firstname"
3.Click send request
"checkout" : "Virat", button and Verify the response code
: "2019-01-01" body
"checkin"
to POSTMAN
pm.test(""Status
"firstname" ::"James",
"2018-01-01",
pm.response.to.have.status(404);
"firstname"
1.Login code tool
is 200"", function () {
"lastname"
Scripting:
}, :: "Kohli",
"Virat",
2.In "checkout"
});"lastname"
POSTMan ::tool : "2019-01-01"
"Brown",
pm.response.to.have.status(200);
"lastname" ,Import the Curl command using Raw text
"totalprice"
pm.test(""""Status
"additionalneeds" : "Kohli",
111, code is 200"""", function () {
: "Breakfast"
},
"totalprice"
format
}); "totalprice"
1.Login to POSTMAN: 111,
: 111, tool
}' "depositpaid"
1.Login
1.Login to POSTMAN : true,
pm.response.to.have.status(200);
to POSTMAN tool
"additionalneeds"
"depositpaid" ::command
true, :tool
https://restful-booker.herokuapp.com/booking"Breakfast"
});"depositpaid"
2.In
1.Login
1.Login
2.In
POSTMan
"bookingdates"
2.Import tothe
to
POSTMan POSTMANtool
curl
POSTMAN
tool
true,
:,Import
{tool
tool
,Import
{buttonthe
the
using Curlraw
Curl
command
text format
command
using Raw text
using Raw
}'
curl
"bookingdates"
3.Click send\ request
"bookingdates"
format "checkin"
-X PUT : ::,Import
{
"2018-01-01", and Verify the response codetext
2.In
3.Click
2.Import
format POSTMan
send
the tool
request
curl command the
button.Verifyusing Curl command
if
raw user
text is notusing
format able Raw
to text
"checkin"
Scripting:
"checkin" :: "2018-01-01",
"2018-01-01",
https://restful-booker.herokuapp.com/booking
"checkout" : "2019-01-01"
https://restful-booker.herokuapp.com/booking/938
format
successfully \
curl
3.Click -X send\ update
PUT
https://restful-booker.herokuapp.com/booking
"checkout"
pm.test(""""Status request button.Verify
:: "2019-01-01"
code if user is not () {able to
3.
1.Login
-H}, "checkout"
to POSTMAN
'Content-Type: toolis 200"""", function
"2019-01-01"
application/json'
https://restful-booker.herokuapp.com/booking
the booking \
https://restful-booker.herokuapp.com/booking/938
3.Click
successfully
}, request button and Verify the response \
send update
pm.response.to.have.status(200);
},
In
3.-Hrequest
2.Import
'Accept:thebody
"additionalneeds" curlEnter command
application/json' only 4using
: "Breakfast" out
\ ofraw 8 fields
text format
-H
the
1.Login
}); 'Content-Type:
booking
"additionalneeds"
to POSTMAN
"additionalneeds" application/json'
:
: "Breakfast"
tool
"Breakfast" \
Click
curl
In-H
POSTMAN -X
}'3.Click send
PUT
'Cookie:
request request
send\ request
token=abc123'
body
Scripting: Enter button button
only and
4 \out Verify
and ofVerify
8 the
fields response
the statuscodecode
}'-H 'Accept:
2.Import
}'3.Click the
send application/json'
curl
request command button
https://restful-booker.herokuapp.com/booking/938 using\and raw
Verify text the format
response \ header
Scripting:
-d
Click '{ send Scripting:
pm.test("Status
-H 'Cookie: request code
token=abc123' button
is 400",and \ Verify the
function () {response code
POSTMAN
3.Click
curl -X
Scripting: send
PUT \ request button and Verify the response body and
-H""firstname""
'Content-Type:
pm.test("Status code application/json'
for successful PUT
: ""QATesterFirstnam"",
pm.response.to.have.status(400); \ request is 200", function
-d
code '{
pm.test("Status code is 400",
https://restful-booker.herokuapp.com/booking/938
pm.test("Content-Type is present", function () {
function () { \
()-H
}); 'Accept: application/json'
{""lastname""
"firstname" : ""QAtesterLastName""
: "QATesterFirstnam",
\
-Hpm.response.to.have.status(400);
'Content-Type: application/json'
pm.response.to.have.header("Content-Type"); \
}'-Hpm.response.to.have.status(200);
'Cookie: token=abc123' \
});
-H
}); "lastname"
'Accept: : "QAtesterLastName"
application/json' \
-d '{
});
3.Navigate
pm.test("Status to authorization
code name tab has and make sure
}'-H"firstname"
'Cookie: token=abc123'
: "QATesterFirstnam", \ string", function () {
a)you dont provide credentials to authorize the Patch
() { request
-dpm.response.to.have.status("Bad
3.Verify
'{ if user
pm.test("Status
"lastname" :
is
code be name
able tohas
"QAtesterLastName"
partially Request");
string", update
function resource booking
b)Leave
});
938 it as
successfully blank
pm.response.to.have.status("Bad
}' "firstname" : "QATesterFirstnam", Request");
4.Click
4.verify send
});"lastname"the request
status button
code for successful patch request
3.Veirfy if user : "QAtesterLastName"
is be ablecorrect
to partially
5.Verify
1.Login is
to user
POSTMAN is getting tool errorupdate
code for resource
failed PATCHbooking
}'
938 successfully
request
2.Import
POSTMAN the curl
SCRIPT: command tab using raw text sureformat
3.Navigate
4.verify the to authorization
response body and make
6.Provide
curl -X authorization
DELETE
pm.test("Successful \ andof changepatch request
the input field { name against
a)you dont provide credentials to authorize the()Patch
PATCH Request", function request
the requirement and send the patch request
https://restful-booker.herokuapp.com/booking/2952
pm.expect(pm.response.code).to.be.oneOf([200, \
200]);
b)Leave it as blank
{ -H 'Content-Type:
});
4.Click send requestapplication/json'button \
-H"Helloname"
'Cookie: : "QA",
token=abc123'
5.Verify if user is not able to perform PATCH request
"middlename"
3.Click send request : "QAlast"
}
4.Verify if user is able to delete the booking successfully
7.Verify the
5.Verify the status
status code code
1.Successful
1.Successful Login
LoginExpected Result
2.Successful Navigation
Navigation
Actual Result
2.Successful
1.Successful Login
3.The user must
3.The user must be
be able
able toto send
send request
request
2.Successful
1.Successful Navigation
Login
4.The
4.The Status
Responsecode body in the
mustResponse
show tab must
string be 201
as 'Created'
3.The user must
2.Successful be able to send request
Navigation
4.The
3.The Response
user must bodybe able must show request
to send string as 'Created'
1.Successful Login
4.The Response header must have a content type
2.Successful Navigation
3.Successful
1.Successful action
Login and The Response time must be less
than 200ms Navigation
2.Successful
1.Successful Login
1.Successful
3.The API must Login
fetch all bookings
2.Successful
1.Successful Navigation
2.Successful Login
Navigation
3.The Response
2.Successful body must show list of all bookings
Navigation
1.Successful
3.The ResponseLoginmust be
1.Successful
3.The Login
Status Navigation
code must be 404 for all booking deleted
2.Successful
{
2.Successful Navigation
3.The Status code
"bookingid": 1, must be 200 for all booking deleted
3.Successful
1.Successful action
Login and The Response time must be less
"booking":
than {
200ms Navigation
2.Successful
"firstname":
1.Successful Login"Jim",
3.The API must
1.Successful fetch
Login
"lastname": the single booking which you
"Brown",
2.Successful Navigation
requested
2.Successful Navigation
3.The"totalprice":
Response code111,must be 200
3.The
and Response
"depositpaid":
1.Successful
responseLogin body
body must must
true, beshow the booking requested
"bookingdates":
2.Successful
HTTP/1.1
1.Successful200Navigation
OK
Login {
3.The "checkin":
Response code
2.Successful Navigation "2018-01-01",
must be 404
{
3.The "checkout":
Response "2019-01-01"
code must be 200
1.Sucessful
1.Successful login
Login
},
"firstname" : "James",
2.Import request
2.Successful successful
Navigation
"additionalneeds":
"lastname" : "Brown", "Breakfast"
Expected
3.The
3.The userResult:
must
Response be
code able
mustto do
be Patch
200 update successfully
}
"totalprice"
1.Successful : 111, code must
Login
1.Successful
and response
Expected Login
status
Result: be 200 OK
1.Sucessful
}
2.Successful login
"depositpaid" : true,
Navigation
4.The response
1.Successful Loginbody must be as below
2.Import
3.The request
"bookingdates"
Response successful
code : { must be 200
2.Successful Navigation 500
3.The
and user must
"checkin"
response : be able
"2018-01-01",
header mustto be
do present
Patch update successfully
{
3.The Response codecode mustmust
be 500
and response
"checkout"
Scripting: status
: "2019-01-01" be 200 OK
"firstname": "QATesterFirstName",
4.The
}, response body must
pm.test("Content-Type be as below
is present", function () {
"lastname": "QATesterLastName",
"additionalneeds" : "Breakfast"
pm.response.to.have.header("Content-Type");
"totalprice": 0,
1.Successful
1.Sucessful
{ Login
login
} "depositpaid":
}); false,
2.Successful
2.Import Navigation
request
""firstname"": successful
1.Sucessful login ""QATesterFirstName"",
"bookingdates":
3.The
3.The Response
user must code
not { bemust
ablebe
to200
update the resource
""lastname"": ""QATesterLastName"",
2.Import request successful
"checkin":
bookingid "2018-01-07",
""totalprice"":
3.The user must not 0, be able to update the resource
and "checkout":
response "2019-01-07"
statuscode
""depositpaid"":
bookingid false, must be 400 bad request
},
and""bookingdates"":
response statuscode { must be 400 bad request
"additionalneeds": "Breakfast,Lunch,Dinner"
""checkin"":
1.Sucessful login ""2018-01-07"",
}
1.Sucessful login ""2019-01-07""
""checkout"":
2.Import request successful
2.Import request successful
}, authorization
3.No provided for the patch request
3.No authorization
""additionalneeds"": provided for the patch request
""Breakfast,Lunch,Dinner""
4.Successful action
4.Successful
1.Successful
} action
login must fail and status code must be
5.The patch request
5.The
2.Importpatch request
request must fail and status code must be
successful
403
403
3.User must be able to perform SEND rrequest
6.Patch
4.The request
user must mustbe able faildelete booking id 2952
7.Status code must be 400 for incorrect
successfully if it is not previously deletedsyntax
5.The status code must be 200
Expected
Steps to Execute Result Actual Result
Status Executed QA Name Misc (Comments) Priority
Is Automated
No
Scenario TID
TestCase Description

1. Create booking with valid Data. -> Create booking with invalid firstName
2. Invalid Check in and Check out date ->
3. Invalid JSON
4. Invalid Total Price
5. Empty Values of all fields
6. Invalid mandatory
7. Min and Max values for all - Total - 1100000000000000000
8. Invalid URL -
9. Deposit false
10. Long name - dasdasdasdasdasdase2eeedasdasdad
11. Arabic Names - , Chinese Name
12. Special Char
13. Different date format - 31/2/23
14. Response Time

first name
future dates
last is req
data format
no last
addtional key removed
addtional key as []
past dates booking
no checkin
negative deposit
null
empty
check out. > check in
with current
date format
Response Booking ID, shoun;t null
Statude code
first ER == first AR
20 Test case
PreCondition TestSteps
Expected Result Actual Result
Steps to Execute Expected Result Actual Result
Status Executed QA Name Misc (Comments) Priority
Is Automated
No
Scenario TID Test Data

1 URL - https://www.dataaccess.com/webservicesserver/NumberConversion.wsoData - <NumberT


2 URL - https://www.dataaccess.com/webservicesserver/NumberConversion.wsoData - <NumberT
URL - https://www.dataaccess.com/webservicesserver/NumberConversion.wsoData - No BodyH

Requirement
-1
pramod
pramod123
!@#$%^%$
123pramod
0
blank
null
98765432345678987654345678
%%%pramod%%
12.34
0x0876567
PRAMOD
‫وتتحّمل والكوري ف‬
𡨸漢
TestCase Description
Verify that when we use the URL and Data from the Test Data section, We get a Response wth Number
is converted
Verify to String
that when we useandthe
Status
URL code 200 from the Test Data section, We get a Response wth Number
and Data
is converted
Verify to String
that when we use the URL and Data from the Test Data section, We get a Response wth Number
is converted to String

Number to Large
Bug - We will add this bug to environment

Verrify that the POST Request with thepayload p1 and is workinf fine, We have number
converted to words example 500 -> Five hundred
-1
Invalid URL
NULL
a
#
ARABIC LANG
3.14
ABC123
1235678076543212345689
0
BLANK
TRUE
FALSE
!@#RFDWR
22/7
ASDF
sa
Postman, URL,
PreCondition
Domain, Endpoint,
TestSteps
Data or Payload,
Headers 1. From the API Documentation "https://www.dataaccess.com/webservicesserve
Expected Result Actual Result

Verify
Verify that
that Status
requestcode 200
gives forerror
your Positive
whenTestcase
you don;t 200
enter the headers, it shuld give 415 method error 415
Expected
Steps to Execute Result Actual Result
Status Executed QA Name Misc (Comments) Priority

Passed
Is Automated
No
Scenario TID
TestCase Description

1. Create booking with valid Data. -> Create booking with invalid firstName
2. Invalid Check in and Check out date ->
3. Invalid JSON
4. Invalid Total Price
5. Empty Values of all fields
6. Invalid mandatory
7. Min and Max values for all - Total - 1100000000000000000
8. Invalid URL -
9. Deposit false
10. Long name - dasdasdasdasdasdase2eeedasdasdad
11. Arabic Names - , Chinese Name
12. Special Char
13. Different date format - 31/2/23
14. Response Time
PreCondition TestSteps
Expected Result Actual Result
Expected
Steps to Execute Result Actual Result
Status Executed QA Name Misc (Comments) Priority
Is Automated
No
Scenario TID
TestCase Description
Verify that Payload is 500, 501, SOAP API works
Verify that
and give ouwith Wrong value
converted URL, SOAP API should not
work
NO headers
String Payload - Pramod
$$$ Payload
-1
0
1E+020
Blank Space
12.34
No payload
Null
Pramod@123
TRUE
1,500
oo5
3+8i
pramod@gmail.com
[]
Method to GET -
Postman,
Payload, URL, 1. Open Postman. TestSteps
PreCondition 2. Enter URL, Payload and
Header, API Header and Click on the Submit or Send
Doc Button
Expected Result Conversion
Actual Result
It should convert to Words e.g Five happended
hundred for the input 500 succfully

Error
Error
Expected
Steps to Execute Result Actual Result
Status Executed QA Name Misc (Comments) Priority
Is Automated
No
Scenario TID TestCase Description

Verify that with the Valid Booking, Booking ID should be generated (bookingid)
Verify that If firstname is not given , Booking ID will not be generated and error is displayed
Verify that If last_name is not given , Booking ID will not be generated and error is displayed
firstname = $$$
firstname = 123
firstname = Empty Blank
PreCondition TestSteps

ror is displayed
rror is displayed
Expected Result Actual Result

Booking id will be generated, error message is displayed


Booking id will Not be generated, error message is displayed
Booking id will be Not generated, error message is displayed
Booking id will be Not generated, error message is displayed
Booking id will be Not generated, error message is displayed
Steps to Execute Expected Result Actual Result
Status
Executed QA
Misc
Name
(Comments)
PriorityIs Automated
Scenario TID TestCase Description

Verify that with the Valid Booking, Booking ID should be generated (bookingid)
Verify that If firstname is not given , Booking ID will not be generated and error is displayed
Verify that If last_name is not given , Booking ID will not be generated and error is displayed
firstname = $$$
firstname = 123
firstname = Empty Blank
PreCondition TestSteps

ror is displayed
rror is displayed
Expected Result Actual Result

Booking id will be generated, error message is displayed


Booking id will Not be generated, error message is displayed
Booking id will be Not generated, error message is displayed
Booking id will be Not generated, error message is displayed
Booking id will be Not generated, error message is displayed
Steps to Execute Expected Result Actual Result
Status
Executed QA
Misc
Name
(Comments)
PriorityIs Automated
Scenario TID Test Data TestCase
postivie Description
test case, PreCondition
it should give Postman Installed,
1 500 PAYLOAD WITH VALUE 200 status coce URL
Actual
Expected Result Result Steps
2. Enter the URL and to Execute
Payload with 500
200 should as Status Code 200 , verfied 3. Hit the URL and verify the Statud code
Status Executed QA
Misc
Name
(Comments)
PriorityIs Automated
Passed Pramod
utomated
Scenario TID
Test Scenario

Create a Booking, Update the Booking Name, Get the Booking by Id and verify.
Create a Booking, Delete the Booking with Id and Verify using GET request that it should not exist.
Get an Existing Booking from Get All Bookings Ids , Update a Booking and Verify using GET by id.
Create a BOOKING, Delete It
Invalid Creation - enter a wrong payload or Wrong JSON.
Trying to Update on a Delete Id -> 404
Test Case Id Test Case Title Pre Condition

uld not exist.


g GET by id.
Expected
Steps to Execute Result Actual Result
Status Executed QA Name Misc (Comments)
Pramod

You might also like