Amazon Interview Question
Software Engineer in TestsAre you guys serious? If the "search button" is supposed to give web search results, then there would be thousands of tests needed to cover this.
1) Test to see if the text box is functional ( when you type- it displays what you typed)
2) Test to see if numbers, alphabets and special characters alike can be entered.
3) Test to see if the search button executes a search-- takes you to search results.
4) Test to see if this works when the text box is blank.
5) Test with various inputs twice to see if the search results are the same.
6) Before any of them - your assumptions should be that the search sample space is a static data pool.
Even if this is a web search -- your task is to test the domain that has been defined to you.
Questions:
1. What does the search button searches? Is it a web search/video search/local file search/transaction search?
2. Is there a limit on text box input length?
3. Is there any rules/validation on the search box to search or it accepts everything?
4. What does the search returns? Is it links like normal search or does it display the contents and no links?
Functional
1. Verify the page is online/when you type the url the page loads
2. Verify that you can type in the text box
3. Verify that Search button is enabled
4. Verify when a text is typed in text box and search button is clicked results are displayed.
5. Verify the correctness of the search results. If results contains what you searched .
6. Verify with max length search string/query
7. Verify with min length search string/query
8. Verify with alpha numeric search string
9. Verify with special characters in search string
10. Verify you can copy text into the search string and from the search string.
11. If results shows links of pages then verify you can click on the links from results.
12. Verify back button in browser works with this page, it shows previous results.
13. Verify you can open multiple instances of the page in same browser window and search different values.
14. Verify nothing happens when you click search on empty text box
15. Verify search functionality works when you press ENTER instead of clicking search
Integration
1. If this page is going to be integrated with some other page/app verify the integration with that app/page.
2. After integration verify if basic functionality tests are passing
Compatibility
1. Verify the page loads/works correctly in different web browsers like IE/FF/Chrome/Safari etc.
2. You can also verify for different versions of the browser to test backward compatibility.
Performance
1. Test how much time required to return the results after you click the search button.
2. Test how many searches the page (server) can handle in a minute
Load
1. Test the performance of the page when more than one users are accessing the page at same time. ~1000 users
2. Test if the response time degrades when multiple users are searching for X duration.
Stress
1. Stress test the page to find out how many simultaneous users/searches the page allows.
Localization
1, If the page support localization then test for localization, search button label is changed etc.
- Check if the input is valid.
- AB July 20, 2011- Check if the search is related to the text entered
- Check multiple times if the results are same for a same input
- Check if a result is returned in a limited time.