75% found this document useful (8 votes)
4K views5 pages

JPetStore Test Cases Overview

The document describes test cases to test the functionality of searching for pets on the Jpetstore website. It includes test case IDs, names, preconditions, and priorities for test scenarios covering user registration, login, searching for pets, and adding pets to cart. The test cases validate features such as registering a new user, logging in with valid and invalid credentials, searching for pets by name, selecting a pet by ID, and adding a pet to the cart.

Uploaded by

Tango V
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
75% found this document useful (8 votes)
4K views5 pages

JPetStore Test Cases Overview

The document describes test cases to test the functionality of searching for pets on the Jpetstore website. It includes test case IDs, names, preconditions, and priorities for test scenarios covering user registration, login, searching for pets, and adding pets to cart. The test cases validate features such as registering a new user, logging in with valid and invalid credentials, searching for pets by name, selecting a pet by ID, and adding a pet to the cart.

Uploaded by

Tango V
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd

RequirementId RequirementName ScenarioID ScenarioDescription

R001 Search Pet on Jpetstore TS_001 User Registration


TS_002 Check Login Functionality
TS_003 Search For Pets
TS_004 Add To Cart
Scenario TestCaseID TestName PreConditions Priority
TS_001 TC_001 Registration Page for [Link] url P0
new user should be working

TC_002 Register new user [Link] url P0


should be working

TS_002 TC_003 Verify Login Page [Link] url P0


should be working

TC_004 Verify login with valid [Link] url P0


credentials should be working

TC_005 [Link] url P0


should be working
Verify login with valid
username and invalid
password
TC_006 Verify login with invalid [Link] url P0
username and valid should be working
password
TC_007 Verify login with invalid [Link] url P0
username and invalid should be working
password
TC_008 Verify login with invalid [Link] url P0
credentials should be working

TC_009 Verify to login without [Link] url P0


username should be working

TC_010 Verify to login without [Link] url P0


password should be working

TS_003 TC_011 Search pets in search [Link] url P1


bar should be working
TC_012 Select pet by product [Link] url P1
ID should be working

TC_004 TC_013 Add pet to cart [Link] url P1


should be working
StepstoRun ExpectedResult ActualResult Status
[Link] the url Jpetstore page should be
[Link] on enter the store displayed.
link Link to enter pert store should be
[Link] on Sign In available.
[Link] on Register Now Sign In button should be
available.
Register now button should be
available

1. Fill user information User should enter to the menu


2. Create user name and page
password
[Link] account information
[Link] profile information 5.
Click on save account
information

[Link] the url


Login page is displayed and has
fields such as User Name,
Password ans Login Button
User should be able to login and
[Link] url home page is diasplayed
[Link] valid registered
username and password
[Link] url Error message: "Invalid
[Link] valid registered password" should be displayed
username and invalid
password

[Link] url Error message: "Entered


[Link] invalid username username is not associated"
and valid password should be displayed
[Link] url Error message: "Entered
[Link] invalid username username is not associated"
and invalid password should be displayed
[Link] url System should ask for security
[Link] invalid username code
and invalid password 3
times

[Link] url System should ask for username


[Link] valid password
3. Click login
[Link] url System should ask for password
[Link] valid username
3. Click login
[Link] url Search button should be enable
[Link] System should display results for
[Link] the name of animal entered animal in terms of
[Link] product Id and name of animal
Search button
[Link] url Product Id link should be enabled
[Link] System
[Link] the name of animal should take user to the page
[Link] where details of animal is
Search button [Link] on present
required animal product ID

[Link] url Add to cart link should be


[Link] enabled After clicking the link
[Link] the name of animal product should be added to cart
[Link]
Search button [Link] on
required animal product ID

You might also like