0% found this document useful (0 votes)
67 views27 pages

Assignment 2 Sqa

Uploaded by

arhamn205
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views27 pages

Assignment 2 Sqa

Uploaded by

arhamn205
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 27

Department of Computer Science

SEN-420 Software Quality Assurance


Semester 8 Section A,B(Spring 2024)

Assignment 2
Marks 05

Wajeeha Shafique(02-134202-082)
8-A

Question 01: [CLO# 02, PLO# 04, C3]


Consider the below-mentioned link of the buggy site, Apply different black box testing types and identify different bugs with descriptions and
diagrams.
https://www.saucedemo.com/

Answer:

Bug Steps to
Data Bug Title Severity Bug Description Actual Results Expected Results Screen Captures
ID executing

1|Page
After adding an
item to the cart The "Remove"
After resetting the
from the All Items option is still
Go to the All app state, the
Remove page and then visible next to
Items page. "Remove" option
option still resetting the app the previously
Add an item to should not be
visible on All state, the added item on
user=standard_user the cart. visible next to the
1 Items page Medium "Remove" option is the All Items
paswrods=secret_sauce Reset the app item on the All
after still visible next to page, even
state. Items page if the
resetting app the item on the All though the item
Observe the All item has been
state Items page, even has been
Items page. removed from the
though the item removed from
cart.
has been removed the cart.
from the cart.

Users should be
Users are unable
Users are unable able to change
to change the
to change the Add a product the quantity of
quantity of the
quantity of a to the cart. the product in the
inability to product. The
product in the add Attempt to add to cart
Change quantity field
user=standard_user to cart section. change the section by either
2 Product High may be non-
paswrods=secret_sauce This prevents users quantity of the directly editing
Quantity in editable or there
from adjusting the product in the the quantity field
Add to Cart may be no
quantity of a add to cart or by providing an
option provided
product they wish section. option to increase
to modify the
to purchase. or decrease the
quantity.
quantity.

3 user=standard_user Static Order Medium The order number Place an order. The same order Each new order
paswrods=secret_sauce Number in displayed in the Note the order number is placed should
Checkout checkout overview number displayed in the generate a unique
Overview remains static and displayed in the checkout order number,
does not change checkout overview for which should be
for each new order overview. both orders reflected in the
placed. This leads Place another placed, checkout
to confusion as order. indicating that overview. This
users may expect a the order ensures clarity
unique order number does not and proper
number for each change with tracking of orders
order they place. each new order. for both users
and
administrators.

The system
The checkout should validate
information the data entered
section accepts in the checkout
incorrect data information
The system
types without Proceed to the section and
accepts the
appropriate checkout display
string value
validation. information appropriate error
entered as the
Specifically, when section. messages when
Acceptance postal code and
a string is provided Enter a string incorrect data
of Incorrect the numerical
user=standard_user as a postal code, it value as the types are
4 Data Types in Low value entered as
paswrods=secret_sauce is accepted, and postal code. provided. It
Checkout the first name or
when numbers are Enter a should reject
Information last name
provided as first numerical value strings entered as
without
name and last as the first postal codes and
displaying any
name, they are name or last numerical values
validation error
also accepted. This name. entered as first
messages.
can lead to data names or last
integrity issues and names to
potential errors in maintain data
order processing. integrity and
accuracy.

Users should not


Users are able to The system be able to
place an order with allows the user proceed with the
an empty cart, Proceed to the to proceed with checkout process
which should not checkout the checkout and place an
be allowed. This process with an process and order if the cart is
Empty Cart leads to orders empty cart. successfully empty. The
user=standard_user
5 Allows Order High being processed Complete the place an order, system should
paswrods=secret_sauce
Placement without any items, checkout despite the cart display an error
resulting in process and being empty. No message or
inaccurate order attempt to validation or prevent the user
records and place the order. warning is given from proceeding
potential confusion to prevent the until at least one
for users. order placement. item is added to
the cart.
All items selected
Not all items
by the user
selected by the
Upon checking should be
user are being Select multiple
the cart, it is successfully
successfully added items to add to
observed that added to the cart
to the cart. This the cart.
not all selected without any
Unable to results in an Verify the
user=problem_user items are added. omissions. The
6 add all Items High incomplete cart, contents of the
paswrods=secret_sauce Some items are cart should
to Cart where certain cart to ensure
missing from the accurately reflect
items are missing, all selected
cart despite the user's
potentially leading items are
being selected selection to
to frustration and added.
for addition. ensure a seamless
incomplete
shopping
purchases.
experience.

The item filtering


feature is not
functioning as The item filtering
The item filtering
expected, Attempt to use feature does not
feature should
preventing users the item produce the
effectively sort
from effectively filtering feature expected results.
and filter items
sorting and to sort or filter Selecting
based on the
filtering items items. different filter
Item Filtering selected criteria.
user=problem_user based on their Select different criteria or sorting
7 Functionality High Users should be
paswrods=secret_sauce preferences. This filter criteria or options does not
Not Working able to see the
impacts the sorting options. affect the items
appropriate items
usability of the Observe the displayed on the
matching their
website and may results website, or the
preferences after
lead to frustration displayed on displayed items
applying filters or
among users who the website. do not match the
sorting options.
rely on filtering to selected criteria.
find specific
products.
After clicking the After adding an The "Remove"
"Add to Cart" Navigate to a item to the cart, button should
button for an item, product listing the "Remove" remain operable
the "Remove" or detail page. button even after an
button associated Click the "Add associated with item has been
with the same item to Cart" button the same item added to the cart.
Remove becomes for an item. becomes Users should be
Button inoperable. Users Attempt to click inoperable. able to remove
user=problem_user
8 Inoperable High are unable to the "Remove" Clicking on the items from their
paswrods=secret_sauce
After Adding remove the item button for the "Remove" cart at any time
Item to Cart from their cart same item in button does not by clicking on the
once it has been the cart. trigger any "Remove" button
added, hindering Observe the action, associated with
their ability to functionality of preventing users the item, ensuring
manage their cart the "Remove" from removing flexibility and
contents button. the item from ease of cart
effectively. their cart. management.

During the The first name


checkout process, and last name
The last name
the last name field fields should
field is
is mistakenly accurately
Proceed to the incorrectly
considered as the capture the
checkout interpreted as
first name, corresponding
process. the first name,
resulting in the user information
First Name Enter the first leading to the
removal of the first without any
and Last name and last removal of the
name field and reversal. Both the
user=problem_user Name name in the first name field.
9 Medium leaving the last first name and
paswrods=secret_sauce Reversed in provided fields. As a result, the
name field empty. last name should
Checkout Observe the first name is not
This leads to be displayed
Information entered displayed, and
incorrect correctly in the
information in the last name
formatting of user checkout
the checkout field remains
information and overview to
overview. empty in the
potential confusion ensure the
checkout
regarding the accurate
overview.
correct order of representation of
names. user data.
The remove
The remove button
button for all
displayed for
items on the All
certain items on For some items
Items page should
the All Items page on the All Items
be functional,
is not functional, Navigate to the page, the
allowing users to
Non- preventing users All Items page. remove button
remove items
functional from removing Identify items does not
from their cart
Remove those items from with the respond when
user=problem_user directly from this
10 Button for Medium their cart directly remove button. clicked. Users
paswrods=secret_sauce page. Consistent
Some Items from the All Items Attempt to use are unable to
button
on All Items page. This the remove remove these
functionality
Page inconsistency in button for each items from their
ensures a
button item. cart directly from
seamless user
functionality may the All Items
experience and
lead to frustration page.
facilitates
and confusion
efficient cart
among users.
management.

When clicking on
When clicking on
Upon clicking an an item or its
an item or its
item or its associated image,
associated image,
associated the user should
the user is directed
Navigate to the image, the user be directed to a
to a page
website. is directed to a page displaying
displaying details
Click on an item page displaying accurate details
Incorrect and images of a
or its associated details and and images of the
Item Details different item
image to view images of a clicked item. The
user=problem_user Displayed on instead of the
11 High its details. different item. displayed
paswrods=secret_sauce Next Page intended item. This
Observe the The displayed information
After Clicking mismatch between
details and information does should
Item/Image the clicked item
images not match the correspond
and the displayed
displayed on originally clicked correctly to the
details can lead to
the next page. item, leading to item clicked,
confusion and
confusion about ensuring users
incorrect product
the product receive the
information for
being viewed. intended product
users.
information.
Each item should
The website Regardless of the
have its unique
displays the same item selected,
and
product image for the website
corresponding
every item, displays the
product image
regardless of the same product
displayed. Users
actual product. Navigate to the image for all
should be able to
This inconsistency website's items. Users
Identical visually
in product imagery product listing cannot visually
Product differentiate
user=problem_user may mislead users or detail pages. distinguish
12 Images Medium between different
paswrods=secret_sauce and hinder their View the between
Displayed for products based
ability to product images different
Each Item on the displayed
differentiate displayed for products based
images,
between items, each item. on the displayed
facilitating
potentially leading images, which
accurate product
to confusion and may lead to
identification and
incorrect confusion about
informed
purchasing the product
purchasing
decisions. being viewed.
decisions.

The About page


should load
The About page of
successfully
the website
without
encounters an When
encountering any
error and fails to attempting to
errors, allowing
load properly load the About
users to access
when accessed. Attempt to page, an error
relevant
This prevents users navigate to the occurs, and the
information about
from viewing About page of page fails to load
user=problem_user Error Loading the website or
13 High essential the website. properly. Users
paswrods=secret_sauce About Page company. Users
information about Observe the are unable to
should be able to
the website or page loading access the
view details such
company, process. intended content
as the company's
potentially and information
mission, history,
impacting their on the About
team, and any
understanding of page.
other relevant
the brand and its
information
offerings.
provided on the
About page.
The "Continue"
The "Continue"
button should
button during the
function
order placement
correctly,
process is non- Proceed to the
Clicking the allowing users to
functional, checkout
"Continue" progress to the
preventing users process.
button does not next step in the
from progressing Fill in the
advance the order placement
Inability to further in required
order placement process after
Continue completing their information for
user=problem_user process. Users entering the
14 Order High order. This disrupts order
paswrods=secret_sauce are unable to required
Placement the checkout placement.
proceed beyond information.
Process process and may Attempt to
this stage, Users should be
lead to abandoned proceed by
preventing them able to continue
purchases, clicking the
from completing with the checkout
impacting user "Continue"
their order. process
satisfaction and button.
seamlessly,
potentially
facilitating the
resulting in lost
completion of
sales.
their order.

15 user=problem_user Incorrect High Clicking on the Navigate to the Upon clicking on Clicking on the
paswrods=secret_sauce Redirect and "Sauce Lab Bolt T- product listing the "Sauce Lab "Sauce Lab Bolt T-
Non- Shirt" product or detail page. Bolt T-Shirt" Shirt" product
functional leads to the display Click on the product, the should lead to the
Remove of the "Sauce Labs "Sauce Lab Bolt image displayed display of the
Button for Onesie" image T-Shirt" corresponds to correct image
Sauce Lab instead of the product. the "Sauce Labs associated with
Bolt T-Shirt correct image. Observe the Onesie" instead that product.
Additionally, the displayed image of the correct Additionally, the
Remove button for and image. Remove button
the "Sauce Lab Bolt functionality of Additionally, the for the "Sauce Lab
T-Shirt" is non- the Remove Remove button Bolt T-Shirt"
functional, button. for the "Sauce should be
preventing users Lab Bolt T-Shirt" functional,
from removing the is non- allowing users to
item from their functional, and remove the item
cart. users are unable from their cart if
to remove the desired.
item from their
cart.

Clicking on the
"Fleece Jacket"
Clicking on the product should
Upon clicking on
"Fleece Jacket" lead users to the
the "Fleece
product results in a correct product
Jacket" product,
redirection to an page displaying
Navigate to the users are
"Item Not Found" the details and
product listing redirected to an
Incorrect page instead of information
or detail page. "Item Not
Redirect to displaying the related to the
Click on the Found" page or
"Item Not details of the fleece jacket.
user=problem_user "Fleece Jacket" encounter an
16 Found" Page High fleece jacket. This Users should be
paswrods=secret_sauce product. error message
When issue prevents able to view the
Observe the indicating that
Clicking on users from product
redirection or the item cannot
Fleece Jacket accessing the description, price,
error message be found. The
desired product and other
displayed. details of the
information and relevant
fleece jacket are
may lead to information
not displayed as
frustration and without
expected.
dissatisfaction. encountering
errors or
redirection issues.

17 user=problem_user Non- High The Remove Navigate to the The Remove The Remove
paswrods=secret_sauce functional button is not product button on the button on the
Remove working on the description product product
Button on product page by clicking description page description page
Product description page on a product. does not should be
Description when users click on Observe the respond when functional,
Page a product. This presence of the clicked. Users allowing users to
prevents users Remove button. are unable to remove items
from removing Attempt to click remove items from their cart
items from their on the Remove from their cart while viewing the
cart while viewing button to while viewing product details.
the product remove the the product Clicking on the
details, impacting item from the details, and the Remove button
the functionality of cart. cart contents should
the cart remain successfully
management unchanged. remove the item
feature and from the cart, and
hindering the the cart contents
user's ability to should be
modify their cart updated
contents. accordingly.

The website
The website is should deliver
experiencing optimal
significant performance with
performance The website fast response
issues, responds slowly times, allowing
characterized by Attempt to to user users to navigate
slow response access various interactions, smoothly and
Website times and overall pages and with delays in interact with
Performance sluggishness. This functionalities page loading, various
user=performance_glitch_user Degradation degradation in on the website. navigation, and functionalities
18 High
paswrods=secret_sauce - Slow performance Observe the functionality without delays.
Response adversely affects response time execution. Users Pages should load
Time user experience, and overall experience quickly, and
leading to speed of the frustration due actions should be
frustration and website. to the sluggish executed
dissatisfaction performance of promptly to
among users the website. provide a
attempting to seamless
navigate the browsing
website. experience for
users.
Product images
and titles
intermittently
become non- Product images
Product images
clickable, and titles should
and titles
rendering users consistently be
intermittently
unable to access Navigate to the clickable, allowing
become non-
product details. product listing users to access
clickable,
Additionally, the or detail pages. product details
Non- preventing users
website is Attempt to click without
clickable from accessing
experiencing on product interruption. The
Product product details.
significant images and website should
user=performance_glitch_user Images and Additionally, the
19 High performance titles to access maintain optimal
paswrods=secret_sauce Titles, website
degradation, product details. performance with
Website experiences slow
characterized by Observe the fast loading times
Performance loading times
slow loading times loading times and responsive
Degradation and
and and navigation,
responsiveness
responsiveness responsiveness ensuring a
issues, impacting
issues. These of the website. seamless
the overall
issues hinder users' browsing
browsing
ability to navigate experience for
experience.
the website users.
effectively and may
lead to frustration
and dissatisfaction.

20 user=error_user Error Medium An error message Navigate to a After selecting a Users should be
paswrods=secret_sauce Message popup occurs page where sorting option, able to select
Popup when attempting item sorting an error message sorting options
Occurs When to sort the items options are popup appears, without
Sorting Items on the website. available. indicating a encountering
This disrupts the Attempt to failure to error messages.
sorting select a sorting execute the The sorting
functionality and option (e.g., A- sorting action. functionality
may confuse users, Z, Z-A, low-high, Users are unable should work as
impacting their high-low). to sort the items intended,
ability to Observe the as intended, and allowing users to
effectively browse response after the error sort items based
and locate desired selecting the message disrupts on their
items. sorting option. their browsing preferences
without
experience. disruptions or
errors.

Users should be
Users are unable
able to add items
to add or remove
Users cannot to their cart and
items from the All
Navigate to the add items to remove them
Items page,
All Items page. their cart or from the All Items
severely impacting
Attempt to add remove them page seamlessly.
the core
Inability to an item to the from the All Clicking on the
functionality of the
Add or cart. Items page. add option should
website. This
user=error_user Remove Attempt to Clicking on the add the item to
21 Critical prevents users
paswrods=secret_sauce Items from remove an item add or remove the cart, and
from adding items
All Items from the cart. options does not clicking on the
to their cart or
Page Observe the trigger any remove option
removing them for
response after action, and items should remove
purchase,
performing remain the item from the
rendering the
each action. unchanged on cart, reflecting
shopping
the page. the changes
experience non-
immediately on
functional.
the page.

22 user=error_user Proceeding High Users are able to Proceed to the Users are able to The order
paswrods=secret_sauce with Order proceed with order order proceed with placement
Placement placement without placement order placement process should
Without Last providing a last section during without enforce the
Name name, which may checkout. providing a last requirement for
result in Enter only the name. The both first name
incomplete or first name system does not and last name
inaccurate order without enforce the fields to be filled
information. This providing a last requirement for out before
inconsistency in name. a last name, allowing users to
data validation Attempt to allowing orders proceed. Users
undermines the proceed with to be placed with should not be
integrity of the order incomplete able to complete
checkout process placement. customer the order
and may lead to information. placement
difficulties in order process without
processing and providing all
fulfillment. required
information,
ensuring accurate
and complete
order records.

Users should be
Proceed After attempting able to
Orders are not
through the to finish and successfully finish
being successfully
order place the order, and place orders
finished and placed
placement users encounter after providing all
on the website,
process, an error or are necessary
preventing users
providing all unable to information
from completing
Failure to necessary successfully during the
their purchase
user=error_user Successfully information. complete the checkout process.
23 Critical transactions. This
paswrods=secret_sauce Finish and Attempt to transaction. Upon completion,
critical issue
Place Orders finish and place Orders are not users should
disrupts the core
the order. processed, and receive
functionality of the
Observe the users do not confirmation of
website and
response after receive successful order
severely impacts
attempting to confirmation of placement, and
users' ability to
complete the successful order the orders should
make purchases.
order. placement. be processed
accordingly.

24 user=error_user Description Medium The product Navigate to the For some The product
paswrods=secret_sauce Not description is not product listing products, the description
Displayed for displayed for some or detail pages. description is not should be
Some products on the Select products displayed on the consistently
Products website, depriving with product listing or displayed for all
users of essential descriptions. detail pages. products on the
information about Observe the Users are unable website,
the products. This display of to access providing users
inconsistency in product essential with essential
displaying product descriptions. information information about
details may lead to about these the products.
confusion and products, Users should be
dissatisfaction affecting their able to access
among users. ability to make detailed
informed descriptions to
purchasing better understand
decisions. the features and
benefits of each
product.

The "Add to Cart"


The "Add to
The "Add to Cart" button should be
Cart" button is
button is not correctly
improperly
correctly positioned on the
positioned on
positioned on the webpage, aligned
Navigate to a the webpage,
webpage due to an with the
product detail possibly due to
Incorrect indentation surrounding
page. an indentation
Placement of problem. This elements and
Locate the "Add issue. Its
user=visual_user Add to Cart discrepancy in clearly visible to
25 Low to Cart" button. placement may
paswrods=secret_sauce Button - button placement users. Proper
Observe the appear
Indentation may lead to indentation
placement of misaligned or
Issue confusion for users ensures the
the button on inconsistent with
trying to add items button's visibility
the webpage. the surrounding
to their cart, and accessibility,
elements,
affecting the facilitating a
causing
overall user seamless
confusion for
experience. shopping
users.
experience.

26 user=visual_user Indentation Low The "Checkout" Proceed to the The "Checkout" The "Checkout"
paswrods=secret_sauce Issue with button is checkout page button is button should be
Checkout experiencing an or cart improperly correctly
Button indentation summary positioned on positioned on the
problem, leading section. the webpage, webpage, aligned
to improper Locate the likely due to an with the
alignment on the "Checkout" indentation surrounding
webpage. This button. issue. Its elements and
inconsistency in Observe the placement may clearly visible to
button placement placement of appear users. Proper
may affect the the button on misaligned or indentation
visual appeal and the webpage. inconsistent with ensures the
user experience of the surrounding button's visibility
the checkout elements, and accessibility,
process. impacting the facilitating a
overall smooth transition
aesthetics and to the checkout
usability of the process.
checkout
process.

The titles of the


products should
The titles of the
be correctly
The titles of the products are
aligned and
products are improperly
spaced on the
experiencing an aligned or
Navigate to a webpage,
indentation spaced on the
page displaying ensuring
problem, leading webpage, likely
product listings consistent
to improper due to an
or details. formatting and
Indentation alignment or indentation
Locate the titles readability.
user=visual_user Issue in spacing on the issue. The
27 Low of the products. Proper
paswrods=secret_sauce Product webpage. This formatting may
Observe the indentation
Titles inconsistency in appear
alignment or ensures that the
title formatting inconsistent or
spacing of the titles are visually
may affect the visually
titles on the appealing and
readability and unappealing,
webpage. easy to read,
visual presentation affecting the
enhancing the
of the product readability of the
overall
information. product
presentation of
information.
the product
listings.

28 user=visual_user Indentation Low The Remove Navigate to the The Remove The Remove
paswrods=secret_sauce Issue with button is cart or product button is button should be
Remove incorrectly detail page. incorrectly correctly
Button positioned, Locate the positioned, positioned within
Placement appearing outside Remove button appearing its designated box
of its designated associated with outside of its or area, ensuring
box or area due to an item. designated box proper alignment
an indentation Observe the or area due to an and visual
issue. This positioning of indentation consistency with
inconsistency in the Remove issue. As a result, surrounding
button placement button relative the button's elements on the
affects the visual to its placement may webpage. Proper
presentation of the designated area appear visually indentation
website and may or box. inconsistent and ensures that the
lead to confusion may not align button's
for users properly with placement
attempting to surrounding adheres to the
website's design
standards and
interact with the elements on the
enhances the
button. webpage.
overall aesthetics
of the page.

Question 02:
Apply different type of black box techniques on same buggy website to create some test suites.

Answer:

Test cases:

Project Name: Swaq labs


Project Starting Date: 4/4/2024
Project Tester Name: Wajeeha

Test Case No Test Case Steps Actual Result Expected Result Status
1. Navigate to
the login page. 2.
Valid Enter a valid
Username username. 3.
1 Successful Login Successful Login Pass
and Valid Enter a valid
Password password. 4.
Click on the login
button.

2 Valid 1. Navigate to Failed Login Failed Login Fail


Username the login page. 2. (Incorrect (Incorrect
Enter a valid
username. 3.
and Invalid Enter an invalid
Password) Password)
Password password. 4.
Click on the login
button.
1. Navigate to
the login page. 2.
Invalid Enter an invalid
Failed Login Failed Login
Username username. 3.
3 (Incorrect (Incorrect Fail
and Valid Enter a valid
Username) Username)
Password password. 4.
Click on the login
button.
1. Navigate to
the login page. 2.
Invalid Enter an invalid Failed Login Failed Login
Username username. 3. (Incorrect (Incorrect
4 Fail
and Enter an invalid Username and Username and
Password password. 4. Password) Password)
Click on the login
button.
1. Navigate to
the login page. 2.
Empty Leave both
Failed Login Failed Login
Username username and
5 (Username and (Username and Fail
and password fields
Password Empty) Password Empty)
Password empty. 3. Click
on the login
button

6 Change 1. Navigate to Items successfully Items successfully Pass


Quantity of the product added to cart but added to cart and
page. 2. Add the
product to the
cart. 3. Change
Added quantity can't be
the quantity of quantity changed
Product changed
the added successfully
Item successfully
product item. 4.
Verify the
changes.
1. Navigate to
the product Product
Product Product description
7 page. 2. Verify description Pass
Description displayed correctly
the product displayed correctly
description.
1. Navigate to
the product Item successfully
Item successfully
page. 2. Add the added to cart but
Remove added to cart and
8 product to the can't be Pass
from Cart then successfully
cart. 3. Remove successfully
removed
the product from removed
the cart.
1. Navigate to
the product
Unable to page. 2. Add the
Item successfully Item successfully
Remove product to the
9 added to cart and added to cart and Fail
product cart. 3. Attempt
unable to remove unable to remove
Description to remove the
product from the
cart.

1. Navigate to
the product Item successfully Item successfully
Unable to
page. 2. Add the added to cart and added to cart and
10 Change Fail
product to the unable to change unable to change
Quantity
cart. 3. Attempt quantity quantity
to change the
quantity of the
added product
item.
1. Navigate to
the product
Items Not page. 2. Attempt
Item not added to Item not added to
11 Added to to add the Fail
cart cart
Cart product to the
cart with a
quantity of 0.
1. Navigate to
Error
the product Error message Error message
Message for
page. 2. Verify displayed for displayed for
12 Invalid Fail
the product invalid product invalid product
Product
description for description description
Description
invalid input.

1. Navigate to
the checkout
page. 2. Enter a
Enter Valid
valid first name.
First Name,
3. Enter valid last Successful Successful
13 Valid Last Pass
name. 4. Enter Submission Submission
Name, Valid
valid postal
Postal Code
code. 5. Click on
the submit
button.

Enter Valid 1. Navigate to


First Name, the checkout Failed Submission
Valid Last page. 2. Enter string postal code
14 (Invalid Postal Fail
Name, valid first name. accepted
Code)
Invalid 3. Enter valid last
Postal Code name. 4. Enter
invalid postal
code. 5. Click on
the submit
button.
1. Navigate to
the checkout
page. 2. Enter
Enter Valid
valid first name.
First Name, Failed Submission
3. Enter invalid Numeric Last name
15 Invalid Last (Invalid Last Fail
last name. 4. accepted
Name, Valid Name)
Enter valid
Postal Code
postal code. 5.
Click on the
submit button.
1. Navigate to
the checkout
page. 2. Enter
Enter Invalid
invalid first
First Name, Failed Submission
name. 3. Enter Numeric First name
16 valid Last (Invalid First Fail
valid last name. accepted
Name, Valid Name)
4. Enter valid
Postal Code
postal code. 5.
Click on the
submit button.
17 Failed 1. Navigate to Failed Submission Failed Submission Fail
Submission the checkout (Invalid First Name, (Invalid First
(Invalid First page. 2. Enter Last Name, and Name, Last Name,
Name, Last invalid first Postal Code) and Postal Code)
Name, and name. 3. Enter
Postal Code) invalid last
name. 4. Enter
invalid postal
code. 5. Click on
the submit
button.

1. Navigate to
the webpage
with the side Correct menu
Menu Item Menu items are
18 menu bar. 2. items are not Pass
Visibility visible
Observe the visible
visibility of menu
items.
1. Navigate to
the webpage
with the side Correct menu
Menu Item Menu items are
19 menu bar. 2. not items are not Fail
not Visibility not visible
Observe the visible
visibility of menu
items.
1. Navigate to
the webpage
with the side
Menu Item All menu items are All menu items are
20 menu bar. 2. Pass
Accessibility accessible accessible
Attempt to click
on each menu
item.
1. Navigate to
the webpage
with the side Some menu items Some menu items
Menu Item
21 menu bar. 2. are accessible, and are accessible, and Fail
Accessibility
Attempt to click some are not some are not
on each menu
item.

22 All Product 1. Navigate to All products are All products are Pass
Visible the "All Items" visible visible
page. 2. Check if
all products are
visible.
1. Navigate to
Can Direct the "All Items"
Can direct to the Can direct to the
to page. 2. Click on
23 description page of description page Fail
Description each product to
another product of each product
Page direct to its
description page.
1. Navigate to
the "All Items"
Add to Cart Some products can Some products can
page. 2. Click on
24 Button be added to the be added to the Fail
the "Add to Cart"
Working cart, some cannot cart, some cannot
button for each
product.
1. Navigate to
the "All Items" Some products can Some products can
Remove
page. 2. Click on be removed from be removed from
25 Button Fail
the "Remove" the cart, some the cart, some
Working
button for each cannot cannot
product.

Decision table testing:


Pairwise testing:

login page:
Valid Username & Valid Password:
Username: standard_user
Password: secret_sauce
Valid Username & Invalid Password:
Username: standard_user
Password: incorrect_password
Invalid Username & Valid Password:
Username: invalid_username
Password: secret_sauce
Invalid Username & Invalid Password:
Username: invalid_username
Password: incorrect_password
Empty Username & Valid Password:
Username: (empty)
Password: secret_sauce
Valid Username & Empty Password:
Username: standard_user
Password: (empty)
Empty Username & Empty Password:
Username: (empty)
Password: (empty)

Checkout your information:


Valid First Name & Valid Last Name:
First Name: Wajeeha
Last Name: Shafique
Postal Code: (empty)
Valid First Name & Valid Postal Code:
First Name: Wajeeha
Last Name: (empty)
Postal Code: 2378
Valid Last Name & Valid Postal Code:
First Name: (empty)
Last Name: Shafique
Postal Code: 2378
Valid First Name, Valid Last Name, and Valid Postal Code:
First Name: Wajeeha
Last Name: Shafique
Postal Code: 2378
Empty First Name & Valid Last Name:
First Name: (empty)
Last Name: Shafique
Postal Code: (empty)
Empty First Name & Valid Postal Code:
First Name: (empty)
Last Name: (empty)
Postal Code: 2378
Empty Last Name & Valid Postal Code:
First Name: (empty)
Last Name: Shafique
Postal Code: 2378
Empty First Name, Empty Last Name, and Valid Postal Code:
First Name: (empty)
Last Name: (empty)
Postal Code: 2378
Valid First Name, Empty Last Name, and Empty Postal Code:
First Name: Wajeeha
Last Name: (empty)
Postal Code: (empty)
Empty First Name, Valid Last Name, and Empty Postal Code:
First Name: (empty)
Last Name: Shafique
Postal Code: (empty)

You might also like