Amazon Interview Question for Software Engineer in Tests

Country: United States
Interview Type: Written Test

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

1. purchase item in cart with proper Amount and Quantity details.
2. Checkout process :
a. Redirection to payment screen with proper checkout details.
b. Currently being purchased item should be locked for purchase by others.
3. Payment screen:
a. User should be able to choose credit card section and select appropraite card type. ( Validation of Web service calls )
b. Validation of Credit card details entered. ( Again WS calls play a role here )
c. Verify for negative TC's with fake card details.
4. Payment gateway redirection :
a. Every website ties with one or the other bank and rents for Payment Gateways. Verify for proper redirections.
b. Secure session between Website , Payment Gateway and Credit card bank gateway.
5. Credit bank Authentication screen:
a. Verify for valid redirection.
b. Invalid cred's should abort the transaction.
c. Valid transaction should return success response ( 200 or 302 ) to payment gateway.
d. Transaction success screen with recipt details.
6. Email and SMS should be sent about purpose.
7. Purchase item count should be decreased on Website database.

Interviewer is looking for lot more and u can keep writing TC's for this use case.

- Anonymous October 27, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
of 0 vote

You have to write code for it too? If it's just the test case in words then you can check for:
- the 16 digits on credit card number.
- 3 digit cvv number.
- valid zip code for the credit card.
- Option to select master, visa, american express or other service providers works properly.
- The credit card number is a valid combination of number i.e. it cannot be a series of 16 digit number such as 1111 1111 1111 1111 or 4444 4444 4444 4444.

- ACE CA October 21, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
of 0 vote

Have you ever worked in the credit card industry ever ??? Never happens like this ....

- Anonymous October 25, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
of 1 vote

Why don't u enlighten us ?

- Satish December 01, 2014 | Flag
Comment hidden because of low score. Click to expand.
of 0 vote

Write 4 testcases for the usecase "Customer buys a book with the credit card payment option."
1. Customer access the system and select the required book
2. Enter Payment details and place the order
3. Credit card success / error
4. Final Results - Update the status of the transaction.

- Shami October 29, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
of 0 vote

1. buy a book with a valid credit card with different payment gateways.
2. proceed to buy a book with wrong credit card details.
3. failed transaction cases. fails (wrong password,otp) , authorization fails(over limit, over transaction frequency, security issues ), page time out cases.
4. save to cart. And checkout in the next login.

- saumya.wipro April 08, 2015 | Flag Reply

Add a Comment

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


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


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