0% found this document useful (0 votes)
19 views11 pages

Test Cases - Examples_3

The document outlines comprehensive test cases and scenarios for various input fields including text boxes, email fields, search boxes, dropdowns, mobile number fields, password fields, and profile functionalities. It includes both positive and negative test cases to ensure proper validation and functionality of each field, as well as user interactions such as copy-pasting and error handling. Additionally, it covers specific cases for dynamic dropdowns, forgot password functionality, delete actions, and profile photo uploads.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views11 pages

Test Cases - Examples_3

The document outlines comprehensive test cases and scenarios for various input fields including text boxes, email fields, search boxes, dropdowns, mobile number fields, password fields, and profile functionalities. It includes both positive and negative test cases to ensure proper validation and functionality of each field, as well as user interactions such as copy-pasting and error handling. Additionally, it covers specific cases for dynamic dropdowns, forgot password functionality, delete actions, and profile photo uploads.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Test cases and Scenarios for Text boxes and text area

• Check for the alpha characters or alpha numeric characters.


• Check for alphabet is accepted in upper and lower case both.
• Check the mandatory condition for the text box if given.
• Check the text box is blank or not by default.
• Check Max-Min character limit of text box.
• Check for numeric characters only.
• Check by entering ”HTML tag” and click save button.
• Check by entering “Java Script” and click save button.
• Check by entering “Spaces” in the prefix and suffix of the entered character-Trimming of space.
• Check Copy and Paste long texts from word or notepad.
• Check the height and alignment of text boxes are same throughout the site.
• Check drag and drop image in text box.
• Check text box except only spaces as input.
• Check the zip code text field with string instead of numbers.
• Check the zip code text field with numbers shorter than required.

Other test cases for text field


• Verify the Maximum Character Limit For the text box.
• Verify the minimum Character Limit of Text field.
• verify the Text Box By entering the more than allowed value.
• verify the Text field By entering the Less than allowed value.
• Verify the text box By entering the Number
• Verify the text filed by entering the decimal value
• Verify the Text box by entering the Special char .
• Verify that the able to enter the alpha bate value in text field
• Verify that able to enter the alpha bate in Both Upper and lower case in Text field.
• Verify that the able to enter only Specify value in text box
• Verify that able to Copy the Value From the text box.
• Verify that able to paste the value in text Filed .
• Verify that the space Button Working in Text Box.
• Verify the able to select the text box from the Key Board "tab " Button.
• Verify that the cursor Blink or not When click in Text Box.
• Verify the value visible to the or not when type in text filed.
• verify the able to select the value for key board (ALT+A) from the Text box .
• Verify the text box place holder visible or not .
• Verify the text field by entering the HTML tag.
• Verify the Text Filed By entering the Java script.

Test Cases For Email id Field

Positive Test Cases for email id field

• Verify the field by entering the valid email address.


• Verify the field With Email contains dot in the address field
• Verify With Email contains dot with subdomain
• Verify the email id filed With Plus sign is considered valid character.
• Verify With Square bracket around IP address is considered valid.
• Verify the email id filed With Quotes around email is considered valid
• Verify email id field With Digits in address are valid
• Verify email id With Digits in address are valid
• Verify the email id filed With Underscore in the address field is valid
• Verify the email id filed With .name is valid Top Level Domain name
• Verify With Dot in Top Level Domain name also considered valid (use co.jp as example here)
• Verify With Dash in address field is valid

Negative Test Cases for email id field


• Verify the email id filed With Missing @ sign and domain
• Verify the email id text box With Garbage
• Verify the email id filed With Missing username
• Verify the email address field With Encoded html within email is invalid
• Verify the email id field With Missing @
• Verify the email id filed With Two @ sign
• Verify the email id text box With Leading dot in address is not allowed
• Verify the email id filed With Trailing dot in address is not allowed
• Verify email address field With Multiple dots
• Verify the email id filed With Unicode char as address
• Verify the email id text box With Text followed email is not allowed
• Verify the email id text box With Missing top level domain (.com/.net/.org/etc)
• Verify the email id filed With .web is not a valid top level domain
• Verify the email id text box With Invalid IP format
• Verify the email id text box With Multiple dot in the domain portion is invalid

List of Valid Email Addresses


