INDEX
Sr Title Page
No. No.
1. Abstract 2
2. Introduction 3
3. Concept 4
4. Test Cases 5
5. Conclusion 10
6. Reference 11
1
Computer Department
Abstract
Software Testing is a process, which involves, executing of a software
program/application and finding all errors or bugs in that program/application so
that the result will be a defect-free software. Quality of any software can only be
known through means of testing (software testing). Through the advancement of
technology around the world, there increased the number of verification techniques
and methods to test the software before it goes to production and off course to
market. Automation Testing has made its impact in the testing process. Now-a-
days, most of the software testing is done with the automation tools which not only
lessens the number of people working around that software but also the errors that
can be escaped through the eyes of the tester. Automation testing contains test
cases which makes the work easy to capture different scenarios and store them.
Therefore, software automation testing process plays a vital role in the software
testing success. This study aims in knowing different types of software testing,
software testing techniques and tools and to compare manual testing versus
automation testing.
The development of large software systems is a complex and error prone
process. Faults might occur at any development stage and they must be
identified and removed as early as possible to stop their propagation and reduce
verification costs. Quality engineers must be involved in the development
process since the very early phases to identify required qualities and estimate
their impact on the development process. Their tasks span over the whole
development cycle and go beyond the product deployment through maintenance
and post mortem analysis.
2
Computer Department
Introduction
Software Testing is a method to check whether the actual software product
matches expected requirements and to ensure that software product is Defect
free. It involves execution of software/system components using manual or
automated tools to evaluate one or more properties of interest. The purpose of
software testing is to identify errors, gaps or missing requirements in contrast to
actual requirements.
Software Testing is Important because if there are any bugs or errors in the
software, it can be identified early and can be solved before delivery of the
software product. Properly tested software product ensures reliability, security
and high performance which further results in time saving, cost effectiveness
and customer satisfaction.Testing is important because software bugs could be
expensive or even dangerous. Software bugs can potentially cause monetary and
human loss, and history is full of such examples.
• In April 2015, Bloomberg terminal in London crashed due to software
glitch affected more than 300,000 traders on financial markets. It forced
the government to postpone a 3bn pound debt sale.
• Nissan cars recalled over 1 million cars from the market due to software
failure in the airbag sensory detectors. There has been reported two
accident due to this software failure.
• Starbucks was forced to close about 60 percent of stores in the U.S and
Canada due to software failure in its POS system. At one point, the store
served coffee for free as they were unable to process the transaction.
• Some of Amazon’s third-party retailers saw their product price is reduced
to 1p due to a software glitch. They were left with heavy losses.
• Vulnerability in Windows 10. This bug enables users to escape from
security sandboxes through a flaw in the win32k system.
• In 2015 fighter plane F-35 fell victim to a software bug, making it unable
to detect targets correctly.
• China Airlines Airbus A300 crashed due to a software bug on April 26,
1994, killing 264 innocents live
• In 1985, Canada’s Therac-25 radiation therapy machine malfunctioned
due to software bug and delivered lethal radiation doses to patients,
leaving 3 people dead and critically injuring 3 others.
• In April of 1999, a software bug caused the failure of a $1.2 billion
military satellite launch, the costliest accident in history
3
Computer Department
Concept
In software engineering, a test case is a specification of the inputs, execution
conditions, testing procedure, and expected results that define a single test to be
executed to achieve a particular software testing objective, such as to exercise a
particular program path or to verify compliance with a specific
requirement. Test cases underlie testing that is methodical rather than
haphazard. A battery of test cases can be built to produce the desired coverage
of the software being tested. Formally defined test cases allow the same tests to
be run repeatedly against successive versions of the software, allowing for
effective and consistent regression testing
Formal test cases
In order to fully test that all the requirements of an application are met, there
must be at least two test cases for each requirement: one positive test and one
negative test. If a requirement has sub-requirements, each sub-requirement must
have at least two test cases. Keeping track of the link between the requirement
and the test is frequently done using a traceability matrix. Written test cases
should include a description of the functionality to be tested, and the preparation
required to ensure that the test can be conducted.
A formal written test case is characterized by a known input and by an expected
output, which is worked out before the test is executed. The known input should
test a precondition and the expected output should test a post condition.
Informal test cases
For applications or systems without formal requirements, test cases can be
written based on the accepted normal operation of programs of a similar class.
In some schools of testing, test cases are not written at all but the activities and
results are reported after the tests have been run.
In scenario testing hypothetical stories are used to help the tester think through a
complex problem or system. These scenarios are usually not written down in
any detail. They can be as simple as a diagram for a testing environment or they
could be a description written in prose. The ideal scenario test is a story that is
motivating, credible, complex, and easy to evaluate. They are usually different
from test cases in that test cases are single steps while scenarios cover a number
of steps of the key.
4
Computer Department
Test Cases
Test Cases for Telegram
Test Pre- Test Case Input Case Expected Actual Result Status
Case requisites Result
No
1 Hotstar Verifying the Turning on the Login page is Login page is Pass
Application application has login application displayed displayed
is ON page and waiting
for login page
2 Hotstar Verify that the text Turning on the User should The text is Pass
Application on the mobile app is application be able to readable and
is ON readable and clear. and waiting view and clear
for text to read the text
display clearly
3 Hotstar Verifying that on Video for Video should Video started Pass
Application cliking the video play testing start playing playing when
is ON icon over the video, when play play icon was
the video should icon is clicked clicked
play.
4 Hotstar Verify all the video Video for When clicked All controls Pass
Application player controls- play, testing on play video worked as
is ON pause, volume, mute should start expected
etc. playing,
pause to
pause video
volume to
increase or
decrease
volume and
mute to off
audio
5 Hotstar Verify that user can Video for User should User was able Pass
Application select the allowed testing be able to to change the
is ON video quality for change quality of
playing the video. quality of video
video
5
Computer Department
6 Hotstar Verify that once the Video for User should User was able Pass
Application video is complete, testing be able to to replay
is ON user can replay the replay video video using
video using ‘replay’ using replay replay icon
icon. icon once
video is
finished
7 Hotstar Verify that video Videos user Once user Relevant Pass
Application should be searchable want to search types name videos of
is ON by name, displaying in search bar given name
the most relevant relevant was displayed
video on the top in videos of
search results. given name
should be
displayed
8 Hotstar Verify that other Videos user User should User was able Pass
Application attributes of video want to search be able to to search
is ON like artist name, search video video by
description should by typing typing artist
also be searchable artist name name and
and description
description
9 Hotstar Verify that with each Video for View count View count Pass
Application view the ‘view testing should was increase
is ON count’ increases by increase by by one with
one. one with each view
each view
10 Hotstar Verify that the Video for The related The related Pass
Application related videos are testing videos should videos were
is ON related to the be related to related to the
current video or is the current current video
based on the past video or or based on
viewing history of based on the the past
user. past viewing viewing
history of history of
user user
11 Hotstar Verify that clicking Video for Video should Video was Pass
Application related video testing open when opened when
is ON thumbnail should clicked on clicked on
open the video. thumbnail. thumbnail.
6
Computer Department
12 Hotstar Verify that every Video for Every video Every video Pass
Application video viewed goes to testing viewed viewed went
is ON history for logged in should go to to history for
user. history for logged in
logged in user.
user.
13 Hotstar Verify that user can Video for User should User was able Pass
Application view or delete testing be able to to view or
is ON history items. view or delete history
delete history items
items
14 Hotstar Verify that the app Recieveing Call The App The app is Pass
Application goes into the while app is should run in running in
is ON background when on running background background
call. without any
disturbance
15 Hotstar Verify that the app Receiveing The App The app is Pass
Application still operates as Message while should run in running in
is ON designed when a app is running background background
message or without any
notification pop-up disturbance
from another app
such as Facebook
messaged,
Instagram, etc.
16 Hotstar Check Internet for The Change in Pass
Application the Performance of testing performance performance
is ON the app on the changes
different internet when the
networks such as 1G, internet
2G, 3G, or 4 G network is
networks. changed
17 Hotstar Check that the Combability Runs on Runs on Pass
Application app is adaptable to check on different different
is ON different mobile different devices devices
platforms or OS device
such as Android,
iOS, Microsoft,
etc.
7
Computer Department
18 Hotstar Verify that the optimization Run smoothly Run smoothly Pass
Application loading time for Check on the on different on different
is ON the app is not too device devices devices
long.
19 Hotstar Check that the The app The app runs The app runs Pass
Application app is still working should run successfully successfully
is ON as intended after after the after the after the
the successful update update update
update of the app.
20 Hotstar Check how the Running the App should App should Pass
Application app function under app on run properly run properly
is ON different battery different on different on different
levels and battery levels battery level battery level
temperatures.
21 Hotstar Verify that the Running the The app is The app is Pass
Application app is not draining app for 2 not draining not draining
is ON too much battery. hours too much too much
battery battery
22 Hotstar Check that the logging out Unable to Unable to Pass
Application app does not log before the end logout logout
is ON out the user before of a session
the end of a
session.
23 Hotstar To ensure that Tapping for Able to zoom- Able to zoom- Pass
Application the validation for zoom-in and in and zoom- in and zoom-
is ON the tapping zoom- zoom-out out out
in and zoom-out
facilities should be
enabled.
24 Hotstar Does the app Trying to do does support does support Pass
Application support payment payment payment payment
is ON gateway gateway gateway
transactions? transaction transaction
25 Hotstar Are page Trying to scroll Able to scroll Able to scroll Pass
Application scrolling scenarios while running while running while running
is ON working as the app the app the app
expected?
8
Computer Department
26 Hotstar Can the app Trying, Able to Able to Pass
Application handle projected projected load handle handle
is ON load volumes? volume projected projected
load volume load volume
27 Hotstar Buttons location, Checking the Easy to Easy to Pass
Application style, etc are location/style access the access the
is ON consistent within of button button and button and
the app. are stylish are stylish
28 Hotstar The keyboard Trying to Able to Able to Pass
Application can be minimized minimized and minimized minimized
is ON and maximized maximized the and and
easily. keyboard maximized maximized
the keyboard the keyboard
29 Hotstar Going back, touching the Able to Able to Pass
Application undoing an action, wrong item undone the undone the
is ON or on touching the that can be item easily item easily
wrong item can easily be
easily be undone. undone.
30 Hotstar Time and date checking the Able to view Able to view Pass
Application are properly time and date correct time correct time
is ON formatted. in the app and date and date
accordinly to accordinly to
region region
selected selected
9
Computer Department
Conclusion
Thus I have prepared test cases for Telgram. I have successfully executed the
thirty test cases. Thus, Software Testing is Important because if there are
any bugs or errors in the software, it can be identified early and can be solved
before delivery of the software product
10
Computer Department
Reference
• https://sampletestcases.com/test-cases-for- Hotstar/
• https://www.softwaretestingo.com/Hotstar- test-cases/
• https://artoftesting.com/test-scenario-examples
11
Computer Department