Amazon Interview Question for Software Engineer in Tests






Comment hidden because of low score. Click to expand.
0
of 0 vote

- Check if the input is valid.
- 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.

- AB July 20, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

-- paste some script in the text box and see what happens (negative testing)
-- Will the search function prevent automated inputs
-- can it handle localized search
-- compare the results with google's ;)
-- what will happen if large number of users use it same time

- Anonymous July 20, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Are 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.

- Anonymous July 28, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

You're supposed to test the UI part (i.e. textBox and the button), and not the back-end functionality, i.e. parameter validation, resize, protection on script injection etc. The accuracy of the results is up to the functional tests.

- A August 12, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

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.

- AS October 13, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

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.

- Andy September 08, 2012 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More