The Likelihood of An Adverse Event and The Impact of The Event
The Likelihood of An Adverse Event and The Impact of The Event
Risk-based testing is the term used for an approach to creating a test strategy that is based
on prioritizing tests by risk. The basis of the approach is a detailed risk analysis and
prioritizing of risks by risk level. Tests to address each risk are then specified, starting with
the highest risk first.
4, 5, 99
Preventative tests are designed early; reactive tests are designed after the software has
been produced.
Decision table testing is used for testing systems for which the specification takes the
form of rules or cause-effect combinations. In a decision table the inputs are listed in a
column, with the outputs in the same column but below the inputs. The remainder of the
table explores combinations of inputs to define the outputs produced.
Learn More About Decision Table Testing Technique in the Video Tutorial here
9. Which of the following defines the expected results of a test? Test case
specification or test design specification.
11. As part of which test process do you determine the exit criteria?
Test planning.
13. Given the following fragment of code, how many tests are required for 100%
decision coverage?
end_if
end_if
end_if
14. You have designed test cases to provide 100% statement and 100% decision
coverage for the following fragment of code. if width > length then
biggest_dimension = width else biggest_dimension = length end_if The following has
been added to the bottom of the code fragment above. print "Biggest dimension is "
& biggest_dimension print "Width: " & width print "Length: " & length How
many more test cases are required?
16. What is the difference between Testing Techniques and Testing Tools?
Testing technique: – Is a process for ensuring that some aspects of the application system
or unit functions properly there may be few techniques but many tools.
Testing Tools: – Is a vehicle for performing a test process. The tool is a resource to the
tester, but itself is insufficient to conduct testing
17. We use the output of the requirement analysis, the requirement specification as
the input for writing …
Regression Testing
19. What is component testing ?
Component testing, also known as unit, module and program testing, searches for defects
in, and verifies the functioning of software (e.g. modules, programs, objects, classes, etc.)
that are separately testable. Component testing may be done in isolation from the rest of
the system depend-ing on the context of the development life cycle and the system. Most
often stubs and drivers are used to replace the missing software and simulate the interface
between the software components in a simple manner. A stub is called from the software
component to be tested; a driver calls a component to be tested.
Independent testers see other and different defects and are unbiased.
22. In a REACTIVE approach to testing when would you expect the bulk of the test
design work to be begun?
There are currently seven different Agile methodologies that I am aware of:
24. Which activity in the fundamental test process includes evaluation of the
testability of the requirements and system?
25. What is typically the MOST important reason to use risk to drive testing efforts?
An independent tester may be more effective at finding defects missed by the person who
wrote the software.
27. Which of the following are valid objectives for incident reports?
i. Provide developers and other parties with feedback about the problem to enable
identification, isolation and correction as necessary.
iv. Provide testers with a means of tracking the quality of the system under test.
i. Provide developers and other parties with feedback about the problem to enable
identification, isolation and correction as necessary,
iv.Provide testers with a means of tracking the quality of the system under test
28. Consider the following techniques. Which are static and which are dynamic
techniques?
i. Equivalence Partitioning.
iv.Exploratory Testing.
v. Decision Testing.
vi. Inspections.
Data Flow Analysis and Inspections are static, Equivalence Partitioning, Use Case
Testing, Exploratory Testing and Decision Testing are dynamic.
29. Why are static testing and dynamic testing described as complementary?
Because they share the aim of identifying defects but differ in the types of defect they
find.
In contrast to informal reviews, formal reviews follow a formal process. A typical formal
review process consists of six main steps:
1. Planning
2. Kick-off
3. Preparation
4. Review meeting
5. Rework
6. Follow-up.
The moderator (or review leader) leads the review process. He or she deter-mines, in co-
operation with the author, the type of review, approach and the composition of the review
team. The moderator performs the entry check and the follow-up on the rework, in order
to control the quality of the input and output of the review process. The moderator also
schedules the meeting, disseminates documents before the meeting, coaches other team
members, paces the meeting, leads possible discussions and stores the data that is
collected.
An input or output range of values such that only one value in the range becomes a test
case.
Security Testing
35. Testing where in we subject the target of the test , to varying workloads to
measure and evaluate the performance behaviors and ability of the target and of the
test to continue to function properly under these different workloads. Load Testing
36. Testing activity which is performed to expose defects in the interfaces and in the
interaction between integrated components is:
Structure-based testing techniques (which are also dynamic rather than static) use the
internal structure of the software to derive test cases. They are com-monly called 'white-
box' or 'glass-box' techniques (implying you can see into the system) since they require
knowledge of how the software is implemented, that is, how it works. For example, a
structural technique may be concerned with exercising loops in the software. Different
test cases may be derived to exercise the loop once, twice, and many times. This may be
done regardless of the func-tionality of the software.
After the software has changed or when the environment has changed
Re-testing ensures the original fault has been removed; regression testing looks for
unexpected sideeffects
44. What type of review requires formal entry and exit criteria, including metrics?
Inspection 45. Could reviews or inspections be considered part of testing?
46. An input field takes the year of birth between 1900 and 2004 What are the
boundary values for testing this field ? 1899,1900,2004,2005
47. Which of the following tools would be involved in the automation of regression
test? a. Data tester b. Boundary tester c. Capture/Playback d. Output comparator.
d. Output comparator
48. To test a function,what has to write a programmer, which calls the function to be
tested and passes it test data.
Driver
49. What is the one Key reason why developers have difficulty testing their own
work?
Lack of Objectivity
The answer depends on the risk for your industry, contract and special requirements. 51.
When should testing be stopped? It depends on the risks for the system being tested.
52. Which of the following is the main purpose of the integration strategy for
integration testing in the small?
54. Given the following code, which statement is true about the minimum number of
test cases required for full statement and branch coverage?
Read p
Read q
IF p+q> 100
ENDIF
IF p > 50
ENDIF
Re-testing ensures the original fault has been removed; regression testing looks for
unexpected side-effects.
56. Which review is normally used to evaluate a product to determine its suitability
for intended use and to identify discrepancies?
Technical Review.
The techniques of equivalence partitioning and boundary value analysis are often applied
to specific situations or inputs. However, if different combinations of inputs result in
different actions being taken, this can be more difficult to show using equivalence
partitioning and boundary value analysis, which tend to be more focused on the user
interface. The other two specification-based tech-niques, decision tables and state
transition testing are more focused on business logic or business rules. A decision table is
a good way to deal with combinations of things (e.g. inputs). This technique is sometimes
also referred to as a 'cause-effect' table. The reason for this is that there is an associated
logic diagramming technique called 'cause-effect graphing' which was sometimes used to
help derive the decision table
By testers.
Author
61. A number of critical bugs are fixed in software. All the bugs are in one module,
related to reports. The test manager decides to do regression testing only on the
reports module.
Regression testing should be done on other modules as well because fixing one module
may affect other modules.
62. Why does the boundary value analysis provide good test cases?
Because errors are frequently made during programming of the different cases near the
‘edges’ of the range of values.
It is led by a trained leader, uses formal entry and exit criteria and checklists.
Because configuration management assures that we know the exact version of the
testware and the test object.
A software development model that illustrates how testing activities integrate with
software development phases
Test coverage measures in some specific way the amount of testing performed by a set of
tests (derived in some other way, e.g. using specification-based techniques). Wherever we
can count things and can tell whether or not each of those things has been tested by some
test, then we can measure coverage.
Because incremental integration has better early defects screening and isolation ability
69. When do we prepare RTM (Requirement traceability matrix), is it before test
case designing or after test case designing?
The would be before. Requirements should already be traceable from Review activities
since you should have traceability in the Test Plan already. This question also would
depend on the organisation. If the organisation do test after development started then
requirements must be already traceable to their source. To make life simpler use a tool to
manage requirements.
70. What is called the process starting with the terminal modules ?
Bottom-up integration
71. During which test activity could faults be found most cost effectively?
The answer depends on the risks for your industry, contract and special requirements 74.
Why we split testing into distinct stages? Each test stage has a different purpose.
75. Which of the following is likely to benefit most from the use of test tools
providing test capture and replay facilities? a) Regression testing b) Integration
testing c) System testing d) User acceptance testing
Regression testing
76. How would you estimate the amount of re-testing likely to be required?
Metrics from previous similar projects and discussions with the development team
Is it really a test if you put some inputs into some software, but never look to see whether
the software produces the correct result? The essence of testing is to check whether the
software produces the correct result, and to do that, we must compare what the software
produces to what it should produce. A test comparator helps to automate aspects of that
comparison.
81. Who is responsible for document all the issues, problems and open point that
were identified during the review meeting Scribe
84. When testing a grade calculation system, a tester determines that all scores from
90 to 100 will yield a grade of A, but scores below 90 will not. This analysis is known
as:
Equivalence partitioning
85. A test manager wants to use the resources available for the automated testing of
a web application. The best choice is Tester, test automater, web specialist, DBA
86. During the testing of a module tester ‘X’ finds a bug and assigned it to developer.
But developer rejects the same, saying that it’s not a bug. What ‘X’ should do?
Send to the detailed information of the bug encountered and check the reproducibility
Big-Bang Testing
88. In practice, which Life Cycle model may have more, fewer or different levels of
development and testing, depending on the project and the software product. For
example, there may be component integration testing after component testing, and
system integration testing after system testing.
V-Model
89. Which technique can be used to achieve input and output coverage? It can be
applied to human input, input via interfaces to a system, or interface parameters in
integration testing.
Equivalence partitioning
90. “This life cycle model is basically driven by schedule and budget risks” This
statement is best suited for…
V-Model
92. The later in the development life cycle a fault is discovered, the more expensive it
is to fix. why?
Test boundary conditions on, below and above the edges of input and output equivalence
classes.
Test Environment
98. What can be though of as being based on the project plan, but with greater
amounts of detail?
Error Guessing is not a testing type nor testing method, does Error
Guessing always come with the experience. Usually error guessing
scope rely on the software tester involved which means who uses past
experience and intuition to determine what situations commonly cause
software or application failure, or which functionality leads to break or
release blocks.
There are no particular rules to define error guessing but yes always
Error Guessing will conduct on Ad-hoc basis. Whoever evolving the
Error Guessing testing should have complete knowledge on application
or Software functionality.
0 comments
Test Case Number: This column should be populated with the test
case number linked to the functional requirement.
Tested In: This column should be populated with the module that the
functional requirement has been tested in.
3 comments
Below are the few steps to define a testing policy in general but these
are not a standard steps again it will vary company to company.
What is Security testing and what are the main things to test in Security
Testing?
- Password cracking
- Vulnerability
- URL manipulation
- SQL injection
- Cross Site Scripting
- Spoofing
Trainee QA Responsibilities:
Senior QA Responsibilities:
Read and understand the requirements
Prepare module level or iteration level QA Test plan and
approach
Prepare test scenarios and Test cases
Prepare Automation test scripts
Review Test scenarios and Test cases prepared by team
members
Review Defects raised by team members and Defect analysis
daily status reports
Schedule KT session to team members
QA Lead Responsibilities:
Under stand the Business by attending meetings with the client
and business analysts
Prepare whole project Test plan and Approach
Prepare Daily and weekly status reports formats
Send weekly execution status reports to the shake holders
Resource planning
Have calls with customers weekly to update the project status
and test execution status
Automation frame works
Review the test design and automation scripts very high level
3 comments
1 comments
In PDCA cycle actual test execution will start during the Check Stage,
in Plan and Do phases management and leads will come up with the
plan and strategy and in Check stage testers will start execution and in
Act stage leads and management take decisions based on the issues
testers facing in Check stage.
Plan: Defines what to test, where to test and who to test and explains
time lines and testing cycles.
Act: Taking decision and supporting the team if any issues facing in
above steps
1 comments
What are the extension of script and object repository files in QTP?
While recording any script it stores Object as Test Object. For each and
every test object class checks whether this description is enough to
uniquely identify the object. If it is not, QTP adds assistive properties
to the test objects one by one to the description until it has a unique
description.
When ever test scripts runs it searches for a run-time object that
exactly matches the description of the test object. Always it will
expects to find a perfect match for both the mandatory and any
Assistive properties of test objectuses Smart Identification mechanism
to identify an object, even when the recorded description is no longer
accurate.
0 comments
First of all QTP is not a right option for the Loadtesting,the best option
will be Loadrunner.
First Method: If QTP not yet open then go to Start > Programs >
QuickTest Professional > QuickTest Professional then welcome window
opens now click Blank Test.
a. The other way is go to File menu > and click New then a blank test
opens.
b. Another way is or click the New button on the tool bar then a blank
test opens.
Second Method: If QTP is already open then check which add-ins are
loaded by selecting Help > About QuickTest Professional. If the Web
Add-in is not loaded, you must exit and restart QuickTest. When the
Add-in Manager opens, select the Web Add-in, and clear all other add-
ins. Go to File menu > click on New then blank test opens. Another
way is click the New button on the tool bar.
After Test run comeplete Test Fusion report displays all aspects of
the test run. a high-level results overview, an expandable Tree View of
the test specifying exactly where application failures occurred, the test
data used, application screen shots for every step that highlight any
discrepancies, and detailed explanations of each checkpoint pass and
failure. By combining TestFusion reports with QuickTest Professional,
you can share reports across an entire QA and development team.
1 comments
Now Click Run button or go to Test >and click Run then Run dialog box
will open. Then select New run results folder and accept the default
results folder name and click OK button then Run dialog box will close.
How to confirm that all images are saved to the test results or
not?
QTP allows you to determine when to save images to the test results.
Choose Tools > Options and select the Run tab. In the Save step
screen capture to test results option, select Always then click OK
button to close the Options dialog box. Then automatically all the
images will save in the test results.
0 comments
Select File > and click Save or the another way is click the Save button
on tool bar then Save dialog box opens to the Tests folder.Now create
a folder to save the script then type your test name in the File name
field and click Save. After successfully script saved test name should
display in the title bar of the main QuickTest window.
0 comments
All images are as push button than we can check the property enabled
or disabled. After verifying not able to find the image property then
have to go object repository for specific image object and click on
add/Remove button to add the available properties to the image
object.
And if we take it as image then we have to check visible or invisible
property that will help to know enable or disable properties for the
image object.
Another way:
The Image Checkpoint does not have any property to verify the
enable/disable property.Here one thing we have to check that is first
find out from the Developer if developer is showing different images
for activating/deactivating for example grayed out image.
To Open QTP : choose Start > Programs > QuickTest Professional >
QuickTest Professional. or click QuickTest short cut key on Desktop.
After following the above step Add-in Manager dialog box opens, to
confirm that select Web Add-in and clear all other add-ins then click
OK to close the Add-in Manager and open QuickTest.
1. Choose Test > Record or click the Record button The Record and
Run Settings dialog box opens.
2. In the Web tab, select Open the following browser when a record or
run session begins.
3. Now select browser from the Type list and confirm that the
URL(application URL) in the Address box.
4. Next in the Windows Applications tab, confirm that Record and run
on those applications is selected
5. And finally Click OK.
6. Now QTP begins recording, and browser opens the specified web
application
0 comments
1. Preparing to recording
2. Recording
3. Enhancing your script
4. Debugging
5. Run
6. Analyze
7. Report Defects (more…)
QTP stores the definitions for application objects in a file called the
Object Repository. QTP will add an entry for each item what we
interact with which mean all the objects of an application. Each Object
Repository entry will be identified by a logical name, and will contain a
set of properties that uniquely identify each object.
Each line in the script will contain a reference to the object that we
interacted with, a call to the appropriate method and any parameters
for that method. The references to objects in the script will all be
identified by the logical name, rather than any physical, descriptive
properties.
1 comments
1. Method Argument
2. Data Driven
3. Dynamic
QTP have two views those are Expert view and Keyword View, The
Expert View provides an alternative to the Tree View for testers who
are familiar with VBScript. The Expert View shows the recorded scripts
in VBScript and enhance it with programming. And The Expert View
displays the steps which are executed while recording in VBScript.
After recording any test, can increase its power and flexibility by
adding recordable and non-recordable VBScript statements.
Advanced testers who are know the VB script 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.
Validation: Validation is finding defects by executing test cases or testing the product.
137. What steps are needed to develop and run software tests?
The following are some of the steps to consider: - Obtain
requirements, functional design, and internal design specifications and
other necessary documents - Obtain budget and schedule
requirements - Determine project-related personnel and their
responsibilities, reporting requirements, required standards and
processes (such as release processes, change processes, etc.) -
Identify application's higher-risk aspects, set priorities, and determine
scope and limitations of tests - Determine test approaches and
methods - unit, integration, functional, system, load, usability tests,
etc. - Determine test environment requirements (hardware, software,
communications, etc.) -Determine testware requirements
(record/playback tools, coverage analyzers, test tracking, problem/bug
tracking, etc.) - Determine test input data requirements - Identify
tasks, those responsible for tasks, and labor requirements - Set
schedule estimates, timelines, milestones - Determine input
equivalence classes, boundary value analyses, error classes - Prepare
test plan document and have needed reviews/approvals - Write test
cases - Have needed reviews/inspections/approvals of test cases -
Prepare test environment and testware, obtain needed user
manuals/reference documents/configuration guides/installation guides,
set up test tracking processes, set up logging and archiving processes,
set up or obtain test input data - Obtain and install software releases -
Perform tests - Evaluate and report results - Track problems/bugs and
fixes - Retest as needed - Maintain and update test plans, test cases,
test environment, and testware through life cycle
143. What if the project isn't big enough to justify extensive testing?
Consider the impact of project errors, not the size of the project.
However, if extensive testing is still not justified, risk analysis is again
needed and the same considerations as described previously in 'What
if there isn't enough time for thorough testing?' apply. The tester
might then do ad hoc testing, or write up a limited test plan based on
the risk analysis.
152. What's the difference between black box and white box testing?
Black-box and white-box are test design methods. Black-box test
design treats the system as a “black-box”, so it doesn't explicitly use
knowledge of the internal structure. Black-box test design is usually
described as focusing on testing functional requirements. Synonyms
for black-box include: behavioral, functional, opaque-box, and closed-
box. White-box test design allows one to peek inside the “box”, and it
focuses specifically on using internal knowledge of the software to
guide the selection of test data. Synonyms for white-box include:
structural, glass-box and clear-box. While black-box and white-box are
terms that are still in popular use, many people prefer the terms
'behavioral' and 'structural'. Behavioral test design is slightly different
from black-box test design because the use of internal knowledge isn't
strictly forbidden, but it's still discouraged. In practice, it hasn't proven
useful to use a single test design method. One has to use a mixture of
different methods so that they aren't hindered by the limitations of a
particular one. Some call this 'gray-box' or 'translucent-box' test
design, but others wish we'd stop talking about boxes altogether.It is
important to understand that these methods are used during the test
design phase, and their influence is hard to see in the tests once
they're implemented. Note that any level of testing (unit testing,
system testing, etc.) can use any test design methods. Unit testing is
usually associated with structural test design, but this is because
testers usually don't have well-defined requirements at the unit level
to validate.
154. Why is it often hard for management to get serious about quality
assurance?
Solving problems is a high-visibility process; preventing problems is
low-visibility.This is illustrated by an old parable:In ancient China there
was a family of healers, one of whom was known throughout the land
and employed as a physician to a great lord. The physician was asked
which of his family was the most skillful healer. He replied, "I tend to
the sick and dying with drastic and dramatic treatments, and on
occasion someone is cured and my name gets out among the
lords.""My elder brother cures sickness when it just begins to take
root, and his skills are known among the local peasants and
neighbors." "My eldest brother is able to sense the spirit of sickness
and eradicate it before it takes form. His name is unknown outside our
home."
159. What are the table contents in testplans and test cases?
Test Plan is a document which is prepared with the details of the
testing priority. A test Plan generally includes: 1. Objective of
Testing2. Scope of Testing3. Reason for testing4. Timeframe5.
Environment6. Entrance and exit criteria7. Risk factors involved8.
Deliverables
161. How did you use automating testing tools in your job?
1. For regression testing2. Criteria to decide the condition of a
particular build3. Describe some problem that you had with
automating testing tool.The problem of winrunner identifying the third
party controls like infragistics control.
167. How you will evaluate the tool for test automation?
We need to concentrate on the features of the tools and how this could
be beneficial for our project. The additional new features and the
enhancements of the features will also help.
178. How to find that tools work well with your existing system?
1. Discuss with the support officials2. Download the trial version of the
tool and evaluate3. Get suggestions from people who are working on
the tool
179. Describe some problem that you had with automating testing tool
1. The inability of winrunner to identify the third party control like
infragistics controls2. The change of the location of the table object will
cause object not found error.3. The inability of the winrunner to
execute the script against multiple languages
182. How to find that tools work well with your existing system?
To find this, select the suite of tests which are most important for your
application. First run them with automated tool. Next subject the same
tests to careful manual testing. If the results are coinciding you can
say your testing tool has been performing.
183. How will you test the field that generates auto numbers of AUT
when we click the button 'NEW" in the application?
We can create a textfile in a certain location, and update the auto
generated value each time we run the test and compare the currently
generated value with the previous one will be one solution.
184. How will you evaluate the fields in the application under test
using automation tool?
We can use Verification points(rational Robot) to validate the fields
.Ex.Using objectdata, objectdata properties VP we can validate fields.
185. Can we perform the test of single application at the same time
using different tools on the same machine?
No. The Testing Tools will be in the ambiguity to determine which
browser is opened by which tool.
189. What are the problems encountered during the testing the
application compatibility on different browsers and on different
operating systems
Font issues, alignment issues
191. How testing is proceeded when SRS or any other document is not
given?
If SRS is not there we can perform Exploratory testing. In Exploratory
testing the basic module is executed and depending on its results, the
next plan is executed.
It is oriented to 'prevention'. (See the Books section for a list of useful books on Software
Quality Assurance.)
Organizations vary considerably in how they assign responsibility for QA and testing.
Sometimes they're the combined responsibility of one group or individual. Also common
are project teams that include a mix of testers and developers who work closely together,
with overall QA processes monitored by project managers. It will depend on what best
fits an organization's size and business structure.
8.What is a 'walkthrough'?