List of valid email given below.
• email@example.com
• firstname.lastname@example.com
• email@subdomain.example.com
• firstname+lastname@example.com
• email@123.123.123.123
• email@[123.123.123.123]
• "email"@example.com
• 1234567890@example.com
• email@example-one.com
• _______@example.com
• email@example.name
• email@example.museum
• email@example.co.jp
• firstname-lastname@example.com
• List of Strange Valid Email Addresses
• much.”more\ unusual”@example.com
• very.unusual.”@”.unusual.com@example.com
• very.”(),:;<>[]”.VERY.”very@\\ "very”.unusual@strange.example.com

List of Invalid Email id

• plainaddress
• #@%^%#$@#$@#.com
• @example.com
• Joe Smith <email@example.com>
• email.example.com
• email@example@example.com
• .email@example.com
• email.@example.com
• email..email@example.com
• あいうえお@example.com
• email@example.com (Joe Smith)
• email@example
• email@-example.com
• email@example.web
• email@111.222.333.44444
• email@example..com
• Abc..123@example.com
• List of Strange Invalid Email Addresses
• ”(),:;<>[\]@example.com
• just”not”right@example.com
• this\ is"really"not\allowed@example.com

Test Cases for Search box


• Without entering anything in search box click on Search button.
• Check the cross or cancel option to clear the search keyword
• Click in the search field and press Enter key.
• Enter any one character in search box and click on Search button/press Enter key.
• Enter only special characters in search field and click on Search button.
• Enter only numbers in search filed and click on Search button
• Enter alphanumeric characters in search box and click on Search button
• Enter alphanumeric characters and special characters and click on search button.
• Enter string more than the max char limit of the search field.
• Enter string in search box with spaces (before string, after string and in between) and verify the
results.
• Verify this on all pages where Search box is available
• Try to drag and drop image or other file in search box and check the result
• Check if search is applied on water mark updated in search box
• Check whether auto suggestion is working or not

Test Cases and Scenarios for drop down
• Verify that the Drop down is Clickable or Not .
• Verify that the When Click on drop down then the Dropdown list Showing or Not .
• Check the design of the drop-down and verify the alignment of drop down with other web
element in all browser .
• Check that the drop-down accommodates the longest text within its boundary.
• Check that the drop-down can be scrolled down on clicking the down arrow.
• Check the title of drop down is as per SRS .
• Check that the default item is getting displayed on drop down when the user first visits the page.
• Check that if select the drop down by down arrow key then all items are getting listed in its
expected order.
• Check the spelling, font and style of the text inside the drop-down are as per SRS.
• Check that on clicking the categories on dropdown, the page displays the corresponding items.
• Check that the selected category on drop down list is getting highlighted on selecting the item.
• Check that how much time taking the drop down in loading the items under each category.
• Verify that the User able to Select the Drop down by "tab" key form the keyboard.
• verify that If the list (of items) of this drop-down is controlled by some other selection (say in
another drop-down or check-box, radio-button) then Check the correctness of the items in this
drop-down.
• verify that If the selection in this drop-down is controlling some other control (say,
enabling/disabling etc) then check the proper action.
• Check that on pressing an alphabet on the keyboard, categories in drop down starting with that
alphabet is getting highlighted.
• Check that the user is able to select the categories/items from the drop down list by pressing the
down key on the keyboard.

Test Cases For Dynamic Dropdown

Example - We have Consider (State & City) dropdown example to explain in Details , Here in city
dropdown value will display on selection of state .
• Verify the city dropdown without selecting state .
• Verify the City dropdown by selecting the state .
• Check the value in city dropdown getting bind accordingly or not .
• Check that user able to select the value from city dropdown
• Verify that when user select value from city dropdown and unselect the state.
• Verify the default value for city dropdown
• Check that selected value in city dropdown getting unselect or not when user unselect the state
dropdown .

Test Cases For Mobile Number field


• Verify the mobile number text field by entering the valid 10 digit mobile number
ie."9878775858".
• Verify the mobile number field by entering the Less than 10 digit mobile number
ie."898585858".
• Verify the mobile number field by entering the more than 10 digit mobile number
ie."58585858585".
• Verify the mobile number field by entering the blank space between the number ie."8585 85858"
• Verify the mobile number text field by copy and pasting mobile number .it must be copy and
paste in text box.
• Verify the mobile number field by entering the 10 "Zero" in text box ie."0000000000"
• Verify the mobile number field by entering only 10 blank space .
• Verify the mobile number field without entering any value.
• Verify the mobile number field by entering the special character
• Verify the mobile number field by entering the character value.
• Verify the mobile number field by entering the "0" at initial.

