QA interview questions Flashcards
What is Exploratory Testing?
Exploratory testing is a hands-on approach in which testers are involved in minimum planning and maximum test execution. The planning involves the creation of a test charter, a short declaration of the scope of a short (1 to 2 hour) time-boxed test effort, the objectives and possible approaches to be used. The test design and test execution activities are performed in parallel typically without formally documenting the test conditions, test cases or test scripts. This does not mean that other, more formal testing techniques will not be used. For example, the tester may decide to use boundary value analysis but will think through and test the most important boundary values without necessarily writing them down. Some notes will be written during the exploratory-testing session so that a report can be produced afterward.
What is “use case testing”?
In order to identify and execute the functional requirement of an application from start to finish “use case” is used and the techniques used to do this is known as “Use Case Testing.”
What is the difference between the STLC (Software Testing Life Cycle) and SDLC (Software Development Life Cycle)?
SDLC deals with development/coding of the software while STLC deales with validation and verification of the software.
What is traceability matrix?
The relationship between test cases and requirements is shown with the help of a document. This document is known as a traceability matrix.
In white box testing, what do you verify?
In white box testing following steps are verified.
1 Verify the security holes in the code
2 Verify the incomplete or broken paths in the code
3 Verify the flow of structure according to the document specification
4 Verify the expected outputs
5 Verify all conditional loops in the code to check the complete functionality of the application
6 Verify the line by line coding and cover 100% testing
What is Equivalence partitioning testing?
Equivalence partitioning testing is a software testing technique which divides the application input test data into each partition at least once of equivalent data from which test cases can be derived. By this testing method, it reduces the time required for software testing.
What is white box testing and list the types of white box testing?
White box testing technique involves selection of test cases based on an analysis of the internal structure (Code coverage, branches coverage, paths coverage, condition coverage, etc.) of a component or system. It is also known as Code-Based testing or Structural testing. Different types of white box testing are
1 Statement Coverage
2 Decision Coverage
What is black box testing? What are the different black box testing techniques?
Black box testing is the software testing method which is used to test the software without knowing the internal structure of code or program. This testing is usually done to check the functionality of an application. The different black box testing techniques are
1 Equivalence Partitioning
2 Boundary value analysis
3 Cause-effect graphing
What is the difference between static and dynamic testing?
Static testing: During Static testing method, the code is not executed, and it is performed using the software documentation.
Dynamic testing: To perform this testing the code is required to be in an executable form.
What are verification and validation?
Verification is a process of evaluating software at the development phase. It helps you to decide whether the product of a given application satisfies the specified requirements. Validation is the process of evaluating software at the after the development process and to check whether it meets the customer requirements.
What are the different test levels?
There are four test levels
1 Unit/component/program/module testing
2 Integration testing
3 System testing
4 Acceptance testing
What is Integration testing?
Integration testing is a level of software testing process, where individual units of an application are combined and tested. It is usually performed after unit and functional testing.
What Test Plans consists of?
Test design, scope, test strategies, approach are various details that Test plan document consists of.
1 Test case identifier 2 Scope 3 Features to be tested 4 Features not to be tested 5 Test strategy & Test approach 6 Test deliverables 7 Responsibilities 8 Staffing and training 9 Risk and Contingencies
What is the difference between UAT (User Acceptance Testing) and System testing?
System Testing: System testing is finding defects when the system undergoes testing as a whole; it is also known as end-to-end testing. In such type of testing, the application suffers from beginning till the end.
UAT: User Acceptance Testing (UAT) involves running a product through a series of specific tests which determines whether the product will meet the needs of its users.
Mention the difference between Data Driven Testing and Retesting?
Retesting: It is a process of checking bugs that are actioned by the development team to verify that they are fixed.
Data Driven Testing (DDT): In data driven testing process, the application is tested with multiple test data. The application is tested with a different set of values.
Which one of the following answers describes a test condition?
a) A distinguishing characteristic of a component or system
b) A testable aspect of a component or system identified as a basis for testing
c) The degree to which a software product provides functions which meet stated and implied needs when the software is used under specified conditions
d) Test cases designed to execute combinations of conditions and actions resulting from them
Select ONE option.
b
Which of the following statements is a valid objective for testing?
a) The test should start as late as possible so that development had enough time to create a good product
b) To validate whether the test object works as expected by the users and other stakeholders
c) To prove that all possible defects are identified
d) To prove that any remaining defects will not cause any failures
Select ONE option.
b
Which of the following statements correctly describes the difference between testing and debugging?
a) Testing identifies the source of defects; debugging analyzes the defects and proposes prevention activities
b) Dynamic testing shows failures caused by defects; debugging eliminates the defects, which are the source of failures
c) Testing does not remove faults; but debugging removes defects that cause the faults
d) Dynamic testing prevents the causes of failures; debugging removes the failures
Select ONE option.
b
Which one of the statements below describes the most common situation for a failure discovered during testing or in production?
a) The product crashed when the user selected an option in a dialog box
b) The wrong version of a compiled source code file was included in the build
c) The computation algorithm used the wrong input variables
d) The developer misinterpreted the requirement for the algorithm
Select ONE option.
a
Mr. Test has been testing software applications on mobile devices for a period of 5 years. He has a wealth of experience in testing mobile applications and achieves better results in a shorter time than others. Over several months, Mr. Test did not modify the existing automated test cases and did not create any new test cases. This leads to fewer and fewer defects being found by executing the tests. What principle of testing did Mr. Test not observe?
a) Testing depends on the environment
b) Exhaustive testing is not possible
c) Repeating of same tests will not find new defects
d) Defects cluster together
Select ONE option.
c
In what way can testing be part of Quality Assurance?
a) It ensures that requirements are detailed enough
b) Testing reduces the risk of poor software quality
c) It ensures that standards in the organization are followed
d) It measures the quality of software in terms of number of executed test cases
Select ONE option.
b
Which of the following activities is part of the main activity “test analysis” in the test process?
a) Identifying any required infrastructure and tools
b) Creating test suites from test scripts
c) Analyzing lessons learned for process improvement
d) Evaluating the test basis for testability
Select ONE option.
d