Software Testing Interview Questions and Answers - Test & Download!

Describe software review and formal technical review (FTR).

Software reviews works as a filter for the software process. It helps to uncover errors and defects in software. Software reviews enhance the quality of software. Software reviews refine software, including requirements and design models, code, and testing data.

A formal technical review (FTR) is a software quality control activity. In this activity, software developer and other team members are involved. The objectives of an FTR are:

- Uncover the errors.
- Verify that the software under technical review meets its requirements.
- To ensure that the software must follow the predefined standards.
- To make projects more manageable.

The FTR includes walkthroughs and inspections. Each FTR is conducted as a normal meeting. FTR will be successful only if it is properly planned, and executed.

What are the attributes of good test case?

The following are the attributes of good test case.

- A good test has a high probability of finding an error. To find the maximum error, the tester and developer should have complete understanding of the software and attempt to check all the conditions that how the software might fail.

- A good test is not redundant. Every test should have a different purpose from other, otherwise tester will repeat the testing process for same condition.

- A good test should be neither too simple nor too complex. In general, each test should be executed separately. If we combine more than one test into one test case, it might be very difficult to execute. Sometimes we can combine tests but it may hide some errors.

Describe cyclomatic complexity with example.

Cyclomatic complexity is a software metric that measure the logical strength of the program. It was developed by Thomas J. McCabe. Cyclomatic complexity is calculated by using the control flow graph of the program. In the flow graph, nodes are represented by circle. Areas bounded by edges and nodes are called regions. When counting regions, we also include the area outside the graph as a region.

Complexity is computed in one of three ways:

The total number of regions of the flow graph.

By using the formula defined as:

V(G) = E - N + 2

Cyclomatic complexity, V(G), for a flow graph, G, is also defined as

V(G) = P + 1 ,where P is the number of predicate nodes contained in the flow graph G.

Note: Nodes that contain a condition is called a predicate node and is characterized by two or more edges originating from it.

Find out the Cyclomatic complexity V(G) of the given flow graph.

In the above flow graph there are total 9 nodes, 11 edges, and 4 regions.

1. The flow graph has four regions.
2. V(G) = 11 edges- 9 nodes + 2 = 4.
3. V(G) = 3 predicate nodes + 1 = 4.

Describe Condition testing in brief.

Condition testing works on logical conditions contained in a program module. A simple condition is a Boolean variable or a relational expression. A relational expression takes the form

E1 <relational-operator>E2

Where E1 and E2 are arithmetic expressions and is one of the following: <, ≤, =, ≠ (not equal to), >, or ≥. A compound condition is created by using two or more simple conditions, Boolean operators, and parentheses. Conditional error is generated if Boolean variable, relational operator or Boolean operator is incorrectly used.

The purpose of condition testing is to detect errors in the conditions of a program.

Explain Structure-based testing techniques.

- Structure-based testing techniques are also termed as white-box testing techniques.
- These are dynamic techniques.
- They use the internal structure of the software to derive test cases.
- They are usually termed as 'white-box' or 'glass-box' techniques
- They need you to have knowledge of how the software is implemented and how it works.

Explain component testing.

- Component testing is also termed as unit, module or program testing.
- It looks for defects in the software and verifies its functioning.
- It can be done in isolation from rest of the system depending on the context of the development life cycle and the system.
- Mostly stubs and drivers are used to replace the missing software and simulate the interface between the software components in a simple manner.
- The stub is called from the software component to be tested while a driver calls a component to be tested.

What are decision tables? Whyy do we use them?

- Decision tables are specification-based techniques which are more focused on business logic or business rules.
- A decision table is useful in dealing with combinations of things like inputs.
- This technique is sometimes also called as 'cause-effect' table as there exists an associated logic diagramming technique called 'cause-effect graphing' which is at times used to help derive the decision table.
- The techniques of equivalence partitioning and boundary value analysis are usually applied to specific situations or inputs.

Explain exploratory testing.

- In exploratory testing approach testers are involved in minimum planning and maximum test execution.
- The planning includes creation of a test charter, a short declaration of the scope of a short time-boxed test effort, the objectives and possible approaches to be used.
- The test design and test execution are performed parallelly without any formal documentation of test conditions, test cases or test scripts. However, this does not imply that other more formal testing techniques will not be used.

Differentiate between re-testing and regression testing

Regressions Testing:
- It means testing new bugfixes to ensure that they don’t cause problems to occur involving problems fixed earlier.
- The process here involves running a suite of tests.

- It means testing a single defect that was just fixed. Only one test is performed here.
- The target is to ensure that the defect that was just fixed was actually fixed properly.
1 2 3 4 5 6

Common problems with software automation
Software automation problem - Automation often requires recording the sequence of operations you need to perform in order to execute a particular.............
Role of QA in a project development
Role of QA - The word assurance means ‘guarantee’. So the Quality Assurance Group’s role is to guarantee that the product is of high quality............
Value of a testing group
Value of a testing group - Testing is a process used for revealing defects in s/w and for establishing that the s/w..........
Post your comment
Discussion Board
What is keyword view and Expert view in QTP?

QuickTest’s Keyword Driven approach, test automation experts have full access to the underlying test and object properties, via an integrated scripting and debugging environment that is round-trip synchronized with the Keyword View. Advanced testers can view and edit their tests in the Expert View, which reveals the underlying industry-standard VBScript that QuickTest Professional automatically generates. Any changes made in the Expert View are automatically synchronized with the Keyword View.

If you want more info visit
sunil 02-21-2012
Testing interview questions and answers
What is the other name of Modification Request?
- Defect Report

Name some tools to write a Modification Request.

a.) Quality Center,
b.) Test Director,
c.) Rational ClearQuest,
d.) PVCS Tracker

Why do you automate a test?

a.) It is fast.
b.) It can perform regression testing.

Anurag 12-5-2011
Testing interview questions and answers
What is KDT?
Keyword Driven Testing.

What information is important to formulate a test plan?
The business requirement document.

Suppose the business requirements document is missing, how will you write a test plan?
We will collect as much information as possible from following parties:

- Business Analysts
- Developers
- Documentation of previous versions
- Stake holders
- Any prototypes

What is the other name of User Acceptance Testing?
- Beta Testing
Brishal 12-5-2011
Testing interview questions and answers
What are the primary techniques to design test cases for black box testing?

Four primary techniques to design test cases for black box testing are:
a. BVA (Boundary value Analysis)
b. EP (Equivalence Partitioning)
c. Decision Tables
d. State Transition Tables (and diagrams)

What are the techniques to test the Internal structure of the application in white box testing?
The two primary techniques to do this are:
a. Code Coverage
b. Path Coverage

List some common tools used for functional testing.

a.) QTP
b.) IBM Rational Robot
c.) Selenium
d.) Test Complete
e.) Push to Test
f.) Telerik
shipra 12-5-2011
plz send me testing metrial ,questions n ans.some problems
preethi 12-1-2011
Testing interview question : Explain the check points in QTP.
Explain the check points in QTP.

Checkpoints in QTP allow the tester to verify if the functionalities deliver results as expected. Checkpoints can be inserted into a test or a test component and acts a verification point that compares the specified value of a property with its most recent value. Database checkpoints, image checkpoints, xml checkpoints, table checkpoints are the different types.
raj 11-6-2011
Software testing interview questions and answers
Challenges while testing software are Requirements are not freezed, Application is not testable, Ego problems, Defect in defect tracking system, Miscommunication or no Communication, Bug in software development tools, Time pressures etc.
adi 11-4-2011