Amazon Interview Question
Software Engineer in TestsCountry: United States
Interview Type: Written Test
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.
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.
1. purchase item in cart with proper Amount and Quantity details.
- Anonymous October 27, 20142. 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.