Amazon Interview Question for Testing / Quality Assurances






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

1. Calculation of taxes is often involved with more than 1 price attributes.
2. We need to know which attributes (like quantity, discount, base price etc) are involved in that calculation.
3. Once all the involved attributes are identified, verify if there are any validations or recommendations on these attributes.
4. Verify the calculation's logic.
5. Performing these steps will give the exact location where the error is occurring.
6. Now once this is fixed, first perform unit test on the fixed area.
7. After unit test, integrate this feature with all possible (or allowed) attributes/validations/recommendations for calculations.
8. Now try the negative testing and regression.

- OOPs April 21, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Exploratory testing comes after all this.

- OOPs April 21, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

This is Good answer however I would like to add some points ..

1.Identify all the scenario where calculation is going wrong.
2.Understand the business rules for those scenarios to find out where (Which part of code/Component) these Business rules were implemented .
3.Running more test cases on the component we can pin point the under which circumestances it is failing and identify those factors.
4.Do the fix if you are Dev .
5.Perform unit testing .
6.Plan regression from tracibilty matrix . Identify all the Busuiness rules which are implemented in that component and regress the component.

- Sravan September 22, 2011 | Flag
Comment hidden because of low score. Click to expand.
1
of 1 vote

agree above.
1. Identity where goes wrong, how many pages,which category of pages is wrong.Is any problem with deliverying the result?
2. Find how the wrong result is caculated,the logic of caculation,which attributes or logic is wrong.
Running enough test case will find the reason.
Then,fix it.
Unit Test
Integrate Test
Regression Test.

- Anonymous February 01, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

Taxes are calculated based on zipcodes/ shipping address.
We must ensure taxware is on before begin the triage process
verify correct percentage based on zipcode is added to order total
verify tax percentage is changed when there is promotion is applied to the product ( which means item price would get altered)
verify any tax free promotion is applied to the order , so that no tax applied
verify order total, item price is consistent across all the application untill where order gets fulfilled . ( say xml file which carries order information across various application)

- tamil.smartin April 05, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

i think we can use exploratory/ad-hoc testing here to isolate the problem with calculation of taxes. or should be test the entire module for errors

- vanitha November 04, 2007 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

1. Do localized testing for the fix
2. Regression testing for the module/fuunctionality

- Ajay April 02, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

1) Check if the problem is consistent across some other category of products
2) Check if the problem is consistent across some products with different price range

These are some scenario to assure if problem is consistent throughout the site
1) check logs / traces if any for the function responsible for calculation. Maybe things are correct at back end and only while displaying its the problem.

using this if problem found, get it fix, unit test it, integration and followed by Regression

- Gaurav Khurana September 07, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

- find out the delta of code changes in the tax calculation module and see if recent changes have caused this.
- Find out ant related module changed just before the defect is reported.
- Fix
- Unit test
- Integration test
- Regression test

- pts January 04, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

Do Exploratory testing.
Find out what is the actual problem.
Then do Unit Testing & Regression Testing.

- s.chaudhari84 October 18, 2013 | 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