STE Solution
STE Solution
1.(a) 2
1.(a) 2 1.(a) 2 1(e) 2
1.(a) 1(a) 2
1(d) 2 1(b) 2 1(g) 2 2
1(d) 1(d) 2
1(g) 2 1(c) 2 2(a) 4 2
1(g) 1(g) 2
2(a) 4 2(a) 4 3(a) 4 2
Basics of Software Testing 2(a) 2(a) 4
1 3(a) 4 2(b) 4 4(e) 4 4
& Testing methods 3(a) 3(a) 4
5(a) 6 4(a) 4 5(a) 6 4
5(a) 5(a) 6
5(a) 6 6(a) 6 6
6(a) 6
Q5 a Design test cases for Online Mobile Recharge (Data filed are mobile number, state, email-id, recharge
amount.)
Winter- Unit 1 Q1 a Define static and dynamic testing. 2
2019 Q1 d Enlist objectives of software testing. 2
Q1 g Define Bug, Error, Fault and Failure. 2
Q5 a Design test cases for railway reservation system. 6
Q 6 a Design test cases for hostel admission form of your institute. 6
Summer- Unit 2 Q 1 b Compare Alpha testing and Beta testing. (Any two differences). 2
2024 Q2 b Explain GUI testing with example. 4
Q 4 a State the process of performance testing. 4
Q2 e Describe acceptance testing with its advantages. 4
Q 5 b With the help of diagram, describe client-server testing. 6
Q 6 a Explain the need of stubs and drivers with diagram and its importance in software testing. 6
Q4 e Explain following concepts related to security testing – i) Authorization. ii) Access Control. 4
Q 5 b With respect to client-server testing design test cases for Online Payment TrSolution:fer at banking system. 6
Q 6 a With respect to GUI testing, write test cases for Flipkart login form. 6
Winter- Unit 3 Q3 b Prepare Test Plan for Notepad Application. (Windows based). 4
2023 Q 4 c What is Test Plan? What is its need? List test planning activities. 4
Q 4 d Prepare defect report for login field of email application. 4
Q 4 e State any four limitations of manual testing. 4
Q 3 b Explain test management with Test Infrastructure Management and Test People Management. 4
Q4 b Explain test reporting with executing test cases and preparing test summary report. 4
Q4 c Explain test case specification. 4
Q6 b Prepare a test plan along with test cases for creating a saving account at bank. (Test cases should be 6
atleast six).
Winter- Unit 3 Q1 c Enlist any two activities involved in test planning. 4
2019 Q2 c State the contents of ‘Test Summary Reports’ used in test reporting. 4
Q4 b Describe test infrastructure management. 4
Q4 c Describe the process of preparing summary report in test planning. 6
Q6 b Design a test plan along with the test cases for edit function in notepad.
Summer- Unit 4 Q 1 e State the classification of defects. 2
2024 Q 4 Explain defect management process with suitable diagram. 4
Q 6 c Draw a diagram for defect life cycle and write example for defect template. 6
Summer- Unit 5 Q 1 f State the need of automated testing tool. (Any two). 2
2024 Q 2 d Differentiate between static and dynamic testing tools. (any four points) 4
Q 3 d Give any four differences between manual and automated testing. (Any 4 points) 4
Q 4 d Describe any four limitations of manual testing. 4
Q 5 C How to select a testing tool? Explain in detail. 6
Q 1 g Define the terms error and defect in relation with software testing 1 mark
Solution: for each
Refer Q1 g of Winter 2019 definition
Q2 a Write any four differences between quality assurance and quality control. 1 mark
Solution: for each
Refer Q3 a of Summer 2022 differenc
e
Q3 a Distinguish between white box testing and black box testing. (any four points) 1 mark
Solution: for each
Refer Q3 a of Winter 2022 differenc
e
Q5 a Prepare and write six test cases for Library Management System of college. 1 mark
Solution: for each
test
cases
Examination Paper Analysis and Solution
Test Test Case Name Actual Input Expected Actual Output Status
Case output
No
TC1 User 1.Enter Username: Login should be Login is done Pass
Authentication “22203A0011” done successfully.
2.Enter successfully.
Password=”sandip@1234”
TC2 Borrowing Book Enter Book Name: “Data 1.Book should be 1.Book is issued Pass
structure using C” issued to to student.
student. 2. Book is
2.Book marked marked as
as borrowed borrowed in the
database.
TC3 Borrowing Book Enter Book Name: It should display It is displaying Pass
“123abcd” message “Enter message “Enter
Valid Book Valid book name”
Name”
TC4 Borrowing Book Enter Book Name: “Data It should display It is displaying pass
(Not available in structure and algorithm” message "Book message: "Book
library) not available" not available"
Examination Paper Analysis and Solution
TC5 Returning Book Return a borrowed book It should mark It is marking pass
Book as returned Book as returned
in student and in student and
library database. library database.
TC6 Fine calculation Return a book after the due It should display Fine calculated pass
date calculated fine in and displayed in
student login. student login.
TC7 Notification after 1.Enter book Name: “Data Student should Student receives Pass
borrowing book structure and algorithm” Receive notification for
2.Collect book from notification for successfully
librarian. successfully borrowed books
borrowed books
Q2 a State the entry and exit criteria for software testing. 2 mark
Solution: for entry
Refer Q2 a of Winter 2022 criteria
and 2
marks for
Examination Paper Analysis and Solution
exit
criteria
Q 4a What is boundary value analysis? Explain with suitable example 2 marks
Solution: explanati
• Most of the defects in software products hover around conditions and boundaries. on and 2
• Boundary value analysis is another black box test design technique and it is used to find the errors at boundaries marks for
of input domain rather than finding those errors in the center of input. example
• Each boundary has a valid boundary value and an invalid boundary value.
• Test cases are designed based on the both valid and invalid boundary values. Typically, we choose one test case
from each boundary.
• The basic idea in boundary value testing is to select input variable values at their:
• Minimum
• Just below the minimum
• Just above the minimum
• Just below the maximum
• Maximum
• Just above the maximum
Example :Input Box should accept the Number 1 to 10
Here we will see the Boundary Value Test Cases
VERIFICATION PHASE
Requirement analysis
• Communicate with customer.
• Management tries to understand requirements from a customer point of view.
Testing activity
• Acceptance test designing planning is done.
System design
• Complete study of requirement detailing user, hardware, software, databases and communication setup for the
product.
Testing activity
• System test designing is done.
Architectural Design
• Architects analyze system design documents.
• Architectural specifications are understood and designed.
• o High level decisions are taken place like programming language, memory, communication protocols, controller
and many more.
• System design broken into modules (high level design)
Testing activity
• Integration test designing is done.
Module Design
• Developer refers to the blueprint of software.
• Detail internal design for all module is done (low level design).
Testing activity
• Unit test designing is done.
Examination Paper Analysis and Solution
Coding
• The best suitable programming language is decided based on the system and Architectural requirements.
• System modules designed in the design phase are taken up in the coding phase.
• The coding is performed based on the coding guidelines and standards.
VALIDATION PHASE
Unit testing
• Unit tests designed in the module design phase are executed on the code during this validation phase.
• Unit testing is the testing at code level and helps eliminate bugs at an early stage.
Integration testing
• Integration tests are performed to test the coexistence and communication of the Internal modules within the
system.
System Testing
• System tests check the entire system functionality and the communication of the system under development with
external systems.
• Most of the software and hardware compatibility issues can be uncovered during system test execution.
Acceptance Testing
• Acceptance testing is associated with the business requirement analysis phase and involves testing the product
in the user environment.
• Acceptance tests uncover the compatibility issues with the other systems available in the user environment.
• It also discovers non-functional issues such as load and performance defects in the actual user environment.
Winter- Q1 a Define the testing terminology – i) Error ii) Fault iii) Defect iv) Bug ½ mark
2022 for each
Solution: definition
Refer Q1 g of Winter 2019
Q1 e Compare verification and validation (any two points). 1 mark
Solution: for each
point
Examination Paper Analysis and Solution
Q2 a State the Entry and Exit criteria for software testing. 2 mark
Solution: for entry
criteria
Entry criteria 2 mark
for exit
Entry criteria are the condition or the set of conditions, which should exist or bemet to start a criteria
process.
Let's see some of the conditions or situations which may be seen as an entrycriterion for the
initiation of testing activities.
Examination Paper Analysis and Solution
o Availability of the test environment supporting necessary hardware, software, network configuration,
settings and tools for the purpose of test execution.
Exit criteria
• Exit Criteria is often viewed as a single document concluding the end of a life cycle
phase.
• Let's see some of the conditions or situations which may be seen as an exitcriterion for
testing activities.
• Testing Deadline
• Bug rates fall below certain level and no high priority bugs are identified.
• Management decision.
Examination Paper Analysis and Solution
Q3 a Differentiate between white box testing and black box testing (any four points). 1 mark
Solution: for each
Refer Q3 a of Winter 2022 point
Q4 e Write the test cases for Notepad application. (any eight-test case) ½ marks
for each
Solution: test case
Examination Paper Analysis and Solution
Examination Paper Analysis and Solution
Examination Paper Analysis and Solution
Q5 a Design test cases for simple calculator application. (Black box testing.) (Any six points.) 1 mark
for each
Solution: test
cases
Sr No Test case Actual Input Expected Actual output status
Name output
TC-1 Addition 100+1000 It should It is displaying pass
display addition =1100
addition=1100
TC-2 Subtraction 1000-100 It should It is displaying pass
display subtraction
subtraction =900
=900
TC-3 Multiplication It should It is displaying pass
10*100 display multiplication
multiplication =1000
=1000
TC-4 Division 100/10 It should It is displaying pass
display division division =10
=10
TC-5 Addition 20.5+20.5 It should It is displaying Pass
display addition=41
addition=41
TC-6 Division 1/0 It should It is displaying Pass
display message
message “Cannot be
“Cannot be divided by zero”
divided by zero”
Q6 a Write program for calculating even numbers from 1 to 20 And design test cases for the same. 2 marks
for
Solution: program
Examination Paper Analysis and Solution
4 marks
Program: for test
#include <stdio.h> cases
#include<conio.h>
Void main()
{
Int I;
For(I=1 ;I<=20;i++)
{
If (I%2==0)
{
Printf(“Number is even”);
}
else
{
Printf(“Number is odd”);
}
}
getch();
}
“Number is
odd”
TC-4 Even Number 20 It should It is displaying pass
display “Number is
“Number is even”
even”
Q1 d Define following terms – i) Error. ii) Fault. iii) Bug. iv) Failure.
Solution: ½ mark
Refer Q1 g of Winter 2019 for each
Q1 f Enlist any four skills for software tester. definition
Solution:
1)Analytics skills
2)Communication skills
3)Knowledge of test management tools
Examination Paper Analysis and Solution
4) Negotiation skills
Code complexity is the extent to which a software program or system is challenging to understand, maintain, and modify.
It measures how hard it is to understand a program's logic, structure, and organization and how much effort is required to
make changes.
Code complexity can arise from many factors, including the size of the codebase, the number of modules and
dependencies, the depth of nesting and inheritance, and the use of complex algorithms and data structures.
Any valid
For Code Complexity Testing following method is used: explanati
on
Cyclomatic complexity is a software metric used to measure the complexity of a program. 2marks
1.These metrics measure independent paths through program source code.
2.Cyclomatic complexity can be calculated with respect to functions, modules, methods, or classes within a program.
3.This metric was developed by Thomas J. McCabe in 1976 and it is based on a control flow representation of the
program.
4.Control flow depicts a program as a graph which consists of Nodes and Edges.
5.A program is represented in the form of a flow graph.
6.Flow graph node , represents one or more procedural statements.
(A sequence of process boxes and a decision diamond can map into a single node)
7.The arrows on the flow graph, called edges or links, represent flow of control and are analogous to flowchart arrows.
8.Areas bounded by edges and nodes are called regions.
9.Each node that contains a condition is called a predicate node and is characterized by two or more edges emanating
from it.
10.When compound conditions are encountered in a procedural design, the generation of a flow graph becomes slightly
more complicated.
11. A compound condition occurs when one or more Boolean operators (logical OR, AND, NAND, NOR) is present in a
conditional statement.
Example:
Examination Paper Analysis and Solution
IF A = =10 THEN
IF B > C THEN
A=B
ELSE
A=C
ENDIF
ENDIF
Print A
Print B
Print C
1.No of Regions: 3
2.V(G)=E-N+2 =8-7+2=3
3.V(G) =No of predicate Node +1 =2+1=3
Q5 a Design test cases for Online Mobile Recharge (Data filed are mobile number, state, email-id, recharge 1 mark
amount.) for each
Solution: correct
test
cases
Dynamic Testing: Testing which is done without executing code is called dynamic testing.
Solution:
Refer Q1 d of Summer 2019 ½ mark
for each
objective
Solution:
Bug: The presence of error at the time of execution of the software.
• Most of the defects in software products hover around conditions and boundaries.
• Boundary value analysis is another black box test design technique, and it is used to find the errors at boundaries
of input domain rather than finding those errors in the center of input.
• Each boundary has a valid boundary value and an invalid boundary value.
• Test cases are designed based on both valid and invalid boundary values. Typically, we choose one test case
from each boundary.
2 marks
for
explanati
• The basic idea in boundary value testing is to select input variable values at their: on and 2
1. Minimum marks for
2. Just below the minimum example
3. Just above the minimum
4. Just below the maximum
5. Maximum
6. Just above the maximum
Examination Paper Analysis and Solution
Q3 a Describe the use of decision table in black box testing with the help of suitable example.
Solution:
Decision table is a software testing technique used to test system behavior for different input combinations.
• Decision table is a software testing technique used to test system behavior fordifferent input
combinations.
• This is a systematic approach where the different input combinations and them corresponding system
behavior (Output) are captured in a tabular form. That is why it is also called as a Cause-Effect table
where Cause and effects are captured for bettertest coverage.
The condition is simple if the user provides the correct username and password the user will be redirected to the
Examination Paper Analysis and Solution
homepage. If any of the input is wrong, an error message will be displayed. 2 marks
for
explanati
F WRONG on and 2
USERNAME/PASSWOR marks for
D IS DISPLAYED example
E ERROR MESSAGE IS
DISPLAYED
H HOME SCREEN IS
DISPLAYED
Interpretation:
Case 1 – Username and password both were wrong. The user is shown an error message.
Case 2 – Username was correct, but the password was wrong. The user is shown an error message.
Case 3 – Username was wrong, but the password was correct. The user is shown an error message.
Case 4 – Username and password both were correct, and the user navigated to homepage.
Examination Paper Analysis and Solution
Solution:
Showing
search station
TC-3 Search Station It should accept It accepted the pass
Search Station = “Mumbai the data data
Central (MMCT) "
TC-4 Date Click on departure date It should It is displaying pass
display calendar
calendar
TC-5 Date 1.Click on departure date It should accept It is accepting Pass
2.Select Date=”12/11/2023” date. date.
TC-6 Date 1.Click on departure date It should It is displaying Pass
(current display calendar of
date:8/2/2023) calendar of next 5 months (
next 5 months
(till 8/2/2024)
TC-7 Search Train 1. Click on Plan my It should go to It is going to pass
Button journey. next page and next page and
2. Click on From show all showing all
Button available train available train
3. Enter From
=Mumbai Central
4. Click on To Button
5. Enter To=New
Delhi
6. 2.Select
Date=”12/11/2023”
7.Click on Search Train
Button
Q 6 a Design test cases for hostel admission form of your institute. 1 mark
Solution: for each
Correct
test
cases
Examination Paper Analysis and Solution
4.Enter Mobile
Number=”9987749956”
5.Enter Roll
Number=”20203A0045”
Examination Paper Analysis and Solution
Stub: Stubs are dummy modules that always used to simulate the low-level modules.
Stubs are used when sub programs are under construction.
Stubs are used in top down approach.
Q3 a Differentiate between Alpha Testing and Beta Testing. (any four points). 1 mark
Solution: for each
Refer Q4 a Winter 2022 point
Examination Paper Analysis and Solution
Q4 b Explain the Regression Testing. State when the Regression testing shall be done. Explanati
Solution: on 2
mark
Regression testing a black box testing technique that consists of re-executing those tests that are impacted by the code ,need 2
changes. mark
ii. These tests should be executed as often as possible throughout the software development life cycle.
Types of Regression Tests:
i. Final Regression Tests: - A "final regression testing" is performed to validate the build that hasn't changed for a period
of time. This build is deployed or shipped to customers.
ii. Regression Tests: - A normal regression testing is performed to verify if the build has NOT broken any other parts of
the application by the recent code changes for defect fixing or for enhancement.
When to Perform:
Regression testing should be performed whenever there is a change in the software code, configuration, or environment.
For example, regression testing should be done after adding new features, fixing bugs, refactoring code, integrating
components, updating libraries, or migrating to a different platform. Regression testing should also be done before
releasing the software to the end-users or deploying it to the production environment.
Test
Expect ed Actual
No. Case Steps Input data Status
Result Result
-ID
Examination Paper Analysis and Solution
.
Examination Paper Analysis and Solution
For example, the average number of users working simultaneously on a system must be quantified, since performance
testing most commonly tests performance under workload stress. Testers should also determine maximum or peak user
performance or how the system operates under maximum workloads. Bandwidth is another necessary bit of information,
as is most users most frequent actions. Performance testing also validates and verifies other performance parameters
such as reliability and scalability. Performance testing can establish that a product lives up to performance standards
necessary for commercial release. It can compare two systems to determine which one performs better. Or they can use
profilers to determine the programs behavior as it runs. This determines which parts of the program might cause the
most trouble and it establishes thresholds of acceptable response times.
Q6 b Write important six test cases for the “Login Form” of the Facebook website. 6
Solution:
Examination Paper Analysis and Solution
Summer Unit 2 Q 1 b Compare Alpha testing and Beta testing. (Any two differences). 1 mark
2024 Solution: for
Refer Q4 a Winter 2022 differenc
e
Q 6 a Explain the need of stubs and drivers with diagrams and its importance in software testing. 2 marks
Solution: diagram
and 4
marks
explanati
on
Examination Paper Analysis and Solution
Stubs:
➢ Serve to replace modules that are subordinate to (called by) the component to be tested
➢ It can simulate the behavior of lower-level modules that are not integrated.
➢ They act as a temporary replacement of module and provide same output as actual product.
Driver:
➢ It can simulate the behavior of an upper-level module that is not integrated yet.
➢ Drivers modules act as the temporary replacement of module and act as the actual products.
➢ A simple main program that accepts test case data, passes such data to the component being tested, and prints
the returned results
By allowing individual modules to be tested in isolation, Stubs and Drivers help identify and fix defects early in the
development process. This isolation ensures that each component functions correctly, leading to higher reliability
and quality in the final software product.
Q2 b State and describe top-down approach of integration testing with diagram. 1 mark
Solution: for
diagram
Top-down integration 3 marks
• Modules are integrated by moving downward through the control hierarchy, beginning with the main for
module. explanati
➢ It takes help of dummy program called stub for testing. on
➢ Subordinate modules are incorporated in either a depth-first or breadth-first fashion.
Integration can be done in two ways:
➢ Depth First Method: All modules on a major control path are integrated.
➢ Breadth First method: All modules directly subordinate at each level are integrated.
➢ Stubs need to be created to substitute for modules that have not been built or tested yet; this code is later
discarded.
Q4 a Describe graphical user interface (GUI) testing and its important traits. 2 marks
Solution: for
explanati
on 2
GUI Testing marks for
There are two types of interfaces for a computer application. diagram
1.Command Line Interface is where you type text and the computer responds to that command.
2.GUI stands for Graphical User Interface where you interact with the computer using images rather than text.
• GUI testing is the process of testing the system's Graphical User Interface of the Application Under
Test.
• GUI testing involves checking the screens with the controls like menus, buttons, icons, and all types of
bars - toolbar, menu bar, dialog boxes and windows, etc.
• GUI is what the user sees. A user does not see the source code. The interface is visible to the user.
• Especially the focus is on the design structure, images that they are working properly or not.
Q4 c Describe load testing and stress testing with suitable examples. 2marks
Solution: for load
Load Testing testing
➢ Load testing is a type of non-functional testing.
➢ A load test is type of software testing which is conducted to understand the behavior of the application under a specific And
expected load. 2 marks
for stress
➢ Load testing is performed to determine a system’s behavior under both normal and at peak conditions.
testing
It helps to identify the maximum operating capacity of an application as well as any bottlenecks and determine which
element is causing degradation.
➢ Example: If the software operates on peripherals such as printer, or communication ports, connect as many as you
can. ➢ Example: If you are testing an internet server that can handle thousands of simultaneous connections, do it.
➢ Scenario like, most software it is important for it to run over long periods.
➢ Some software ‘s should be able to run forever without being restarted.
Stress Testing
➢ It is a type of non-functional testing.
➢ Stress testing is testing the software under less-than-ideal conditions.
➢ So subject your software to low memory, low disk space, slow CPU, and slow modems and so on.
➢ Look at software and determine what external resources and dependencies it has.
➢ Stress testing is simply limiting them to bare minimum. With stress testing you starve the software.
➢ The goals of such tests may be to ensure the software does not crash in conditions of insufficient computational
resources (such as memory or disk space).
Examination Paper Analysis and Solution
➢Example: The news website will crash or slow down when a major event happens; for example, when Michael Jackson
passed away, a maximum number of news websites are slow down, or some of them also crashed.
To overcome this situation, we need to perform stress testing on the application and be prepared to recover quickly in case
of any crashes or failure.
Example : Education board's result website. On the day of some results, many students, users, and applicants will logins
to the particular to check their grades. Therefore, the execution of stress testing helps identify the failure of the application
and evaluate the performance and recoverability when the ultimate load occurs in a short duration or when the result is
out.
Q5 b Design test cases for Web pages testing of any Web site (take a suitable example).
Solution: 6 test
cases for
6 Marks:
1marks
for each
valid test
cases
Examination Paper Analysis and Solution
Q2 b Differentiate between Smoke Testing and Sanity Testing. (any four points) 1mark
Solution: for each
valid
Smoke testing Sanity testing point
It is done to assure that the acute functionality of program It is done to check the bugs have been fixed after the
is working fine. build.
Smoke testing is also called subset of acceptance Sanity testing is also called subset of regression testing.
testing.
Smoke testing is performed by either developers or Sanity testing is normally performed by testers.
testers.
Smoke testing is done to measures the stability of the Sanity testing is done to measures the rationality of the
system/product by performing testing. system/product by performing testing.
Examination Paper Analysis and Solution
Smoke Testing is first performed on the initial build. Sanity Testing is done on stable builds or for the
introduced new features in the software.
Q4 a Describe Unit Testing. 1 mark
Solution: for
diagram
Unit Testing is a level of software testing where individual units/ components of a software are tested.
Purpose is to validate that each unit of the software performs as designed. 3 marks
Unit Testing is the first level of testing and is performed prior to Integration Testing. for
➢ A unit is the smallest testable part of software. explanati
➢ It is executed by the Developer. on
➢ Unit Testing is performed by using the White Box Testing method.
➢ Example: - A function, method, Loop, or statement in program is working fine.
Examination Paper Analysis and Solution
Q4 e Explain following concepts related to security testing – i) Authorization. ii) Access Control. 2 mark
Solution: for
explanati
Authorization: Testing the system’s ability to properly authenticate and authorize users and devices. This includes testing on of
the strength and effectiveness of passwords, usernames, and other forms of authentication, as well as testing the system’s each
access controls and permission mechanisms. concept
Access control is a method of limiting access to a system or to physical or virtual resources. It is a process by which
users can access and are granted certain privileges to systems, resources or information. Access control is a security
technique that has control over who can view different aspects, what can be viewed and who can use resources in a
computing environment. It is a fundamental concept in security that reduces risk to the business or organization.
Q 5 b with respect to client-server testing design test cases for Online Payment Transfer at banking system. 1 mark
Solution: for each
valid test
Precondition: User should login to banking website with valid credentials. case
Examination Paper Analysis and Solution
Q 6 a With respect to GUI testing, write test cases for Flipkart login form. 1 mark
for each
Solution: valid test
Prerequisite: User should be on www.flipkart.com cases
Examination Paper Analysis and Solution
Test Case No Test case Name Actual input Expected output Actual Output Status
TC-1 Already have an Click on already Link should be Link is clickable. pass
account link have an account clickable. It is going to login
link It should go to page
login page
TC-2 Login page Click on already It should show It is showing pass
have an account mobile number mobile number
link /email Id field in /email Id field in
form form
TC-3 Password Enter password It should show It is showing pass
=”123456” password in password in
encrypted form encrypted form
TC-4 Language option 1.click on login It should show It is showing page pass
option page content in content in hindi
2.click on hindi hindi
link
TC-5 Placement of text 1.click on login It should show It is showing pass
box and button on option mobile number mobile number
page /email Id, /email Id,
password field password field
and submit button and submit button
in form on proper in form on proper
position position
TC-6 Navigation 1.click on login It should convert It is converting pass
option arrow into cursor arrow into cursor
2.Go to mobile
number text box
Driver’s modules act as the temporary replacement of They act as a temporary replacement of module and
module and act as the actual products. provide same output as actual product.
Serve to replace main program that accepts test case data, Serve to replace modules that are subordinate to (called
passes such data to the component being tested, and by) the component to be tested.
prints the returned results.
For performing bottom up integration, we need driver. For performing top down integration we need stub.
Q4 a Differentiate between alpha and beta testing (any four points). 1 mark
Solution: for each
valid
point
Examination Paper Analysis and Solution
Q4 e State the testing approaches that are considered during client-server testing. Any four
approach
Solution: es :
Integration Testing
➢After successful testing of servers, clients, and network, they are brought together to form the system and system test
cases are executed.
➢ Communication between client and server is tested in integration testing.
Performance Testing
➢ System performance is tested when number of clients are communicating with server at a time.
➢ we can test the system under maximum load as well as normal load expected.
Concurrency Testing
➢ It may be possible that multiple users may be accessing same record at a time.
➢ Concurrency testing is required to understand the behavior of a system under such circumstances.
Compatibility Testing
➢ Servers may be in different hardware, software or operating environment than the recommended one.
➢ Client may differ significantly from the expected environmental variables.
➢ Testing must ensure that performance must be maintained on the range of hardware and software configurations.
Q 5 b with respect to GUI testing write the test cases for Amazon login form 1 mark
for each
Solution: valid test
Prerequisite: first login to www.amazon .in cases
Examination Paper Analysis and Solution
Test Case No Test case Name Actual input Expected output Actual Output Status
TC-1 Already have an Click on already Link should be Link is clickable. pass
account link have an account clickable. It is going to login
link It should go to page
login page
TC-2 Login page Click on already It should show It is showing pass
have an account mobile number mobile number
link /email Id field in /email Id field in
form form
TC-3 Password Enter password It should show It is showing pass
=”123456” password in password in
encrypted form encrypted form
TC-4 Language option 1.click on login It should show It is showing page pass
option page content in content in hindi
2.click on hindi hindi
link
TC-5 Placement of text 1.click on login It should show It is showing pass
box and button on option mobile number mobile number
page /email Id, /email Id,
password field password field
and submit button and submit button
in form on proper in form on proper
position position
TC-6 Navigation 1.click on login It should convert It is converting pass
option arrow into cursor arrow into cursor
2.Go to mobile
number text box
Summe Unit 3 Q1 c Define a test plan. 2 marks
r 2024 for
Solution: definition
Refer Q4 c Winter 2023
Q 2 c Describe the contents of "Test Summary Report' used in test reporting. Explanati
Solution: on 4
Refer Q2 c Winter 2019 marks
Examination Paper Analysis and Solution
Q 3 b Explain the need of test deliverables & test plan for test planning. ½ marks
Solution: for each
Refer Q4 b Winter 2022 deliverab
le
explanati
on
Q 6 bExplain in detail, how to prepare a test plan with suitable example. 6 marks
Solution: for
Refer Q6 b Winter 2019 example
Winter Unit 3 Q3 b Prepare Test Plan for Notepad Application. (Windows based). 4 marks
2023 Solution: for
Refer Q6 b Winter 2019 example
Q 4 c What is Test Plan? What is its need? List test planning activities. 1 mark
Solution: for
Test Plan definition
• A document describing the scope, approach, resources, and schedule of intended test activities. ,1 marks
for need
and 2
• It is a record of them in the test planning process. marks for
activities
• The test plan acts as the anchor for the execution, tracking and reporting of the entire testing project.
• Test Plan Ensures all Functional and Design Requirements are implemented as specified in the documentation.
• The test plan addresses various levels of testing for Unit testing, Integration testing, System Testing, and
acceptance testing.
• It explains who does testing, why test are performed, how tests are performed, how test are conducted and
when test are scheduled.
Examination Paper Analysis and Solution
2. Scope management
3. Deciding Test approach/ strategy
4. Setting up criteria for testing
5. Identifying responsibilities, staffing & Training needs:
6. Identifying Resource Requirement
7. Identifying Test Deliverables
8. Testing task
Winter Unit 3 Q1 c State any four needs to prepare a test plan. ½ mark
2022 Solution: for each
need
• It gives insight into testing activity completely.
• Test Plan Ensures all Functional and Design Requirements are implemented as specified in the documentation.
• The test plan addresses various levels of testing for Unit testing, Integration testing, System Testing, and
acceptance testing.
• It explains who does testing, why test are performed, how tests are performed, how test are conducted and
when test are scheduled.
Solution: 3 marks
for
Examination Paper Analysis and Solution
Q6 b Prepare test plan for ‘Cam Scanner’ which is installed on mobile. Template
2 marks
Correct
Solution: explanati
on 4
1 Test Plan Identifier TP_10 marks
2 Introduction: The purpose of this document is to create and test plan for camscanner. The purpose of
testing this program is to check the correct operation of its functionality and ease of use.
ID CARD
SCSOLUTION: DOCS
BOOK
Examination Paper Analysis and Solution
QR CODE
• PROCESS FILES
• PDF TOOLS
• TOOLS
• SHARE
• MOVE/COPY
• RENAME
• DELETE
5
Approac • On the test object: o functional o non-functional
h
• According to the requirements o positive o negative
• By degree of preparedness - intuitive testing (ad hoc)
6
Item Pass/Fail All test cases with high priority are closed with the result - pass.
Criteria:
The test coverage is checked and sufficient, where the criterion of sufficiency is not
less than99% of the coverage of requirements by tests.
The test report was compiled and approved by the team lead and customer.
Examination Paper Analysis and Solution
Resumption
Criteria: Closing the blocking bug in the bug tracking system
8
Test Deliverables Test plan, test case specification, test case, test summary report
Test Engineer 1
SCAN
Test Engineer 2
PROCESS FILES
1
3 Schedule The deadline for completion of all works and delivery of the project is 06/12/2023 by
5.00pm
1 Risks and
4 Contingencies • Insufficient human resources for testing the application in deadlines.
Possible risks
during testing • Changing the requirements for the product
Examination Paper Analysis and Solution
These standards are standards that a product should comply with, are externally visible and are usually stipulated by
external parties.
Q 3 b Explain test management with Test Infrastructure Management and Test People Management. Test
Infrastruc
Solution: ture
Manage
Ref Q 3b Winter 2019 ment 3
Marks
And
Test
People
Manage
ment
1 mark
Q4 b Explain test reporting with executing test cases and preparing test summary report. 2 marks
Solution: for each
explantio
Executing Test Cases n
Proper execution of test cases is essential which will minimize the work and reduce the time to release s/w product.
Test execution task:
• Follow the test procedures to execute test cases.
• Do the confirmation testing for the failed test cases.
• Log the result for test execution.
• Compare actual and expected results. In case of difference defect occurrence is reported.
Examination Paper Analysis and Solution
• Update defect database which is used to communicate between developer and tester team.
• So the execution of test cases will decide the suspension or resumption of further test cases.
Q6 b Prepare a test plan along with test cases for creating a saving account at bank. (Test cases should be at least six).
Solution:
Test Cases:
Examination Paper Analysis and Solution
Test Test case Actual Input Expected output Actual output Status
case Name
No
TC 1 Name Enter Name Number=” ” It should prompt message It is prompting message pass
enter valid name “ . “enter valid name.
TC 2 Aadhaar Enter Aadhar It should accept aadhaar It is accepting aadhaar pass
Number Number=”3695041821324 number. number.
TC 3 Date of Enter date of birth It should prompt message It is prompting message pass
birth =”25/04/2020” “Your age should be above “Your age should be
18”. above 18”.
TC 4 Mobile Enter Mobile It should accept mobile It accepts mobile pass
number number=9987745656” number. number.
TC 5 Email Id Enter Email Id=”xyz.sdf It should accept email id. It is accepting email id. pass
@vpt.edu.in”
TC 6 Address Enter address=” shiva It should accept address It is accepting address. pass
sadan ,thane 400605 “
Test Plan:
• Identify yourself.
• KYC
Examination Paper Analysis and Solution
• Contact details
• Your profile
• submission
5
Approac • On the test object: o functional o non-functional
h
• According to the requirements o positive o negative
• By degree of preparedness - intuitive testing (ad hoc)
6
Item Pass/Fail All test cases with high priority are closed with the result - pass.
Criteria:
The test coverage is checked and sufficient, where the criterion of sufficiency is not
less than99% of the coverage of requirements by tests.
The test report was compiled and approved by the team lead and customer.
Resumption
Criteria: Closing the blocking bug in the bug tracking system
8
Test Deliverables Test plan, test case specification, test case, test summary report
Examination Paper Analysis and Solution
1 Environmental Internet
0 needs Computer
Laptop
tab
Test Engineer 2
Identify yourself.
Test Engineer 3
KYC
Test Engineer 4
Contact details
1 Staffing and
2 Training Needs To perform the tasks, you need to have the following knowledge and skills:
1
3 Schedule The deadline for completion of all works and delivery of the project is 06/12/2023 by
5.00pm
1 Risks and
4 Contingencies • Insufficient human resources for testing the application in deadlines.
Possible risks
during testing • Changing the requirements for the product
Winter Unit 3 Q1 c Enlist any two activities involved in test planning. 1 mark
2019 Solution: for each
activity
Q2 c State the contents of ‘Test Summary Reports’ used in test reporting. 4 marks
Solution: for
correct
Test Summary Report A summary report should present the following things: content
1. Test Summary Report Identifier of test
2. A summary of the activities carried out during the test cycle. summary
3. Variance of the activities carried out from the activities planned. report
4. Summary of results should include:
5. Tests that failed with any root cause description and severity of impact of defect found by test.
Q 3 b Explain test management with Test Infrastructure Management and Test People Management. Test
Infrastru
Solution: cture
Manage
Test Infrastructure Management ment
3Marks
Test
People
Manage
ment
1 mark
Examination Paper Analysis and Solution
• Test Case
• Purpose: Record all the static information about the test.
• Attributes
Test case ID, Test case name, Test case Owner
• Test case product cross reference
• Purpose: Provides mapping between test and corresponding feature
Examination Paper Analysis and Solution
• Attributes
Test Case ID, Module ID
• Test case run history.
• Purpose: When was the test run? What was the result?
• Attribute: Test Case ID, Run date, Time taken, Status
• Test Case –Defect Cross Reference
• Purpose: Provides mapping between test case and defect
• Attribute: Test Case ID, Defect ID
• Defect Repository
• It captures relevant details of defect.
• It is tool of communication.
• Defect Metrics are derived from defect repository.
• Cut /Copy
• Paste
• DELETE
• Find
• Goto
Examination Paper Analysis and Solution
5
Approac • On the test object: o functional o non-functional
h
• According to the requirements o positive o negative
• By degree of preparedness - intuitive testing (ad hoc)
6
Item Pass/Fail All test cases with high priority are closed with the result - pass.
Criteria:
The test coverage is checked and sufficient, where the criterion of sufficiency is not
less than99% of the coverage of requirements by tests.
The test report was compiled and approved by the team lead and customer.
8
Test Deliverables Test plan, test case specification, test case, test summary report
Examination Paper Analysis and Solution
1 Environmental Notepad
0 needs Laptop/Computer
1
3 Schedule The deadline for completion of all works and delivery of the project is 06/12/2023 by
5.00pm
Examination Paper Analysis and Solution
1 Risks and
4 Contingencies • Insufficient human resources for testing the application in deadlines.
Possible risks
during testing • Changing the requirements for the product
Q2 c Enlist four attributes of defect. Describe them with suitable examples. 1 mark
Solution: for each
Attributes of defect: attribute
1) Defect ID: Identifies defect as there are many defects might identified in system. a. i.e. D1, D2, etc.
2) Defect Name: Name of defect which explains the defect in brief. a. It must be short but descriptive. i.e. Login error.
3) Project Name: Indicates project name in which defect is found e.g.: Library management system
Examination Paper Analysis and Solution
4) Module /Sub-module name: for which the defect is found. E.g. Login form
5) Phase introduced: Phase of life cycle to which the defect belongs to. e.g. 2
6) Phase found: Phase of project when the defect is found is added here. It is used to find defect leakage or stage.
7) Defect type: Defines defect type. e.g. security defects, functional defect, GUI defect etc.
8) Severity: Declared in test plan, e.g. high medium or low.
9) Priority: defines based on how the project decides a schedule to take the defects for fixing. e.g. High, low, Moderate
10) Summary: Describes short about the defect.
11) Description: Describes it in detail.
12) Status: dynamic field, open, assigned, resolved, closed, hold, deferred, or reopened, etc.
13) Reported by/ Reported on: Who found defect, and on what date.
14) Assigned to: The tester is being assigned to some testing team member.
Defect Prevention
• It is a process of improving quality and productivity by preventing the defects into a software product.
• It is virtually impossible to eliminate the defects altogether.
• Implementation of techniques, methodology and standard processes are used to reduce the risk of defects.
• Defect prevention is intended to remove the possibility of any defects before it occurs.
Deliverable Baselining
• Once the defect is fixed, retested and found to be closed, the product is created again .
• If the newly created product satisfies the acceptance criteria, it is base lined.
• Only base lined work products can go to the next stage.
Defect Discovery
• A defect is said to be discovered when it is brought to the attention of the developers and acknowledged
Examination Paper Analysis and Solution
• Team should find defects before they become major problems. As soon as team finds the defects, they
should report them so that those can be resolved.
• Team should also make sure that defects should be acknowledged by developers and should be valid one.
Defect Resolution
• Work by the development team to prioritize, schedule and fix a defect, and document the resolution.
• This also includes notification back to the tester to ensure that the resolution is verified.
Process Improvement
• All problems are due to failure in the process involved in creating software.
• Defects gives an opportunity to identify the problem with process used and update them.
• Better processes mean better product with less defect.
Management Reporting
• Analysis and reporting of defect information to assist management with risk management, process improvement
and project management.
New: When the bug is posted for the first time, its state will be “NEW”. This means that the bug is not yet approved.
Open: After a tester has posted a bug, the lead of the tester approves that the bug is genuine, and he changes the state
as “OPEN”.
Assign: Once the lead changes the state as “OPEN”, he assigns the bug to corresponding developer or developer team.
The of the bug now is changed to “ASSIGN”.
Test/Retest: Once the developer fixes the bug, he must assign the bug to the testing team for next round of testing. Before
he releases the software with bug fixed, he changes the state of bug to “TEST”.
Deferred: The bug, changed to deferred state means the bug is expected to be fixed in next releases.
Rejected: If the developer feels that the bug is not genuine, he rejects the bug. Then the state of the bug is changed to
“REJECTED”.
Examination Paper Analysis and Solution
Verified: Once the bug is fixed and the status is changed to “TEST”, the tester tests the bug. If the bug is not present in
the software, he approves that the bug is fixed and changes the status to “VERIFIED”.
Reopened: If the bug still exists even after the bug is fixed by the developer, the tester changes the status to “REOPENED”.
The bug traverses the life cycle once again.
Closed: Once the bug is fixed, it is tested by the tester. If the tester feels that the bug no longer exists in the software, he
changes the status of the bug to “CLOSED”.
Fixed: When developer makes necessary code changes and verifies the changes then he/she can make bug status as
“Fixed‟ and the bug is passed to testing team.
Pending retest: After fixing the defect the developer has given that code for retesting to the tester. Here the testing is
pending at the testers’ end. Hence its status is pending retest.
Duplicate: If the bug is repeated twice or the two bugs mention the same concept of the bug, then one bug status is
changed to “duplicate “.
Not a bug: The state given as “Not a bug” there is no change in the functionality of the application.
For example: If a customer asks for some change in the look and field of the application like change
Winter Unit 4 Q1 d Give the defect classification and its meaning. ½ marks
2022 for each
Solution: classifica
Requirement/Specification Defects: tion
Requirement-related defects arise in a product when one fails to understand what the customer requires.
These defects may be due to the customer gap, where the customer is unable to define his requirements.
Producer gap, where the developing team is not able to make a product as per requirements.
Design Defects:
Design defects occur when system components, interactions between system components, interactions between the
outside software/hardware, or users are incorrectly designed.
Design defects generally refer to the way of design creation or its usage while creating a product.
Coding Defects:
This defect arises when variables are not initialized properly, or variables are not declared correctly, or database is not
created properly.
Coding also needs adequate commenting to make it readable and maintainable in future.
Examination Paper Analysis and Solution
Testing Defects:
These would encompass incorrect, incomplete, missing inappropriate test cases and test procedures.
Q3 c Prepare defect report after executing test cases for any login form. Format
Solution: of defect
report
Defect Report in Software Testing is a detailed document about bugs found in the software application. 2 Marks
Following is Defect report after executing test cases for Email-log in form. Descripti
on
2 marks
Description
: When I put mail id and password, I am unable to login while login credentials are right.
Steps to reproduce.
1. go to the www.gmail.com
2. Click on login button.
3. Put Right mail id and password and click next.
4. and take Screenshot.
Examination Paper Analysis and Solution
Expected result.
The mail account should log in after putting the right mail id and password.
Actual result
The mail account is not logged in after putting the right details.
Q6 c Prepare defect report after executing test cases for withdrawn of amount from ATM machine. Test
Solution: case 2
Refer Q6 C Winter 2022 marks
7.Click on Other
Functions. 8.Click on
Balance on Screen.
9.Remove Card from the
slot
Summe Unit 4 Q1e State any four defect reporting guidelines. ½ marks
r 2022 Solution: for each
Defect finding and reporting are the important steps in software development life cycle. guideline
•When we find defect, analyses it, take corrective and preventive actions for further steps.
Q6 c Design any four test cases for withdrawing an amount from ATM and prepare defeat report of it. 2 marks
Solution: for test
Test Cases: cases
Note : testing is performed on Cash simulator ATM site.
Examination Paper Analysis and Solution
Test Test Case Name Actual Input Expected output Actual Output Status 4 marks
Case for defect
No report
TC1 Withdrawn 1. Go to Cash Simulator It should It is withdrawing Pass
Amount ATM site. withdraw the the money.
2. Select the card to insert money.
it into the ATM = “Any
Bank” 3. Select Language
= “English”
4. Enter Pin = “1234”
5. Choose Account Type =
“Savings”
6. Enter Amount = “2000”
7. Remove Card from slot
8. Remove Cash from the
slot
TC2 Withdrawn 1. Go to Cash Simulator It should display It is showing Pass
Amount→Check ATM site. message “Your message “Your
balance. 2. Select the card to insert Current Balance Current Balance
it into the ATM = “Any is 3000 is 3000
(balance=5000) Bank” 3. Select Language
= “English”
4. Enter Pin = “1234”
5. Choose Account Type
= “Savings”
6. Enter Amount = “2000”
7.Click on Other
Functions. 8.Click on
Balance on Screen.
9.Remove Card from the
slot
Examination Paper Analysis and Solution
Defect Report:
ID Def_01
Project ATM Simulator
Product Cash Simulator ATM
Release Version v1.0
Module Home Page > Simulator
Detected Build Version v1.1
Examination Paper Analysis and Solution
Summary Limited denomination options in cash withdrawal function, restricting cash withdrawal only
till 3000.
Description No option of withdrawing of amount excess of 3000
Steps to Replicate 1) Open the website
2) Select our programs
3) Proceed to Digital Inclusion tools and select cash machine simulator (ATM)
4) Select language and skip to simulator
5) Enter the card
6) Select the account type
7) Go to Other functions and select cash withdrawal
Actual Results It has displaying limited options of denominations in cash withdrawal option.
Expected Results It should add more options in denominations in withdrawal function or it should take
amount input from the user
Examination Paper Analysis and Solution
Attachments
Remarks Causes inconvenience to the user in terms of limited cash withdrawal options.
Defect Severity High
Defect Priority High
Reported By Aadhya
Assigned To Supriya
Status Assigned
Winter Unit 4 Q 1 e Define Defect. 2 marks
2019 Solution: for
A defect is an error in coding or logic that causes a program to malfunction or to produce incorrect/unexpected results. definition
Q 3 c Enlist different techniques for finding defects and describe any one technique with an example. Listing 1
Solution: marks
Examination Paper Analysis and Solution
Dynamic Techniques
❖ Testing in which system components are physically executed to identify defects.
❖ Execution of test cases is an example of a dynamic testing technique.
❖ Dynamic testing is a validation technique which includes dummy or actual execution of work products to evaluate it with
expected behavior.
❖ It includes black box testing methodology such as system testing and structural white box testing .
❖ The testing methods evaluate the product with respect to requirements defined; designs created and mark it as ‘pass’
or ‘fail’.
❖ This technique establishes ‘fitness for use’ view.
Operational Techniques
❖ Operational system produces a deliverable containing a defect found by users, customers, or control personnel. i.e., the
defect is found because of a failure.
❖ Operational techniques typically include auditing work products and projects.
❖ To understand whether the processes defined for development/testing are being followed correctly or not, and whether
they are effective or not.
❖ It also includes revisiting the defects before and after fixing and analysis.
❖ Operational technique may include smoke testing and sanity testing of a work product.
Q 6 c Draw a diagram for defect life cycle and write example for defect template. 2 Marks
Solution: for
diagram
Defect life cycle 4 marks
for
explanati
on
Examination Paper Analysis and Solution
ID Def_01
Project ATM Simulator
Product Cash Simulator ATM
Release Version v1.0
Module Home Page > Simulator
Examination Paper Analysis and Solution
Attachments
Remarks Causes inconvenience to the user in terms of limited cash withdrawal options.
Defect Severity High
Defect Priority High
Reported By Aadhya
Assigned To Supriya
Status Assigned
Summe Unit 5 Q 1 f State the need of automated testing tool. (Any two). For each
r 2024 Solution: need 1
Refer Q 4d Summer 2022 mark
Examination Paper Analysis and Solution
Q 2 d Differentiate between static and dynamic testing tools. (any four points) For each
Solution: point 1
Static testing tools dynamic testing tools mark
Testing is done without physically executing a program or Testing in which system components are physically
system. executed to identify defects.
No execution of code, product, documentation. Execution of test cases is an example of a dynamic testing
technique.
Checking the software product and related artifacts without It includes black box testing methodology such as system
executing them. testing and structural white box testing.
Helps in establishing conformance to requirements view Dynamic testing is a validation technique which includes
dummy or actual execution of work products to evaluate it
with expected behavior.
Tools are Static Analyzer,Standard Enforcer Tools are Coverage Analyzer ,Output Comparator
Q 3 d Give any four differences between manual and automated testing. (Any 4 points) For each
Solution: point 1
Manual testing Automated testing mark
Test cases are executed manually Test cases are executed with the help of tools
Time required to execute test cases is high Time required to execute test cases is low
Initial investment required for manual testing is lower Initial investment for automation testing is higher
Manual testing won’t be as accurate as it includes human Automation testing can be accurate as it is performed by
errors tools and scripts
It provides human observation, can be used to assess user Cannot guarantee user friendliness or good customer
friendliness and customer experience experience
It is suitable for almost any software product It is suitable only for stable systems and used mainly for
regression.
Winter Unit 5 Q1 g Enlist any four software testing tools. For each
2023 Solution: point ½
JIRA mark
Selenium
J meter
Appium
Q2 d Describe any four factors for selecting a testing tool. For each
Solution: point 1
Refer Q3 d Winter 2019 mark
Q3 d State and explain any four benefits of automation in testing. For each
Solution: point 1
mark
Refer Q1 e Winter 2019
Winter Unit 5 Q1 f State the need for automated testing tools. Any four
2022 Solution: needs:
Refer Q 4d Summer 2022 ½ marks
for each
need
Q2 d State the limitations of manual testing. Correct
Solution: limitation
Refer Q2 d Winter 2019 s4
marks
Q3 d Enlist the factors considered for selecting a testing tool for test automation. 1 mark
Solution: for each
Refer Q3 d Winter 2019 factor
Examination Paper Analysis and Solution
1. Speed. 2 marks
• The automation tools test the software under tests with the very faster speed. for
• There’s a vast difference between the speed of user entering the data and the automated tools generating and entering disadvan
the data required for the testing of the software. tages
• Speed of this software also completes the work faster.
2. Efficiency.
• While testers are busy running test cases, testers can't be doing anything else.
• If the tester has a test tool that reduces the time it takes for him to run his tests, he has more time for test planning and
thinking up new tests Advantages of automated testing
2. Resource Reduction.
• Sometimes it can be physically impossible to perform a certain test case.
• The number of people or the amount of equipment required to create the test condition could be prohibitive.
• A test tool can be used to simulate the real world and greatly reduce the physical resources necessary to perform the
testing.
3. Simulation.
• Test tools are often used to replace hardware or software that would normally interface to your product..
• This "fake" device or application can then be used to drive or respond to your software in ways that you choose and ways
that might otherwise be difficult to achieve.
4. Relentlessness.
• Test tools and automation never tire or give up.
• They can keep going and going and on and on without any problem; whereas the tester gets tired to test again and again
Examination Paper Analysis and Solution
Q5 c Design test cases for MS Word application using an Automation tool. 1 mark
Solution: for each
test case
These all test cases can be executed on tools like Auto It ,QTP etc.
Examination Paper Analysis and Solution
J meter
Load Runner
QTP
Enlist the factors considered for selecting a testing tool for test automation. 1 mark
Solution: for each
Refer Q3 d Winter 2019 correct
factor
Q3 d State any eight limitations of Manual Testing. ½ marks
Solution: for each
Refer Q2 d Winter 2019 limitation
Q5 c Elaborate the concept of Software Metrics? Describe Base Metrics and calculated metrics with suitable Concept
example. of metric
Solution: 1 mark
Software testing metrics are quantifiable indicators of the software testing process progress, quality, productivity, and
overall health. Base
The purpose of software testing metrics is to increase the efficiency and effectiveness of the software testing process metric
while also assisting in making better decisions for future testing by providing accurate data about the testing process. 1.5marks
A metric expresses the degree to which a system, system component, or process possesses a certain attribute in
numerical terms. Calculate
metric.
There are two sorts of manual test metrics:
1.5
1. Base Metrics: Analysts collect data throughout the development and execution of test cases to provide base marks.
metrics. By generating a project status report, these metrics are sent to test leads and project managers. It is
quantified using calculated metrics.
• The total number of test cases
• The total number of test cases completed.
•
2. Calculated Metrics: Data from base metrics are used to create calculated metrics. The test lead collects this
information and trSolution:forms it into more useful information for tracking project progress at the module, tester, and
other levels. It’s an important aspect of the SDLC since it allows developers to make critical software changes.
Winter Unit 5 Q1 e State any of the four advantages of using tools. ½ mark
2019 Solution: Advantages of tools are: for each
advantag
1. Speed. e
• The automation tools test the software under tests with the very faster speed.
• There’s a vast difference between the speed of user entering the data and the automated tools generating and entering
the data required for the testing of the software.
• Speed of this software also completes the work faster.
2. Efficiency.
• While testers are busy running test cases, testers can't be doing anything else.
Examination Paper Analysis and Solution
• If the tester has a test tool that reduces the time it takes for him to run his tests, he has more time for test planning and
thinking up new tests Advantages of automated testing
2. Resource Reduction.
• Sometimes it can be physically impossible to perform a certain test case.
• The number of people or the amount of equipment required to create the test condition could be prohibitive.
• A test tool can be used to simulate the real world and greatly reduce the physical resources necessary to perform the
testing.
3. Simulation.
• Test tools are often used to replace hardware or software that would normally interface to your product..
• This "fake" device or application can then be used to drive or respond to your software in ways that you choose and ways
that might otherwise be difficult to achieve.
4. Relentlessness.
• Test tools and automation never tire or give up.
• They can keep going and going and on and on without any problem; whereas the tester gets tired to test again and again
Q 3 d Enlist factors considered for selecting a testing tool for test automation. For each
Solution: factor 1
mark
Selection criteria for testing tool
1.Meeting requirements
• There are plenty of tools available in the market but rarely do they meet all the requirements of a given product or a given
organization.
• Evaluating different tools for different requirements involve significant effort, money, and time. • The tool must match its
intended use.
• Wrong selection of a tool can lead to problems like lower efficiency and effectiveness of testing may be lost.
1. Technology expectations:
• Test tools in general may not allow test developers to extends/modify the functionality of the frameworkSo, extending
the functionality requires going back to the tool vendor and involves additional cost and effort.
• Different phases of a life cycle have different quality-factor requirements. Tools required at each stage may differ
significantly
3. Training/skills:
• While test tools require plenty of training, very few vendors provide the training to the required level. • Organization level
training is needed to deploy the test tools.
• As the user of the test suite are not only the test team but also the development team and other areas like configuration
management.
• If the testers do not have proper training and skill, then they may not be able to work effectively.
4. Management aspects:
• A test tool increases the system requirement and requires the hardware and software to be upgraded.
• This increases the cost of the already- expensive test tool.
• Select affordable tools. Cost and benefits of various tools must be compared before making final decision.
Lines of Code (LOC) metric is most common software project measure. The metric becomes a baseline to measure the
degree of work performed on a project and it is used to create time and cost estimates. Effective Lines of Code Metric
(eLOC) is a measure of all lines that are not comments, blanks or standalone braces or parenthesis. This metric more
closely represents the quantity of work performed.
Comment Line and Comment Percent (or Comment to Code Ratio) is a degree of commenting within the source code.
It measures the care taken by programmers to make the source code and algorithms understandable. Poorly commented
code makes the maintenance activities an extremely expensive. Recommended minimum is 20%.
Blank Line and White Space Percent Metric is the number of blank lines within source code. It indicates the readability
of product. And File Count Metric counts the files processed and generates metrics based on the file extension. It provides
the distribution of the source code types, source code types and distribution of the specifications to the implementations.
Procedural metrics: Cyclomatic Complexity is a popular procedural (called also function) software metric equal to the
number of decisions that can be taken in a procedure A decision is defined as an occurrence of keywords such as: "while",
"for", “for each”, “continue”, "if", "case", "go to", “try” and “catch” within the function. Cyclomatic Complexity is the sum of
these constructs. That metric helps to identify software need of inspection or redesign, and to allocate resources for
evaluation and test.
Class metrics: Class metrics describe structure of a class and relationship between classes. The volume of a class is a
basic size measure connected with the amount of information inside it. The class volume can be measured by Number of
Variables and by Number of Methods. Also Average LOC per Class and per Method metrics can provide insight into the
average module size in the system
Examination Paper Analysis and Solution
Q 5c Elaborate the term metrics and measurement and write the need of software measurement. 2marks
for Metric
Solution:: 2 marks
for
Metrics and measurement: measure
A Metric is a measurement of the degree that any attribute belongs to a system, product or process. ment
For example the number of errors per person hours would be a metric. Thus, software measurement gives rise to software
metrics. 2 marks
A measurement is an indication of the size, quantity, amount or dimension of a particular attribute of a product or process. for needs
For example, the number of errors in a system is a measurement.
A Metric is a quantitative measure of the degree to which a system, system component, or process possesses a given
attribute.
Metrics can be defined as “STANDARDS OF MEASUREMENT”.
Software Metrics are used to measure the quality of the project. Simply, Metric is a unit used for describing an attribute.
Metric is a scale for measurement.
Need of Software measurement:
1. Establish the quality of the current product or process.
2. To predict the future qualities of the product or process.
3. To improve the quality of a product or process.
4. To determine the state of the project in relation to budget and schedule.