22518-2019-Winter-solved-ste
22518-2019-Winter-solved-ste
11920
3 Hours / 70 Marks Seat No.
Marks
Dynamic
Parameters Static Testing Testing
It is performed at It is performed at
the early stage of the later stage of
Stage of software the software
execution development. development.
e) Define Defect
A defect is like a problem or a flaw in something, such as software, that
causes it to not work correctly or produce wrong results.
a bug refers to any fault, flaw, or defect in the software that can lead to
malfunctions or unexpected behavior. Bugs can manifest in various forms,
such as incorrect calculations, system crashes, user interface issues, or
incorrect outputs.
A driver is a simplified
A stub is a basic implementation
version of the dependent
of the missing component that
component that enables
simulates its behavior to allow
6 the testing of the
testing of the component that
. component being
depends on it.
developed.
**Test Management**:
Test management involves organizing and controlling the testing
process to ensure the software meets quality standards. Key
components include:
1. **Test Planning**: Defining the scope, strategy, resources, and
timeline for testing.
2. **Test Execution**: Running test cases and tracking the results to
identify defects.
3. **Defect Management**: Logging, prioritizing, and tracking defects
to ensure they are resolved.
4. **Test Reporting**: Summarizing testing progress and outcomes to
stakeholders.
Test Environment:
Description: The setup of hardware and software where tests are
executed. This includes servers, computers, and network configurations
that mimic the production environment.
Example: A staging server that simulates the live environment.
Test Data:
Description: Data used during testing to validate the functionality of the
software. This includes input data and expected results.
Example: User accounts and transaction records used to test login and
payment features.
Test Tools:
Description: Software applications that help design, execute, and
manage tests. This includes automation tools and defect tracking
systems.
Example: Selenium for automated testing, JIRA for bug tracking.
c) Enlist different techniques for finding defects and describe any one
technique with an example.
Static testing is a software testing technique where the code,
requirements are reviewed without actually executing the program. It
involves examining the software manually or using tools to find
errors in the early stages of development.
Examples include code reviews, inspections.
Description: The testing tool must align with the specific needs of
the project, such as the type of application (web, mobile, desktop)
and the technologies used (programming languages, frameworks,
etc.).
**Budget**:
Consider the cost of the testing tool and whether it fits within the project's
budget constraints. Some tools may have licensing fees, while others are
open source. It's crucial to balance the cost with the tool's capabilities and
the project's requirements.
Integration Capabilities**:
Check if the testing tool can seamlessly integrate with other tools and
technologies used in the project, such as bug tracking systems, continuous
integration tools, or test management platforms.
An example of integration capabilities in a testing tool can be seen with
Selenium integrating with Jenkins for continuous integration and JIRA for
bug tracking.
3. **Market Exposure**:
- Alpha Testing: Not open to the market and public.
- Beta Testing: Always open to the market and public.
4. **Conducted For**:
- Alpha Testing: Conducted for software application and
project.
- Beta Testing: Usually conducted for software product.
5. **Environment**:
- Alpha Testing: Always performed in a virtual
environment.
- Beta Testing: Performed in a real-time environment.
6. **Location**:
- Alpha Testing: Always performed within the organization.
- Beta Testing: Always performed outside the organization.
7. **Testing Type**:
- Alpha Testing: Includes both White Box Testing and
Black Box Testing.
- Beta Testing: Only a kind of Black Box Testing.
8. **Performed At**:
- Alpha Testing: Always performed at the developer's
premises in the absence of the users.
- Beta Testing: Always performed at the user’s premises in
the absence of the development team.
Test Environment:
Description: The setup of hardware and software where tests are
executed. This includes servers, computers, and network configurations
that mimic the production environment.
Example: A staging server that simulates the live environment.
Test Data:
Description: Data used during testing to validate the functionality of the
software. This includes input data and expected results.
Example: User accounts and transaction records used to test login and
payment features.
Test Tools:
Description: Software applications that help design, execute, and
manage tests. This includes automation tools and defect tracking
systems.
Example: Selenium for automated testing, JIRA for bug tracking.
**Test Management**:
Test management involves organizing and controlling the testing
process to ensure the software meets quality standards. Key
components include: test planning,execution,defect management &
testing report.
22518 [3]
Marks
5. Attempt any TWO of the following: 12
a) Design test cases for railway reservation system.
Test Description Precondition Test Expected Actua Status
Case s Steps Result l
ID Result
TC00 Verify login User has valid 1. Enter User is [To be [Pass/
1 functionalit credentials valid logged in filled] Fail]
y username. and
2. Enter redirected to
valid the
password. homepage.
3. Click
on the
login
button.
TC00 Verify that User is 1. Go to System [To be [Pass/
2 the system logged in the train displays a filled] Fail]
shows search list of
available page. available
trains 2. Enter trains for
departure the route.
and
destinatio
n stations.
3. Click
search.
TC00 Verify the User is 1. Select a Ticket is [To be [Pass/
3 booking of logged in; train. booked filled] Fail]
a single valid train 2. Choose successfully
ticket available a seat. ;
3. Enter confirmatio
passenger n is
details. displayed.
4. Click
'Book
Now'.
TC00 Verify User enters 1. Enter System [To be [Pass/
4 system incorrect invalid displays an filled] Fail]
response for credentials username. error
incorrect 2. Enter message for
login details invalid incorrect
password. credentials.
3. Click
on the
login
button.
TC00 Verify user User is 1. Go to User sees a [To be [Pass/
5 can view logged in; has the 'My list of their filled] Fail]
booked booked Bookings' booked
tickets tickets page. tickets.
2. Check
the list of
booked
tickets.
TC00 Verify the User is 1. Click User is [To be [Pass/
6 logout logged in on the logged out filled] Fail]
functionalit logout and
y button. redirected to
2. the login
Confirm page.
logout if
prompted.
b) With respect to GUI testing write the test cases for Amazon login
form
c) Elaborate the term metrics and measurement and write the need of
software measurement.