Other Test Cases For Mobile Number Text Box .(As per SRS)
• Verify the asterisk symbol for mobile number if field is mandatory field
• Verify the alert message when user click on save without entering the value in mobile number
text box while it is mandatory field.
• Verify the alert message when user enter wrong data in mobile number field.(Eg. Less mobile
Number , mobile number with character and special symbol ,Blank field, etc.)
• Verify the place holder for the mobile number text box

Test Cases For Password Field


• Check that user able to enter the password in text box
• Check that when user type the password it get encrypted or not .
• Check the password filed by entering the space .
• Check the data type for the password field (Whether it accept alphabet , numeric , and special
char depends on customer requirement)
• Check the alert message when has not entered the password as per requirement.
• Check that if there is any progress bar (weak , medium , strong )
• Check that user able to paste in password filed .
• Check the max char limit for the char fields .
• Check the functionality of view icon (if password filed have , verify that clicking on view icon
password getting display )
• Check the asterisk symbol for password filed , if it is mandatory field.
• check the alert message When user leave the password field blank
Test Cases for Forgot Password
• Check if the forgot password option is shown right after the wrong password is entered.
• Verify if the forgot password link is working correctly and landing on the correct page.
• Check if the forgot password link is directed to the right page (i.e. forgot password page).
• Verify if the link to change the password is sent to the user’s email id only.
• Verify if the security questions asked are the same as the user entered during sign up.
• Check if a wrong answer is entered to any security question, it should not proceed to the next
question.
• Verify if the new password matches with required specifications for characters (e.g. special
characters, upper case characters, numerics, etc.)
• Verify if the login is possible with the newly changed password.
• Check if the link gets dissolved once the user has set a new password.
• Check if the link is live/applicable for one-time use only.
• Verify that the link is working only for a specified amount of time and then shows a time-out
message.
• Verify that the user should not be allowed to request forgot password frequently.

Test cases for delete functionality


• Check the icon name when user hover the mouse on delete icon from the action column.
• Check that user able to click on delete icon or button
• Check that pre-Confirmation message showing or not when user click on delete icon .
• Check that when user Click on Yes button then the record get delete and confirmation message
showing or not .
• Check that When user click on No button from the pre-confirmation window then the page
redirect to manage screen or not .
• Verify the Confirmation message .
• Check that record get deleted or not .
• Check the Spelling mistakes in confirmation message.
• Check the Positioning of pre- confirmation message .
• Check the button in Pre-confirmation message .

Test Cases for Profile Page


• First , Verify that system redirecting user to valid page or not when user click on profile icon or
link or Button .
• Check that GUI of profile page showing as per requirement or not .
• Check that basic profile requirement like - Profile name , Profile Photo , personal info etc.
Showing or not.
• Check that user able to update profile details like Profile photo , Name .
• Check that updated details showing or not when user refresh the page .
• Check that user system redirecting user to valid page or not when user click on link available on
profile page .
• Check that cover photo showing properly or not ( if available )
• Check that User able to update the cover photo or not .
• Check that all the element of profile page align properly .

Test Cases for Profile photo Upload


• First , Verify that user able to click on photo upload icon or not .
• Check that system redirect user to valid path or not .
• Verify that user able to pre-verify the selected file or not .
• Verify that user able to upload profile photo by uploading valid file .
• Verify that uploaded photo updated or not .
• Verify that user able to set the photo in frame by dragging on photo .
• Verify that user able to crop the photo -if crop feature available
• Verify the cancel button functionality .
• Verify that pre-Confirmation showing or not when user click on upload button .
• Verify the beauty filter working or not - If available
• Verify that when try to update profile by selecting invalid file.
• Verify the Extension validation (system accepting only specify extension or not )
• Verify the File size limit - (System accepting the file accordingly or not )
• Check that when user try to upload multiple photo .

What is tooltip ?

