Recent Questions asked in any Software Testing Interview June 19, 2008
Posted by kiranjoglekar in : General Interview Questions , add a comment1)How do you know which software with version (ex.msoffice)
available in our system, using tsl functions?
GUI-get_name returns the type of GUI for the application under test.
GUI_get_name ( out_name, out_version );
out_name: An output variable that stores the name of the current GUI.
out_version: An output variable that stores the current version of the GUI.
2)Write the Test Cases for ATM (any time money)?
TC 1:- Check successful card insertion.
TC 2:- Check unsuccessful operation due to invalid account card.
TC 3:- Check the LCD screen display is readable.
TC 4:- Check to see if Welcome message is given when user logs in.
TC 5:- Check successful entry of pin number.
TC 6:- Check unsuccessful operation due to wrong pin number entered 3
times.
TC 7:- Check successful selection of language.
TC 8:- Check successful selection of account type.
TC 9:- Check unsuccessful operation due to wrong account type.
TC 10:- Check successful selection of withdrawal option.
TC 11:- Check successful selection of amount.
TC 12:- Check unsuccessful operation due to wrong denominations.
TC 13:- Check successful withdrawal operation.
TC 14:- Check unsuccessful withdrawal operation due to amount
greater than possible balance.
TC 15:- Check unsuccessful due to lack of amount in ATM.
TC 16:- Check unsuccessful withdrawal operation due to amount greater
than the day limit.
TC 17:- Check unsuccessful withdrawal operation due to server down.
TC 18:- Check unsuccessful operation due to click cancel after insert card,
language selection, account type selection, withdrawal selection,
enter amount etc.
TC 19:- Check the card ejects the card once transaction is done. (This is
for some ATMs that suck the card into the machine)
TC 20:- Check the machine prints a receipt once transaction is done.
3)Write the Test Cases for Traffic Signals?
TC 1:- Check the signal has 3 coloured-Red, Yellow & Green light.
TC 2:- Check the first “Red” should be on, then “Yellow” and then “Green”.
(Based on the duration set)
TC 3:- Check that only one light glows at a time.
TC 4:- Check that only one green light is On at a time on signal.
4)Explain how do we find duplicate defects?
Duplicate Defects means the same type of defects that are present in
defferent places of application becouse of copy, paste operation of code
during the code development process.
For example if you take one application it has 9 screens. But the 9 screens
have some identical properties/features. The developpers will write a piece
of code then this code will be copied and used wherever they need. During the process of Test case execution if we find any bug we used to enter the
failure result in test case and we assign a bug id for that. We know that we used to write test case such that for each and every functionality there must be at least one test case. If we find the bug for first time we enter the bug description in defect report and we assign a bug id. If we fined the same bug again already entered bug will be present in the test case result column.
5)What are the contents RTM (Requirements Traceability Matrix)?
Normally RTM is an simple excel sheet with the following columns:
1. Requirement ID
2. Requirements description
3. High Level Design (HLD)
4. User Documentation
5. Unit Test Case Id
6. Integration Test Case Id
7. System Test Case Id
8. Release / Build Number
Requirement ID will be present in the SRS document. RTM is matrix of test
case id’s of each level of testing. Whenever we write test case that test
case ID must be entered into RTM. During the Review process the reviewer
will look at the RTM for checking the testcases completeness against the
requirements.
Basic Questions asked in any Software Testing Interview June 3, 2008
Posted by kiranjoglekar in : General Interview Questions , add a comment1. What is Testing?
Testing is a process of finding the bugs or defects in the software,
reporting it & making sure that the bugs are fixed by the development.
Once the development fixes the reported bugs, again Testing team is
responsible to verfiy the fixes & making sure that the new fix has not
broken any previously working functionality of the product.
2. What is a Defect or a Bug?
A defect or a bug is a mistake in the software considering the details
mentioned in the specification document. So if some feature or
functionality of a Software is varying from what it is supposed to be
with regard to its expectations mentioned in the Specification
documents then it is considered as a bug or a Defect.
3. What will you do when you find a Defect in the product that
you are Testing ?
Generally when we find a bug or defect we report it following the bug
logging process or Defect Reporting. But it is also the job of a
Testing Engineer to make sure it is a real product bug & not any setup
or testcase issue before filing a Defect Report or Bug Logging.
4. How do you log a bug & what software you use for this
process?
We use Bugzilla which is an opensource software for logging bug. While
logging a bug we need to give detailed information about the whole
steps when we encountered a bug or defect.
5. Describe in detail what you should do after Finding the Bug?
Write the bug report just when you are sure that you have found a bug,
not after the end of test or at the end of the day. It might be
possible that you might miss out on many crucial points if you are
delaying the write up for bug filing. Put necessary time to diagnose
the defect you are reporting. Think of the possible causes. You might
land up uncovering more defects if there are any. Mention your
discoveries in your bug report. The programmers will only be happy
seeing that you have made their job easier. Take some time off before
reading your bug report. You might feel like re-writing it.
6. What are the factors you consider while writing Defect
Summary or Bug Synopsis ?
The summary of the bug report is the readers first glance with your
bug report. The fate of your bug heavily depends on how well you
compress yet describe the summary of your bug report. The rule is
that every bug should have a one line summary some reporting
softwares call it as Bug Synopsis. A good summary will not be more
than 50 to 60 characters.
Keep reading for more common Testing Questions & Their Answers.
Get Software Testing Job in One Month May 30, 2008
Posted by kiranjoglekar in : General Interview Questions , add a commentNext month I will start Software Testing Tutorial that will help you to get job in next one month.
Keep reading for more common Testing Questions & their Answers.
Testing Interview Questions & Answers-Series1 May 12, 2008
Posted by kiranjoglekar in : General Interview Questions, Manual Testing Interview Questions , add a comment1) _________ categories of data will be collected during testing.
ANSWER : Four
2) _______ is normally a reverse of the test development process.
In other words, it begins at the very lowest level and the results
are rolled up to the highest levels.
ANSWER : Conducting testing
3) Which one is called as most common test report ?
ANSWER : Spreadsheet
4) Verification that the process deliverables/ phases are
meeting the user’s true needs is called as ______.
ANSWER : Reviews
5) _____________ the reporting process is very important
because software tools are being upgraded, and manual
supporting activities sometimes break down.
ANSWER : Monitoring
6) _______________ report provides information related to
a specific project component.
ANSWER : Major Project Status Report
7)Real-time applications add a new and potentially difficult
element to the testing mix is _____.
ANSWER : time
The Project Status Report contains the project activities
information and give a history of the project over a 16-
month period. (True/False)
ANSWER : True
9) The test reports are for use by the testers, the test manager,
and the software development team.(True/False)
ANSWER : True
10) _________ is a risk-oriented activity in which resources
should be expended to minimize the major risks.
ANSWER : Testing
Testing Interview Questions & Answers-Series3 May 12, 2008
Posted by kiranjoglekar in : General Interview Questions, Manual Testing Interview Questions , add a comment21) The software tester may or may not be involved in the actual
acceptance testing. (True/False)
ANSWER : True
22)In the client systems, testing should focus on performance
and compatibility. (True/False)
ANSWER : False
23)A database access applications typically consists of
elements except __________.
ANSWER : Data Driven code
24)Wireless technologies represent a rapidly emerging area of
growth and importance for providing ever-present access to
the internet and email.(True/False)
ANSWER : True
25)Acceptance testing involves procedures for identifying
acceptance criteria for interim life cycle products and
for accepting them. (True/False)
ANSWER : True
26)Acceptance testing is designed whether or not the software
is “fit” for the user to use. The concept of “fit” is important
in both design and testing. There are four components of
“fit”. (True/False)
ANSWER : True
27)Acceptance testing occurs only at the end point of the
development process; it should be an ongoing activity that
test both interim and final products. (True/False)
ANSWER : False
28)Acceptance requirement that a system must meet can be
divided into ________ categories.
ANSWER : Four
29) _______ categories of testing techniques can be used in
acceptance testing.
ANSWER : Two
30) _____________ define the objectives of the acceptance
activities and a plan for meeting them.
ANSWER : Acceptance Manager
Testing Interview Questions & Answers-Series4 May 12, 2008
Posted by kiranjoglekar in : General Interview Questions, Manual Testing Interview Questions , add a comment31)Software Acceptance testing is the last opportunity for the
user to examine the software for functional, interface,
performance, and quality features prior to the final
acceptance review.(True/False)
ANSWER : True
32)With thorough testing it is possible to remove all defects
from a program prior to delivery to the customer. (True/False)
ANSWER : False
33)________ is characteristics of testable software.
ANSWER : observability
34)The testing technique that requires devising test cases to
demonstrate that each program function is operational is
called _______.
ANSWER : black-box testing
35)The testing technique that requires devising test cases to
exercise the internal logic of a software module is called _____.
ANSWER : white-box testing
36)________ are missed by black-box testing and can be
uncovered by white-box testing.
ANSWER : logic & typographical errors
37)Program flow graphs are identical to program flowcharts.
(True/False)
ANSWER : False
38)The cyclomatic complexity metric provides the designer
with information regarding the number of ___________.
ANSWER : independent logic paths in the program
39)The cyclomatic complexity of a program can be computed
directly from a PDL representation of an algorithm without
drawing a program flow graph. (True/False)
ANSWER : True
40)Condition testing is a control structure testing technique
where the criteria used to design test cases is that they
__________.
ANSWER : exercise the logical conditions in a program module
Testing Interview Questions & Answers-Series5 May 12, 2008
Posted by kiranjoglekar in : General Interview Questions, Manual Testing Interview Questions , add a comment41)Data flow testing is a control structure testing technique
where the criteria used to design test cases is that they______.
ANSWER : select test paths based on the locations and uses of variables
42)Loop testing is a control structure testing technique where
the criteria used to design test cases is that they ________.
ANSWER : focus on testing the validity of loop constructs
43)Black-box testing attempts to find errors in which of the
________ functions.
ANSWER : incorrect or missing
44)Graph-based testing methods can only be used for object
-oriented systems. (True/False)
ANSWER : False
45)Equivalence testing divides the input domain into classes of
data from which test cases can be derived to reduce the total
number of test cases that must be developed. (True/False)
ANSWER : True
46)Boundary value analysis can only be used to do white-box
testing. (True/False)
ANSWER : False
47)Comparison testing is typically done to test two competing
products as part of customer market analysis prior to product
release. (True/False)
ANSWER : False
48)Orthogonal array testing enables the test designer to
maximize the coverage of the test cases devised for
relatively small input domains. (True/False)
ANSWER : True
49)Test case design “in the small” for OO software is driven by
the algorithmic detail of the individual operations. (True/False)
ANSWER : True
50)Encapsulation of attributes and operations inside objects
makes it easy to obtain object state information during
testing. (True/False)
ANSWER : False
Testing Interview Questions & Answers-Series6 May 12, 2008
Posted by kiranjoglekar in : General Interview Questions, Manual Testing Interview Questions , add a comment51)Use-cases can provide useful input into the design of
black-box and state-based tests of OO software. (True/False)
ANSWER : True
52)Fault-based testing is best reserved for ________.
ANSWER : operations and classes that are critical or suspect
53)Testing OO class operations is made more difficult by ______.
ANSWER : inheritance & polymorphism
54)Scenario-based testing _________.
ANSWER : concentrates on actor and software interaction
55)Deep structure testing is not designed to ________.
ANSWER : exercise structure observable by the user
56)Random order tests are conducted to exercise different class
instance life histories. (True/False)
ANSWER : True
57)Which of these techniques is not useful for partition testing
at the class level _________.
ANSWER : equivalence class partitioning
58)Multiple class testing is too complex to be tested using
random test cases. (True/False)
ANSWER : False
59)Tests derived from behavioral class models should be based
on the _________.
ANSWER : state diagram
60)Client/server architectures cannot be properly tested
because network load is highly variable. (True/False)
ANSWER : False
Testing Interview Questions & Answers-Series1 May 11, 2008
Posted by kiranjoglekar in : General Interview Questions, Manual Testing Interview Questions , add a comment1) Define reliability?
Reliability tells how reliable the software is? For how much time it
will be available under working environment, how much time it will take
to recover from crashes, how safe the data is etc.
2) What is Bug Tracking Process, Reporting, Re-testing
and Debugging?
First step: Bug finding
Second Step: Bug Reporting
Third Step: Bug De-bugging (fixing)
Fourth Step: Re verification of the reported bug (Regression)
This is the process of Bug cycle.
3) What is Scalability Testing? Which tool is used?
Scalability Testing: Is the one to test whether the application is
handling the expected load as per customer requirements or not…
We can use these tools Load Runner; Win runner, Astray, Rational
Robot for scalability testing.
4) What is the difference between an exception and an error?
Exception: Exception as the name suggests anything that is unusal.
For e.g. if I try to delete a file which doesn’t exist then it is an exception.
Error: Error is caused if something is wrong with the program.
For e.g. a syntax error, logical error or runtime error.
5) What is the difference between bug and defect?
Any mistake in the program is error
And this error was found by tester during testing it becomes defect
And this reported defect was fixed by developer to resolve then
defect becomes bug.
6) What is Traceability Matrix? Is there any interchangeable term
for Traceability Matrix? Are Traceability Matrix and Test Matrix
same or Different?
Traceability matrix is nothing but tracing the id’s right from the
Requirement spec id till defect id such as tracking the specified
defect if for that specified requirement id.
OR
Traceability Matrix is the correct term. This is a document which
traces the requirements to its corresponding test case. Traceability
matrix can be made more elaborate by tracing the requirements to the
design to the code to the test cases. In this way we can come to know
which requirement change will affect which part of the design and
which part of the code and the test case. Usually this is an excel sheet.
7) What is difference between test plan and use case?
Test plan: It contains introduction to the Client Company,scope,
overview of the application, test strategy, schedule, roles and
responsibilities, deliverables and milestones.
Use Case: It is nothing but user action and system response. It
contains the flows typical flow, alternate flow and exceptional flow.
Apart from these it also has a pre condition and post condition.
What is Red Box Testing? What is Yellow Box Testing? What
is Grey Box Testing?
Grey box testing is a combination of black and white box testing,
where tester will test both the build and the internal code with
some knowledge and understanding over it.
I have read in one website that, Checking Warning messages-Yellow
box testing Checking Error messages–Red box testing. I am not sure
why they are called yellow box and red box testing. But I think this
warning messages and error messages are the part of application/system
in black box environment. If some parts of error messages and warning
messages are not covered in black box, I am sure they can be covered
either in white box or grey box testing.
I am assuming that, if we check only for error messages than it is
called as red box testing. Red resembles danger and unexpected error
message is also danger to application or product. In the same way
assume for yellow box testing also.
9) What is log sheet? And what are the components in it?
A log sheet can be called as Defect Tracking Format, Bug Reporting
Format.
They components in that are.
Defect Id.
Description.
Build version Id.
Feature.
Test case.
Severity.
Priority.
Producible->YES/No
If yes->attach in Test procedure.
IF No-> attach Test procedure and snapshot.
Detected by.
Detected on.
Assigned To.
Suggested fix-> It is optional
10)What is mean Test Environment? What is meant by DB
installing and configuring and deploying skills?
Test Environment: It is nothing but Software, Hardware components to
execute our tests smoothly.
DB installing is nothing but installing DB on server/System.
Configuring here refers to giving access (connectivity) to user.
Deploying: It means installing the software on the server; as such it
will be available to all.
Testing Interview Questions & Answers-Series2 May 11, 2008
Posted by kiranjoglekar in : General Interview Questions, Manual Testing Interview Questions , add a comment11)What is the difference between test techniques and test
methodology?
Testing techniques is a way testing technique (security testing,
functional testing etc) to be applied on project and and it will
inform to testers by test lead.
Test methodology or test strategy is a document prepared by Test
Manager and it contains an approach to be followed by testing team
during testing (egg: test factors, scope, use of testing tools for
the project etc)
12)What is difference between a Test Plan, a Test Strategy, a Test
Scenario, and a Test Case? What’s their order of succession
in the STLC?
Test Plan: Test plan is a Document, developed by the Test Lead,
which contains ”What to Test”, ” How to Test”, ”When to Test”,
“Who to Test”.
Test Strategy: Test Strategy is a Document, developed by the Project
manager, which contains what type of technique to follow and which
module to test.
Test Scenario: A name given to Test Cases is called Test Scenario.
This Test Scenario was deal byte Test Engineer.
Test Cases: It is also document audit specifies a Testable condition
to validate functionality. These Test Cases are deal by the Test
Engineer
Order of STLC:
Test Strategy, Test Plan, Test Scenario, Test Cases.
13)What is Multi Unit Testing?
To the test different modules and combine together as component or
module is called as multi unit testing.
14)What is the difference between a defect and an enhancement?
Defect: It is found by the test engineer while test an application of
the window.
Enchancement: It is soft copy of the application send to the tester
by the developer for the defect solve on particular module.
15)What is the difference between end to end testing?
End to End testing: To test scale a complete application in a
situation that minics real word use, such as interacting with a
data base, using network communication, or,interacting with other
hardware, application, or system.
System testing: Is process of attempting to demonstrate that program
it done meet original requirements and objects as stated in the
requirement specification. It is done by the test group before release
product to the customer.
16)What is the difference between walkthrough and inspection?
Walk through: A walk through is an informal meeting for evaluation.
Little or no preparation is usually required.
Inspection: An inspection is more formalized than a walk through
typically with 3-8 people including a moderator, reader, and a
recorder to takes notes.
17)What is the difference between system testing and
end-to-end testing?
System testing: System testing is the process of attempting to
demonstrate that a program. Is performed by a testing group before
the product is made available to customers. It can begin after unit
and Integration testing.
End to end testing: end to end testing is mainly functionality testing,
to check whether all the components are involved properly to perform a
complete transaction.
18)What is the difference between test strategy and test
scenario?
Test strategy: Testing approach to be followed by the testing team.
Test Scenario: Testing engineers selected reasonable the test case
to reviewed for completeness and correctness. In this review meeting
Test lead or project manager will be involved according the
organization.
19)What is the difference between cmm level 5 companies and
cmmi?
CMM: Developed by the SEI. It’s a model of 5 levels of organizational
‘maturity’ that determine effectiveness in delivering quality software.
The model identifies five levels of process maturity for an
organization:
1. Initial (chaotic, ad hoc, heroic) the starting point for use of a
new process.
2. Repeatable (project management, process discipline) the process is
used repeatedly.
3. Defined (institutionalized) the process is defined/confirmed as a
standard business process.
4. Managed (quantified) process management and measurement takes
place.
5. Optimizing (process improvement) process management includes
deliberate process optimization/improvement.
Within each of these maturity levels are KPAs (Key Process Areas) which
characterize that level, and for each KPA there are five definitions
identified:
1. Goals
2. Commitment
3. Ability
4. Measurement
5. Verification
20)What is difference between QA, QC and testing?
QA - Giving guarantee to the client how much quality the product
QC - Get controlling each and every phase of product or software
Testing - Operations involved whether an application is able
to meet client requirements or not.