Ste w19 DBL Odd
Ste w19 DBL Odd
(Autonomous) (Autonomous)
(ISO/IEC - 27001 - 2013 Certified) (ISO/IEC - 27001 - 2013 Certified)
1|3 3 2|3 3
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous) (Autonomous)
(ISO/IEC - 27001 - 2013 Certified) (ISO/IEC - 27001 - 2013 Certified)
5|3 3 6|3 3
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous) (Autonomous)
(ISO/IEC - 27001 - 2013 Certified) (ISO/IEC - 27001 - 2013 Certified)
The skill is relatively easy to learn, and once you've attained riskier the project will be—and, at the same time, the less
some mastery your quick-attack session will probably valuable this technique will be.
produce a few bugs. d) State-Transition Diagrams
Finally, quick attacks are quick. In this technique the state transition diagram is prepared with respect
They can help you to make a rapid assessment. You may not to the applied inputs and produced output. It clearly shows how the
know the requirements, but if your attacks yielded a lot of state transition of software takes place from one to another and
bugs, the programmers probably aren't thinking about hence can be useful to find the defects.
exceptional conditions, and it's also likely that they made One of the example is as shown in the diagram below:
mistakes in the main functionality.
If your attacks don't yield any defects, you may have some
confidence in the general, happy-path functionality.
ii. Weaknesses
Quick attacks are often criticized for finding "bugs that don't
matter"— especially for internal applications.
While easy mastery of this skill is strength, it creates the risk
that quick attacks are "all there is" to testing; thus, anyone Figure 4: State Transition Map
who takes a two day course can do the work. i. Strengths
b) Equivalence and Boundary Conditions Mapping out the application provides a list of immediate,
i. Strengths powerful test ideas.
Boundaries and equivalence classes give us a technique to Model can be improved by collaborating with the whole
reduce an infinite test set into something manageable. team to find "hidden" states—transitions that might be
They also provide a mechanism for us to show that the known only by the original programmer or specification
requirements are "covered". author.
ii. Weaknesses Once you have the map, you can have other people draw
The "classes" in the table in Figure 1 are correct only in the their own diagrams, and then compare theirs to yours.
mind of the person who chose them. The differences in those maps can indicate gaps in the
We have no idea whether other, "hidden" classes exist—for requirements, defects in the software, or at least different
example, if a numeric number that represents time is expectations among team members.
compared to another time as a set of characters, or a "string," ii. Weaknesses
it will work just fine for most numbers. The map you draw doesn't actually reflect how the software
c) Common Failure Modes will operate; in other words, "the map is not the territory."
i. Strengths Drawing a diagram won't find these differences, and it might
The heart of this method is to figure out what failures are even give the team the illusion of certainty.
common for the platform, the project, or the team; then try Like just about every other technique on this list, a state-
that test again on this build. transition diagram can be helpful, but it's not sufficient by
If your team is new, or you haven't previously tracked bugs, itself to test an entire application.
you can still write down defects that "feel" recurring as they e) Use Cases and Soap Opera Tests
occur—and start checking for them. Use cases and scenarios focus on software in its role to enable a
ii. Weaknesses human being to do something.
In addition to losing its potency over time, this technique i. Strengths
also entirely fails to find "black swans"—defects that exist Use cases and scenarios tend to resonate with business
outside the team's recent experience. customers, and if done as part of the requirement process,
The more your team stretches itself (using a new database, they sort of magically generate test cases from the
new programming language, new team members, etc.), the requirements.
9|3 3 10 | 3 3
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous) (Autonomous)
(ISO/IEC - 27001 - 2013 Certified) (ISO/IEC - 27001 - 2013 Certified)
evaluate it with expected behavior. It includes black box testing d) A number of test tools cannot distinguish between a product
methodology such as system testing and unit testing. failure and a test failure. This increases analysis time and manual
The testing methods evaluate the product with respect to testing. The test tools may not provide the required amount of
requirements defined; designs created and mark it as pass or fail. trouble-shooting/debug/error messages to help in analysis.
3.Operational techniques: Operational techniques typically For example, in case of GUI testing, the test tools may determine
include auditing work products and projects to understand the results based on messages and screen coordinates at run-time.
whether the processes defined for development /testing are Hence, if the screen elements of the product are changed, it requires
being followed correctly or not, and also whether they are the test suite to be changed. The test tool must have some
effective or not. It also includes revisiting the defects before and intelligence to proactively find out the changes that happened in the
after fixing and analysis. Operational technique may include product and accordingly analyze the results.
smoke testing and sanity testing of a work product. 2) Technology Expectations:
d Enlist factors considered for selecting a testing tool for test 4M a) In general, test tools may not allow test developers to extend /
automation. modify the functionality of the framework. So, it involves going
Ans The following factors are important during tool selection: Any relevant back to the tool vendor with additional cost and effort. Very few
i. Assessment of the organization’s maturity (e.g. readiness for factors minimum tools available in market provide source code for extending
change); 4M functionality or fixing some problems. Extensibility and
ii. Identification of the areas within the organization where tool customization are important expectations of a test tool.
support will help to improve testing processes; b) A good number of test tools require their libraries to be linked
iii. Evaluation of tools against clear requirements and objective with product binaries. When these libraries are linked with the
criteria; source code of the product, it is called as the “instrumented code”.
iv. Proof-of-concept to see whether the product works as desired This causes portion of testing be repeated after those libraries are
and meets the requirements and objectives defined for it; removed, as the results of certain types of testing will be different
v. Evaluation of the vendor (training, support and other and better when those libraries are removed. For example, the
commercial aspects) or open-source network of support; instrumented code has a major impact on the performance testing
vi. Identifying and planning internal implementation (including since the test tools introduce an additional code and there could be
coaching and mentoring for those new to the use of the tool). a delay in executing the additional code.
c) Finally, test tools are not 100% cross-platform. They are
OR supported only on some O.S. platforms and the scripts generated
from these tools may not be compatible on other platforms.
The industry experts have suggested following four major Moreover, many of the test tools are capable of testing only the
criteria for selection of testing tools. product, not the impact of the product/test tool to the system or
1) Meeting requirements. network. When there is an impact analysis of the product on the
2) Technology expectations. network or system, the first suspect is the test tool and it is
3) Training / skills. uninstalled when such analysis starts.
4) Management aspects. 3) Training Skills:
1) Meeting Requirements: Test tools require plenty of training, but very few vendors provide
a) There are many tools available in the market today but rarely do the training to the required level. Organization-level training is
they meet all the requirements of given product or a given needed to deploy the test tools, as the users of the test suite are not
organization. Evaluating different tools for different requirements only the test team but also the development team and other areas like
involves lot of effort, money and time. Huge delay is involved in SCM (Software Configuration Management). Test tools expect the
selecting and implanting test tools. users to learn new language/scripts and may not use standard
b) Test tools may not provide backward or forward compatibility languages/scripts. This increases skill requirements for automation
with the product-under-test (PUT). and increases the need for a learning curve inside the organization.
c) Test tools may not go through the same amount of evaluation for 4) Management Aspects:
new requirements. For example: some tools had Y2K-problem.
13 | 3 3 14 | 3 3
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous) (Autonomous)
(ISO/IEC - 27001 - 2013 Certified) (ISO/IEC - 27001 - 2013 Certified)
It captures all the relevant information of defect repository for a c Describe the process of preparing summary report in test 4M
product. The information that a defect repository includes planning.
Defect details Ans Preparing test summary report Process of
Defect test detail At the completion of a test cycle, a test summary report is produced. preparing
Fix details This report gives insights to the senior management about the fitness summary report
Communication of the product for release. There are two types of reports that are in test planning
2. Defect repository required: 4M , any other
It captures all the relevant information of defect repository for a 1. The Incident Report relevant answer
product. The 2. Test Cycle Report shall be given
information that a defect repository includes 3. Test Summary Report Marks.
Defect details A summary report should present the following things:
Defect test detail 1. A summary of the activities carried out during the test cycle;
Fix details 2. Variance of the activities carried out from the activities planned;
3. Summary of results should include tests that failed and severity
Communication
of impact of defect;
3. Configuration Management (CM) repository and tool
4.Comprehensive assessment and recommendation for release
Software Configuration Management is defined as a process to
should include “Fit for release” assessment and Recommendation of
systematically manage, organize, and control the changes in the
release
documents, codes, and other entities during the Software
Development Life Cycle.
It keeps track of change control and version control of all the
files/entities that make up a software product. Change control
ensures that
Changes to test files are made in a controlled fashion and
only with proper approvals
Change are made by one test engineer are not accidently
lost or overwritten by other changes
Each change produces distinct version of the file that is
re-creatable at any point of time
Everyone gets access to only the most recent version of
the test files.
17 | 3 3 18 | 3 3
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous) (Autonomous)
(ISO/IEC - 27001 - 2013 Certified) (ISO/IEC - 27001 - 2013 Certified)
21 | 3 3 22 | 3 3
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous) (Autonomous)
(ISO/IEC - 27001 - 2013 Certified) (ISO/IEC - 27001 - 2013 Certified)
It
Proper
Radio should
radio
button select
button
should be the Pass
is
selected. proper
selecte
Gender F or M radio
d
TC3 field button
Date
format
It
not Accept
should
before ed the Pass
accept
the date
date
Date of current
TC4 admission date
It
should
Any accept
numerica the Accept
l data number ed the Pass
greater greater age
than or than or
6. Attempt any Three of the following: 12M
equal to equal to
a Design test cases for hostel admission form of your institute. 4M
TC5 Age field 16 16
Ans 6 test cases of
Valid It
Test test cases for
Test case Input Expecte Actual Statu alpha should Accept
case hostel admission
objective data d result result s numeric accept ed the Pass
ID form of institute :
Address character the address
Any 6 M; 1M each;
It Student TC6 field s address
valid any other valid
should s name It
alphabeti test cases shall be Pin
accept is Pass Valid 6 should
cal considered code
the accepte digits accept Pass
Student character accepte
name d numeric the valid
TC1 name field s (John) d
TC7 Pin code format pin code
It
should b 4M
It Design a test plan along with the test cases for edit function in
Date accept
accepte notepad.
format the date
d the Pass Ans Any 3 valid test
before less than
valid cases 3 M ; 1M
the the
date each for edit
Date of current current
function in
TC2 birth field date date
notepad test plan
3M
25 | 3 3 26 | 3 3
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous) (Autonomous)
(ISO/IEC - 27001 - 2013 Certified) (ISO/IEC - 27001 - 2013 Certified)
c Draw a diagram for defect life cycle and write example for
defect template.
Ans Defect life cycle Defect life cycle
diagram : 3 M;
defect template :
3M
29 | 3 3 30 | 3 3
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
Attachm
ents
Defect High
Severity
Defect High
Priority
Assigned XYZ
To
Status Assigned
33 | 3 3