Professional Documents
Culture Documents
Software Testing QUESTION BANK ANSWERS
Software Testing QUESTION BANK ANSWERS
Software Testing QUESTION BANK ANSWERS
State/describe
Test scenario
A test scenario is a description of a sequence of steps that a user might take to
test a particular feature of a software application. It is a high-level overview of
what the user will do and what the expected outcome should be. Test
scenarios are used to develop test cases, which are more detailed descriptions
of the specific tests that will be executed.
Test planning
Test planning involves defining the test plan, scope, approach, responsibility,
tasks and resources for a testing effort. It includes creating test strategies, test
cases, and schedules to ensure thorough and effective testing. The goal is to
systematically verify and validate a product to meet quality and performance
requirements.
Various criteria for test planning
1) Encountering more than a certain number of defects, causing frequent
stoppage of testing activity;
2) Hitting show stoppers that prevent further progress of testing ( for
example, if a database does not start, further tests of query , data
manipulation, and so on are is simply not possible to execute); and
3) Developers releasing a new version which they advice should be used in
instead of the product under test( because of some critical defect fixes. )
Good GUI traits and testing
• Follows standards and guidelines • Intuitive • Consistent • Flexible •
Comfortable • Correct • Useful
Gray box testing
Gray box testing is a type of software testing that combines the elements of
white box testing and black box testing. In white box testing, the tester has full
knowledge of the internal structure of the software application, while in black
box testing, the tester has no knowledge of the internal structure of the
software application. In gray box testing, the tester has partial knowledge of
the internal structure of the software application.
Security
Security testing is a testing technique to determine if an information system
protects data and maintains functionality as intended.
Security is the state of being safe and protected from danger or risk. In the
context of software, security refers to protecting software applications from
unauthorized access, use, disclosure, disruption, modification, or destruction.
Performance
Performance Testing is a type of testing to ensure software applications will
perform well under their expected workload.
Performance refers to the ability of a software application to meet its
performance requirements. This includes factors such as speed, scalability, and
reliability.
User interface
The means that you use to interact with a software program is called its user
interface, or UI
Usability
Usability is how appropriate, functional, and effective that interaction is.
Compatibility testing
Software compatibility testing means checking that your software interacts
with and shares information correctly with other software. This interaction
could occur between two programs simultaneously running on the same
computer or even on different computers connected through the Internet
thousands of miles apart. The interaction could also be as simple as saving data
to a floppy disk and hand-carrying it to another computer across the room.
Defect classification
When actual result deviates from the expected result while testing a software
application or product then it results into a defect.
Software Defects are normally classified as per:
1) Severity wise:
a) Major, b) Minor, c) Fatal
2) Work Product wise:
a. SSD: System Study Document
b. FSD: Functional Specification Document
c. ADS: Architectural Design Document
d. DDS: Detailed Design Document
e. Source code
f. Test plan / Test Cases
g. User documentation
3) Type of error wise:
a. Data related error
b. Design related error
c. Boundary conditions error
d. Logical error
e. Performance error
4) Status wise:
a) Open, b) Closed, c) Deferred, d) Cancelled.
Focuses on discovering
Concentrates on issues by trying out the
analyzing documents software using
and rules to create common sense and
Focus test cases. knowledge.
More expensive upfront, but can save money Less expensive upfront, but can be more
Cost
in the long run expensive in the long run
Aspect Functional Testing Non-Functional Testing
Focuses on verifying
specific behaviors and
functionality of the Concentrates on evaluating
software based on how the software performs
documented in terms of non-behavioral
specifications and aspects like performance,
Definition requirements. reliability, and scalability.
Encompasses
documentation testing, load
testing, performance
Includes smoke testing, testing, recovery testing,
sanity testing, regression security testing, stress
testing, and usability testing, and usability
Types testing. testing.