Gems
BAN USERTest Cases for Amazon Search Button :
Functional Testing : Expected
- enter valid product name - it should show result with the given product name
- enter nothing/ press search button - it should show same page
without entering anything
- typing any single character, list of - it should show list of product suggestion product suggestion starting with particular character
- type any single character, number of - 10 rows shoud be shown in dropdown list
rows in dropdown list
- type any single character, select - user should be able to select a product from drowdown
product list
- type any two character - user should be able to see updated list with product
starting from given two character
- same word enter multiple times - it should load result with product containing given
text
- enter random character - it should load result page with error message
- enter a long string under 650 character - it should load result page
-combination of character & number, valid - it should load result page with product name containing
product name character & number
- combination of character & number, invalid - it should load error message or suggestion(as per req.)
product name
- combination of alphanumeric character - it should load result page (as per requirement)
- combination of string, character, number - it should load result page (as per requirement)
- select a department, type a available product - it should show first product name in dropdown list from selected
name from that department department
- select a department, start typing a valid - it should show the product name in
product name from another department dropdown list
- copy text in search box - should be able to copy text.
- paste text in search box - should be able to paste text.
- a user logged in from different devices - result page should be same for user
search for same product
- search a product with different user account - should be able to see same search result page
- search a product in multiple tab with a user - should be able to see same search result page
account
- select a country, search a valid product name - result page should display product containing given name
in English language
- select a country, search valid product name - should show result containing given product name
in their native language
- logged in with different locale and search - should show result page with product in top on list
for valid product name
- hovering over to search button - cursor/arrow should convert to hand shape
- hover to department section - should show tool tip as "Search in"
- sroll button in department section - should scroll as per selection of department.
- select a department from dropdown list - should show selected department as highlighted.
- enter text, change and select deparment - should show cursor next to last character
- department block size, while selecting - should change size of partition of department size as per text
different department name
- submit text by clicking search button - should be able to submit text
- submit text from keyboard - should be able to submit text
- type text, refresh page - text should remain
- refresh page - search box should be same, department should be All
Mobile Application Testing
- start typing in text box, look for cross - cross button should appear on right side of search box
button
- select text box or place cursor in text box, - should show last item search suggestion in drop-down list
look for dropdown list
- select camera button, scan a product - should allow to scan a product
- scan a product from different angle - should able to scan a product, then load result page with
product on top list
- scan a product, look for tags - should show correct "search for " tags
- select micro-phone option for first time - should ask for microphone access
- select micro-phone, say valid product name - should able to load result page with valid product
- select micro-phone, say invalid product name - should show option to "try again" or "type your search"
- select micro-phone, look for help - should show option for help as'?' button
- select micro-phone, click 'x' button - should return to previous page.
Mobile Browser Testing
- search box elements - should have text box and search button
- place cursor in text box - search box should appean on top of page with keyboard loaded
in bottom of screen.
-
Usability Testing :
Window Testing :
- Length of search box - should be as per requirement
- box visibility - should be able to see search box
- text visibility - should be able to see text in search box
- position of search box on different pages/ - should be place at same position on all different pages
while navigating while navigating (as per requirement)
- select text - should show selected text in white color and selected portion
in blue color
- enter larger string than box length - should show cursor next to last character, hide character from left
Mobile / Tablet Testing
- water-mark in text box - should show water-mark as "What are you looking for"
- scan a product available on website - should load result page with product on top list
- scan a product unavailable on website - should load result page with error message
- scan a barcode of product available on - should load result page with product on top list
website
- scan a barcode of product unavailable on - should load result page with error message
website
- text box touch area - should able to place cursor in text box
- touch element in search box - should able to select elements of search box
Test Cases for Vending Machine :
- Gems May 16, 2017Assumptions : -Snacks vending machine with rows of different snacks and each column have series of snacks in them.
- display screen with keypad, on side of glass door
- accept visa / master card & cash
- temperature settings out of scope
- user can withdraw one snack at a time
- not accessible by blind
Functionality Testing :
Test Scenario
Test Description
Pre-Condition
Expected
Actual
valid purchase
Verify purchase, when user pressed valid number, pay with card
-machine is loaded and ready
-valid card is ready
User should be able to purchase an item
Invalid purchase
Verify purchase when user pressed invalid number
-machine is loaded and ready
-invalid card is ready
Error message display “wrong card inserted “
-press wrong number
-press number on keypad and wait for time out
- select product, swipe card to pay and disconnect power while processing transaction
-should mark that transaction as null and should not dispatch product
Payment by Cash
-enter less cash then price
-enter more amount then price
Keypad
- Press a number for long time
- press random numbers
- press all number at a time
-press a button and clear/delete it
Display Screen
-text size
-language
-dimension
-pixels
Collection section
-buy an item, don’t collect it
- place an external item to the collection section
- overload collection section
Hardware
-display of machine
-dimension
-material
-color
-machine voltage
-electrical wiring
Accessibility testing
-verify height
-verify surrounding temperature
-reachability to collection box i.e. height from ground
Visibility
-all products are visible
-arrangement
-lightening inside machine
-night mode/ day time mode
Security
-doors are locked
-Internet connectivity
Performance
-time to process a time
-continues make purchase, until machine gets empty
Should handle behavior
Load
-purchase item which is ‘out of stock‘
Should display proper message