Sample Test Cases
Sample Test Cases
– Website Search Bar location is very essential. Usually it is in the Header section on top
right portion of the screen.
– Look & Feel and Size of the Search Box. Is it attractive and engaging enough to make
you perform a search instead of roaming on website pages?
– Is Placeholder text(displayed within the search box and disappear when you start
typing) is enabled?
– Is font family used in search keyword matching overall theme and layout?
– How smoothly it populates the list of suggestions as you starts typing into the search
box?
– Are the suggestions properly updated when you enter / remove a keyword?
– Are the suggested results relevant to the keyword you are typing?
– What happens when you click on any suggestion? Is it redirecting to proper result page?
– How can you access advance search window? Is it feasible and user friendly?
– What are the options and extra features it provides? Are all the features working
properly and producing appropriate search results?
– Combination of different search criteria must produce proper results. Same applied for
individual selection.
– Searching through Advance features should not populate 0 Result. If there is a case, that
particular criteria should be hidden.
Search Results
– What happens when you click Search button without entering any keyword?
– Does the search box keeps the history of previously searched keywords?
– Are you getting the proper result for what you have searched?
– In which order the search result is organized? Can you change the order?
– There must not be any discrepancy in result when searching with same keyword
multiple times.
– How good is the performance of rendering results for most frequently used search
keywords?
– What happens when you search with a keyword that does not produce any result? There
must be a page showing you proper message with a box to search again.
– How feasible it is for user to navigate back to same search result page after clicking on
any result link?
Responsive is Must
– Are you able to see each and every feature of Search in responsive mode?
– All the images and visuals in Search result should be properly displayed in responsive
screen.
Test Cases of Google Search
a. A-Z
b. a-z
c. 0-9
e. Blank spaces
1. Note down the valid input details for the search feature.
a. A-Z
b. a-z
c. 0-9
e. Blank spaces
c. Special set like a* should give the results for all characters
starting with a.
d. Enter any sql query like “Select * from hello;” without quotes and
with quotes.
8. Try searching in the page where a part of the page has form with
Submit button.
DO not ignore the search results just because you got the results.
1. Check number of results in each page.
5. Each search result should contain one link and few lines
containing the searched keyword. Link should navigate to the page
where the keyword exists.
10. Pagination should be enabled when there are more results than
the default result count per page
11. Check for Next, Previous, First and Last page pagination
functionality
13. Check if all columns are visible and horizontal scroll bar is
enabled if necessary
14. Check data for dynamic columns (columns whose values are
calculated dynamically based on the other column values)
15. For result grids showing reports check ‘Totals’ row and verify
total for every column
16. For result grids showing reports check ‘Totals’ row data when
pagination is enabled and user navigates to next page
17. Check if proper symbols are used for displaying column values
e.g. % symbol should be displayed for percentage calculation
While explaining this to him, it struck me that, UX testers often invest time and efforts to test some of the most complex scena
Login Scenarios:
5. Reset button should clear data from all the text boxes in
the form
Security:
Session:
Browser:
Is Site Search
Suggestions Enabled?
– Is your website search having auto
suggest feature?
Search Results
Responsive is Must
– Are you able to see each and every
feature of Search in responsive mode?
Required Fields - If the screen requires data entry on a specific
field, it is good practice to identify the required fields with a red
asterisk and to give a friendly warning if the data is left blank.
Delete Confirmations - If a person deletes an item, it is a good
idea to confirm the delete. However, if your user interface allows
deleting several records in a row, in some cases you might
consider allowing them to ignore the confirmation as it might get
frustrating to click the confirmation over and over again.
Verify the product QTY field when the product is out of stock.
Verify that the user is able to add a text note for all products.
Verify that the user is able to add any or all products to his
wishlist by clicking on the wishlist link.
Verify that the user is able to mark his order as a gift.
Verify that the user is able to add any a gift message.
Verify that the user is redirected to the checkout page after
clicking on the checkout button.
Verify the cart total when the exclusive tax is enabled from
the admin end.
Verify the cart total when the inclusive tax is enabled from the
admin end.
Checkout flow:-
Ensure that user can access the Checkout Page only after
adding the product to the cart.
User Name
First Name
Last Name
Password
Confirm Password
Email Id
Phone number
Date of birth
Gender
Location
Terms of use
Submit
Login (If you already have an account)
Test Scenarios of a Registration Form:
1. Verify that the Registration form contains Username, First Name,
Last Name, Password, Confirm Password, Email Id, Phone number,
Date of birth, Gender, Location, Terms of use, Submit, Login (If you
already have an account)
2. Verify that tab functionality is working properly or not
3. Verify that Enter/Tab key works as a substitute for the Submit
button
4. Verify that all the fields such as Username, First Name, Last Name,
Password and other fields have a valid placeholder
5. Verify that the labels float upward when the text field is in focus or
filled (In case of floating label)
6. Verify that all the required/mandatory fields are marked with *
against the field
7. Verify that clicking on submit button after entering all the mandatory
fields, submits the data to the server
First Name
Last Name
User Name
Email ID
Phone Number
Password
Confirm Password
Address
Gender
The fields may also vary according to your registration process. I have
tried to cover the maximum possibilities for a sign-up page.
WorkFlow of Testing a Sign-Up Page
1. Enter the necessary fields: Name, Email ID, Password, Confirm
Password
2. Validate the fields:
Email
Password: Should have 8 to 16 characters, must contain one
special character, at least one uppercase character, and have a
numerical.
Phone number: Country code is required, only numbers are
allowed.
3. Verify the email ID: Send verification to the entered Email ID
after a successful validation
4. * should be there on the mandatory fields.
APIs Issues in a Sign-Up Page
The major challenge you’ll face here is to test all possible scenarios
for all the possible combinations of browsers, devices, and OSes.
Because as we know that the sign-up process makes use
of APIs and API compatibility in browsers needs to be taken care of.
So, many times, you’ll find that your sign up is working on a browser
but when a user tries to do the same from any other browser or
device it will fail.
So, authentication will fail on browsers like IE, older edge versions,
older Chrome, and Firefox versions, Safari, iOS Safari, Opera Mini, UC
Browser, and Samsung internet. So, if a user tries to sign up using this
browser, they will not be able to finish it off. So, you need to test for
these browsers and make sure that the authentication works on all
browsers.
So, you need to test the payment process for all browsers.
Animations API for a Sign-Up Page
Check all required fields by entering the data and validating. Upon
entering the all required fields User should be signed up, a
successful registration message should be sent along with a mail.
Optional Fields
Check all optional fields by entering the data and a successful
registration should happen.
Check all optional fields by not entering the data, and again, the
user should be successfully registered without asking for the
optional fields.
Check by filling some optional fields and leaving some, and the
user should be successfully registered without asking for the
optional fields.
Email Validation
Test for some invalid emails with cases like: without @, without(.),
without a domain, and without alphabets before @. In such cases,
the user should be prompted to enter a valid email address and
the user shouldn’t be signed up.
Test for valid email addresses by entering valid email addresses
and then click on sign-up. The user should be registered
successfully.
Test for valid but already existing email address. The user should
not be signed up and prompted to log in instead.
Phone Number Validation
Test for non-numeric inputs by entering some alphabets or special
characters. Since it’s a number field, it should show an error and
ask the user again to enter the correct phone number.
Test for numeric inputs by entering a valid number and clicking on
sign-up. The user should be registered successfully.
Test for input with country code applied by entering a number
starting from + followed by dial code. The user must not get any
error message on that.
Password Validation
Check the password for less value than the minimum characters
specified. Enter a password of fewer than 8 characters and then
click on sign up. The user should see a message to enter a value
between 8 to 16 characters and shouldn’t be signed up.
Check the password for more value than the maximum characters
specified. Enter a password of more than 16 characters and then
click on sign up. The user should see a message to enter a value
between 8 to 16 characters and shouldn’t be signed up.
While testing drop-down it is of foremost importance that you ensure the design of the drop-down on all browsers.
compatibility testing is an important factor, since the design/alignment of the drop-down may change on various b
which is a commonly noted issue. Since drop-down is a simple and common feature that we come across on a
websites, I hope this article will help you. Feel free to contribute your suggestions. If you have additional test cases
topic, do contribute. Enjoy testing:)
Test Cases for sliders.
Slider Testing.
Following are the test cases to be considered while testing slider.
Ensure the design of the slider on all browsers (browser compatibility).
Ensure the smoothness and automatic loading of the slides.
Ensure that the slider are getting loaded (manually) when the user clicks the
right arrow on the slides.
Ensure the order of the slider images.
Ensure whether the slides can be clicked and thumbnail is getting displayed
on mouse overing.
Ensure whether five buttons (the number is as per the requirement)
corresponding to each slideshow image is displayed below the slideshow (to
the right).
Ensure whether on clicking each button, the corresponding slideshow image
is displayed.
Ensure whether each button below the slideshow is highlighted when the
corresponding image is loaded.
Ensure whether the time interval of slideshow is same for all the images.
Note: all returns must include your assigned Return Authorization number
If you return a product purchased using a promotional discount, your refund will
equal the amount you paid for the product.
If you return a product purchased using a bundle promotional discount you must
return all items in the bundle to receive a full refund, and your refund will equal
the amount you paid for the product bundle. If the complete bundle is not
returned, your refund will equal the amount your paid for the product bundle less
the MSRP of the item(s) not returned.
Cancellation Policy
Our system is designed to fulfill orders as quickly as possible. As a result, we
cannot cancel or change an order once it has entered the shipping process and is
"in progress."
Test Scenarios of a Registration Form:
1. Verify that the Registration form contains Username, First
Name, Last Name, Password, Confirm Password, Email Id,
Phone number, Date of birth, Gender, Location, Terms of use,
Submit, Login (If you already have an account)
2. Verify that tab functionality is working properly or not
3. Verify that Enter/Tab key works as a substitute for the Submit
button
4. Verify that all the fields such as Username, First Name, Last
Name, Password and other fields have a valid placeholder
5. Verify that the labels float upward when the text field is in
focus or filled (In case of floating label)
6. Verify that all the required/mandatory fields are marked with *
against the field
7. Verify that clicking on submit button after entering all the
mandatory fields, submits the data to the server