[Checklist] Test Ideas for The Search Function
“Search” feature can be a useful exercise which helps you practice building test ideas. This document initiates with a set of test ideas for search function with using heuristics and oracles.
When you are testing for any products, sometimes you will catch the Search function, it can be specific for searching an item which satisfies given conditions like searching an invoice with an ID, or it can be general with a keyword for entire of the web application. Assuming the Search feature under your test is like the image below.
The following test ideas as a result from the breakdown with mind-map which can be downloaded at MeU Solutions website.I. User Types
When you are testing for any products, sometimes you will catch the Search function, it can be specific for searching an item which satisfies given conditions like searching an invoice with an ID, or it can be general with a keyword for entire of the web application. Assuming the Search feature under your test is like the image below.
The following test ideas as a result from the breakdown with mind-map which can be downloaded at MeU Solutions website.I. User Types
- Users with solid experience about your product domain, so check what the result from Searching with specific keywords, or with complexly combined keywords
- Users are new (insufficient domain knowledge), so check what the outcome from Searching with popular keywords, general keywords, …
II. Comparison (use a comparable feature likes Google Search)
- Check what the result from the Search with wildcard characters.
- Check what the result when the user tries to search a file type (.jpg, .doc,..).
- Check with exact phase (the phase in a quote “ “).
- Can we use minus (“-“) eliminate results with certain words.
III. Error Handling
- Check what the result of an empty value.
- Check what the result of a long text.
- Max Length.
- Max Length – 1.
- Max Length + 1.
3. Check with Spaces.
- At Begin.
- At Middle.
- At End.
- All characters are spaces.
IV. Security
- Check with SQL Injection.
- Check Cross Site Scripting (XSS).
- If the “Search” is using API, check if it is a secure API and how results encrypted & transmitted over the Internet.
- Check what is stored in cookies.
- View and explore Source Code.
- Is it necessary to use HTTPs instead of HTTP?
V. Performance
- Check how fast the Search works with the number of results.
- Check how the Search performs with the number of users.
- Check and monitor the request & response time with the various search.
VI. Interface & Hotkeys
-
- Check how text displayed in the Search Text field.
- Check with different text formats.
- View CSS from the Web Browser to identify any missing (or error) CSS.
- Check standard hotkeys such as Ctrl+C, Ctrl+V, Ctr+X, Tabs, Enter,…
- Check how result outlined with the amount of data returned (Check the Paging).
VII. Compatibility
- Cross Browser Testing.
- Check how the Search works with different OS (mobile, Windows, Mac OS,…).
VIII. Data
- Check with Latin Language Data.
- Check with Non-Latin Language Data (Chinese, Arabic…).
- Does the feature allow search with images? If yes,
- Check with various file type: JPG, BMP, TIFF, PNG, BAT, GIF, PPM,…
- Check with an image file corrupted.
- Check with an image file with various sizes:
- 0-byte
- Huge size
0 Comments