A tooltip is a common graphical interface element in which information about that element(link ,
image , etc) display when user hover the on that tooltip.
• Verify the icon of tooltip.(for some case)
• Verify that text or information about element showing or not when user hover the mouse on
tooltip icon.
• Verify the information as per requirement or not .
• verify that information about element get hide or not when user un-hover the mouse from that
element.
• Verify the cursor icon when user hover the mouse on that element .
Test Cases for Google Search
• Verify the search box clickable or not
• verify that user able to enter the keyword in google search box or not .
• Verify that user able to enter alphabet , Numeric , special char in google search box or .
• Verify that user able to copy and paste keyword in google search box or not .
• Verify that when user enter keyword in search box and click on search button , then the response
fetched for particular keyword are valid or not .
• Verify the response showing in valid order or not (means most relevant result for the keyword
are displayed on top of page ).
• Verify the search result when user enter single keyword and click search
• Verify the search result when user enter multiple keyword and click on search button .
• Verify the search result when user click on search without entering any keyword .
• Verify the auto search , when user enter a keyword then system showing auto suggestion
keyword accordingly or not.
• Verify the search result when user enter special char , alphanumeric keyword .
• Check that misspelled keyword get correct automatically and response corresponding to the
correct keyword showing or not .
• Check the total number of result for a keyword .
• Verify that "No result found " message showing or not when user enter invalid keyword and
click on search button .
• Verify the search result when user enter keyword in upper and lower case ."eg.QA acharya"
• Verify the time take to fetch the result for a keyword.
• Verify the search result by entering keyword in different languages .
• Verify the search result when user enter large keyword .

Test Cases for Radio Button


• Verify that the radio button selectable through the keyboard "Tab" button.
• Verify that the on selection of radio button respective web element (text box ,drop down ..etc)
open or not.
• Verify that page redirect to expected page or not when click on submit button by selecting the
radio button .
• Verify that the alignment of radio button in all browser.
• Verify the label properly align with the radio button or not.
• Verify the selection of radio button through the "tab" button.
• Verify the multiple selection of radio button.
• Verify the functionality of radio button on single selection.
• Verify the functionality of radio button without selection.
• verify the Alert message for radio button if it is mandatory field and user click on submit without
selecting.
• Verify that selection of radio button get disable when page getting load .
• Verify the order of radio button.
• Verify that radio button properly visible to user when it is selected.
• Verify the height width and length (CSS) are as per SRS.
• Verify the initial focus of radio button.
• Verify the Default Selection of radio button.
• Verify that the radio button selectable / Unselectable or not by clicking through the mouse .

Test Cases For Check Box


• Verify that the check box selectable / Unselectable or not.
• Verify the multi check box selection , able to select or not .
• Verify the alignment of check box proper or not in all browser.
• Verify the label for check box properly align or not.
• Verify the selection of check box through the keyboard "Tab " button.
• Verify that respective web element display or not on selection of check box.(As per SRS).
• Verify that on pressing of submit button with selection of check box , it Redirect to the page as
per requirement or not.
• Verify the functionality of check box by selecting the multiple check box.
• Verify the functionality of check box by selecting the single check box.
• Verify the functionality of check box without selecting the any check box.
• Verify that proper alert message for check box showing or not if it is mandatory field, when user
click on submit button without selecting the check box.
• verify that selection of check box get disable or not during the page loading.
• Verify the Order of check box are as per SRS.
• Verify checkbox location physically in term of height length width are same in all plate from .
• verify the Tick on check box properly visible to user or not.
• Verify the initial focus of check box(initial focus must be on first check box).
Test Cases/Scenarios for Buttons–

Submit button :

• verify that button is clickable or not.


• Check that when user click on submit button without entering data in mandatory filed then error
message for mandatory field showing or not .
• Check that page redirect to the expected page or not when user enter the valid data in all the fields.
• Check the button size /color as per requirement or not .
• Check that button name showing as per requirement or not.

Reset Button :

• verify that button is clickable or not.


• Check that when user click on rest button all the entered data in fields get clear or not .
• Check that when there is no data in the field and click on reset button .
• Check that when user edit the page and click on reset button .
• Check the button size /color as per requirement or not .
• Check that button name showing as per requirement or not.

Cancel Button :
• verify that button is clickable or not.
• Check that when user click on cancel button then window get closed or not
• Check the button size /color as per requirement or not .
• Check that button name showing as per requirement or not.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy