Tags: , , | Categories: QA Interview Questions
Posted by trainer on 9/28/2012 2:34 PM |

1. What is white-box testing?
White box testing involves thorough testing of the application. It requires knowledge of code and the test cases chosen verifies if the system is implemented as expected. It typically includes checking with the data flow, exceptions, and errors, and how they are handled, comparing if the code produces the expected results.


2. What is Black Box testing?
Black box testing is done at an outer level of the system. Test cases merely check if the output is correct for the given input. User is not expected to the internal flow or design of the system.


3. What is Gray Box testing?
Gray box testing is a combination of both black box and white box testing. This is because it involves access to the system; however, at an outer level. A little knowledge of the system is expected in Gray box testing.


4. What is latent defect?
Latent defects are defects which remain in the system, however, identified later. They remain in the system for a long time. The defect is likely to be present in various versions of the software and may be detected after the release.

E.g. February has 28 days. The system could have not considered the leap year which results in a latent defect


5. What is Masked defect?
Masked defect hides other defects in the system. E.g. there is a link to add department in the system. On clicking this link you can also add a dept details. Let’s assume both the functionalities have bugs. However, the first bug (Add department) goes unnoticed. Because of this the bug in the add task is masked.



6. What is Boundary value Analysis?
Test cases written for boundary value analysis are to detect errors or bugs which are likely to arise while testing for ranges of values at boundaries. This is to ensure that the application gives the desired output when tested for boundary values.


7. What is Equivalence Partitioning?
Equivalence partitioning is a technique used in software testing which aims to reduce the number of test cases and choose the right test cases. This is achieved by identifying the “classes” or “groups” of inputs in such a way that each input value under this class will give the same result.


8. Explain Random testing.
Random testing as the name suggests has no particular approach to test. It is an ad hoc way of testing. The tester randomly picks modules to test by inputting random values.


9. What is Monkey testing?
Monkey testing is a type of random testing with no specific test case written. It has no fixed perspective for testing. E.g. input random and garbage values in an input box.


10. Explain the PDCA cycle?
PDCA cycle stands for Plan Do Check Act; commonly used for quality control.
  • Plan: Identify aim and procedure necessary to deliver the output.
  • Do: Implement the plan.
  • Check: Confirm if the result is as per plan.
  • Action: Take appropriate action to deceiver expected outcome. Which may also involve repeat the cycle.