0% found this document useful (0 votes)
5 views17 pages

Software Project 2024

Uploaded by

rohinikadave0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views17 pages

Software Project 2024

Uploaded by

rohinikadave0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

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 aroundthe 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 ofthe software testing is donewith 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,softwareautomationtestingprocessplaysavitalrole 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.

1
INDEX

Sr Title Page
No. No.

1. Abstract 4

2. Introduction 6

3. Concept 7

4. Test Case Template 8

5 Test Cases 12

5. Conclusion 19

6. Resources Required 20

7. Reference 21

2
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
automatedtoolstoevaluateoneormorepropertiesofinterest.Thepurposeof
softwaretestingistoidentifyerrors,gapsormissingrequirementsincontrastto 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
expensiveorevendangerous.Softwarebugscanpotentiallycausemonetaryand
human loss, and history is full of such examples.

 In April 2015, Bloomberg terminal in London crashed due to software


glitchaffectedmorethan300,000tradersonfinancialmarkets.Itforced the
government to postpone a 3bn pound debt sale.
 Nissancarsrecalledover1millioncarsfromthemarketduetosoftware 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
CanadaduetosoftwarefailureinitsPOSsystem.Atonepoint,thestore served
coffee for free as they were unable to process the transaction.
 SomeofAmazon’sthird-partyretailerssawtheirproductpriceisreduced to 1p
due to a software glitch. They were left with heavy losses.
 VulnerabilityinWindows10.Thisbugenablesuserstoescapefrom
security sandboxes through a flaw in the win32k system.
 In2015fighterplaneF-35fellvictimtoasoftwarebug,makingitunable to
detect targets correctly.
 ChinaAirlinesAirbusA300crashedduetoasoftwarebugonApril26, 1994,
killing 264 innocents live
 In1985,Canada’sTherac-25radiationtherapymachinemalfunctioned due
to software bug and delivered lethal radiation doses to patients,
leaving 3 people dead and critically injuring 3 others.
 InAprilof1999,asoftwarebugcausedthefailureofa$1.2billion
military satellite launch, the costliest accident in history

3
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
particularprogrampathortoverifycompliancewithaspecific requirement.Test cases underlie
testing that is methodical rather thanhaphazard. A battery of test cases can be built to produce
the desired coverage ofthesoftwarebeingtested.Formallydefinedtestcasesallowthesameteststo
berunrepeatedlyagainstsuccessiveversionsofthesoftware,allowingforeffective and consistent
regression testing

Formaltest 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. Ifa
requirementhassub-requirements, eachsub-requirementmust 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
shouldincludeadescriptionofthefunctionalitytobetested,andthepreparation required to ensure
that the test can be conducted.
Aformal writtentest caseischaracterizedbyaknowninputandbyanexpected
output,whichisworkedoutbeforethetestisexecuted.Theknowninputshould test a precondition
and the expected output should test a post condition.

Informaltest 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.
Insomeschoolsoftesting,testcasesarenotwrittenatallbuttheactivitiesand results are reported
after the tests have been run.
Inscenariotestinghypotheticalstoriesareusedtohelpthetesterthinkthrougha 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
TestCase Template

Irrespectiveofthetestcasedocumentationmethodchosen,anygoodtestcase template must have


the following fields
TestCaseField Description
TestcaseID:  Each test case should be represented by a
uniqueID.Toindicatetesttypesfollowsome convention
like “TC_UI_1” indicating “User Interface Test
Case#1.”

Test Priority:  Itisusefulwhileexecutingthetest.

5
6
 Low
 Medium
Nameofthe Module:  High

 Determinethenameofthemainmoduleor
Test Designed by: sub-module being tested

Dateoftestdesigned:  Tester’s Name

Test Executed by:  Datewhentest wasdesigned

DateoftheTest  Whoexecutedthetest- tester


Execution:
NameorTest Title:  Datewhentest needstobe executed

Description/Summary  Titleofthetestcase
of Test:
 Determinethesummaryortestpurposein
Pre-condition: brief

 Anyrequirementthatneedstobedonebefore
execution of this test case. To execute this
Dependencies: test case list all pre-conditions

 Determineanydependenciesontest
requirements or other test cases
Test Steps:
 Mention all the test steps in detail and write
in the order in which it requires to be
executed.Whilewritingteststepsensurethat
you provide as much detail as you can
TestData:
 Use of test data as an input for the test case.
Deliverdifferentdatasetswithprecisevalues to
be used as an input
ExpectedResults:
 Mentiontheexpectedresultincludingerror or
message that should appear on screen
Post-Condition:
 Whatwouldbethestateofthesystemafter
running the test case?
Actual Result:
 Aftertestexecution,actualtestresultshould

7
be filled

Status(Fail/Pass):  Markthisfieldasfailed,ifactualresultisnot as
per the estimated result

Notes:  Iftherearesomespecialconditionwhichis left


in above field

12
Title of Project:Prepare test cases forTelegram

1. Aims/BenefitsoftheMicro-Project:
a) Greathelpwithstudiesandinmakingacareerchoice.
b) Improvesacademicperformanceandinterest.
c) ToSupportSelfDirectedLearning.d)Tohelpstudentsdevelop teamwork and
problem-solving skills.
e)Toenhancetheskillsto‘communicateeffectivelyandskilfullyat workplace’.

2Course Outcomes Addressed:

a) Applyvarioussoftwaretestingskillsand method.
b) Preparetestcasesfordifferentlevelsandtypes testing.
c) Preparetestplanforan application.
d) Identifybugstocreatedefectreport.
e) Testsoftwareforperformancemeasuresusingautomatedtools.

2. ProposedMethodology:

The work is assigned to1student.To complete the Project“Test cases for Telegram”, qualitative
method will be used in which data collection, analysis and interpretation is required. The data will be
collected from different sources such as Internet, reference books etc. The analysis and interpretation
will be done by observing the collected data & programming work. Finally the data will be
represented with interpretation in the form of application or collected data.

13
TestCases
Test Pre- TestCase InputCase Expected ActualResult Status
Case requisites Result
No
1 Hotstar Verifying the Turningonthe Loginpageis Loginpageis Pass
Application applicationhaslogin applicationand displayed displayed
is ON page waitingfor
login page
2 Hotstar Verify that the text Turningonthe User should The text is Pass
Application onthemobileappis applicationand be able to readableand
is ON readable and clear. waitingfor view and clear
text to display readthetext
clearly
3 Hotstar Verifying that on Videofor Video should Videostarted Pass
Application clikingthevideoplay testing start playing playingwhen
is ON icon over the video, when play playiconwas
the video should iconisclicked clicked
play.

4 Hotstar Verify all the video Videofor Whenclicked Allcontrols Pass


Application playercontrols-play, testing onplayvideo 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 Verifythatusercan Videofor Usershould Userwasable Pass
Application select the allowed testing be able to tochangethe
is ON video quality for change quality of
playing the video. quality of video
video

6 Hotstar Verifythatoncethe Videofor Usershould Userwasable Pass


Application video is complete, testing be able to to replay
is ON user can replay the replayvideo video using
video using ‘replay’ usingreplay replay icon
icon. icon once
video is
finished

TestCasesforTelegram

14
7 Hotstar Verify that video Videos user Once user Relevant Pass
Application shouldbesearchable wanttosearch types name videos of
is ON by name, displaying insearchbar given name
the most relevant relevant wasdisplayed
video on the top in videos of
search results. given name
should be
displayed

8 Hotstar Verify that other Videos user User should Userwasable Pass
Application attributesofvideo wanttosearch be able to to search
is ON like artist name, searchvideo video by
descriptionshould by typing typingartist
alsobe searchable artist name name and
and description
description

9 Hotstar Verifythatwitheach Videofor Viewcount View count Pass


Application view the ‘view testing should wasincrease
is ON count’ increases by increaseby by one with
one. one with each view
each view
10 Hotstar Verify that the Videofor The related The related Pass
Application relatedvideosare testing videosshould videos were
is ON related to the be related to relatedtothe
currentvideooris the current currentvideo
basedonthepast 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 Verifythatclicking Videofor Videoshould Video was Pass


Application related video testing open when openedwhen
is ON thumbnail should clicked on clicked on
open the video. thumbnail. thumbnail.

15
12 Hotstar Verify that every Videofor Every video Every video Pass
Application videoviewedgoesto testing viewed viewedwent
is ON history for logged in shouldgoto tohistoryfor
user. history for logged in
logged in user.
user.

13 Hotstar Verifythatusercan Videofor User should Userwasable Pass


Application view or delete testing be able to to view or
is ON history items. view or deletehistory
deletehistory items
items

14 Hotstar Verify that the app RecieveingCall The App The app is Pass
Application goes into the while app is shouldrunin running in
is ON backgroundwhenon running background background
call. without any
disturbance
15 Hotstar Verify that the app Receiveing The App The app is Pass
Application still operates as Messagewhile shouldrunin running in
is ON designed when a app is running background background
message or without any
notificationpop-up disturbance
from another app
such as Facebook
messaged,
Instagram, etc.

16 Hotstar Check Internetfor The Change in Pass


Application the Performance of testing performance performance
is ON the app on the changes
different internet when the
networkssuchas1G, internet
2G, 3G, or 4 G network is
networks. changed

16
17 Hotstar Check that the Combability Runson Runson Pass
Application appisadaptableto check on different different
is ON different mobile different devices devices
platforms or OS device
such as Android,
iOS,Microsoft,
etc.

18 Hotstar Verifythatthe optimization Runsmoothly Runsmoothly Pass


Application loading time for Checkonthe on different on different
is ON theappisnottoo device devices devices
long.

19 Hotstar Check that the The app Theappruns Theappruns Pass


Application appisstillworking as shouldrun successfully successfully
is ON intended after after the after the after the
the successful update update update
updateoftheapp.

20 Hotstar Check how the Running the App should App should Pass
Application appfunctionunder app on runproperly runproperly
is ON different battery different on different on different
levels and batterylevels batterylevel batterylevel
temperatures.

21 Hotstar Verify that the Runningthe The app is The app is Pass
Application appisnotdraining app for 2 notdraining notdraining
is ON too much battery. hours too much too much
battery battery

22 Hotstar Check that the logging out Unableto Unableto Pass


Application app does not log beforetheend logout logout
is ON outtheuserbefore of a session
theendofa
session.
23 Hotstar To ensure that Tapping for Abletozoom- Abletozoom- Pass
Application the validation for zoom-inand in and zoom- in and zoom-
is ON the tapping zoom- zoom-out out out
in and zoom-out
facilitiesshouldbe
enabled.

17
24 Hotstar Does the app Tryingtodo doessupport doessupport Pass
Application supportpayment payment payment payment
is ON gateway gateway gateway
transactions? transaction transaction

25 Hotstar Are page Tryingtoscroll Able to scroll Able to scroll Pass


Application scrollingscenarios while running whilerunning whilerunning
is ON workingas the app the app the app
expected?

26 Hotstar Can the app Trying, Able to Able to Pass


Application handleprojected projectedload handle handle
is ON load volumes? volume projected projected
loadvolume loadvolume

27 Hotstar Buttonslocation, Checking the Easy to Easy to Pass


Application style, etc are location/style access the access the
is ON consistentwithin of button buttonand buttonand
the app. are stylish are stylish

28 Hotstar The keyboard Trying to Able to Able to Pass


Application canbeminimized minimizedand minimized minimized
is ON and maximized maximizedthe and and
easily. keyboard maximized maximized
thekeyboard thekeyboard

29 Hotstar Going back, touchingthe Able to Able to Pass


Application undoinganaction, wrong item undonethe undonethe
is ON orontouchingthe that can be item easily item easily
wrong item can easily be
easilybeundone. undone.

30 Hotstar Timeanddate are checking the Able to view Able to view Pass
Application properly timeanddate correct time correct time
is ON formatted. in the app and date and date
accordinlyto accordinlyto
region region
selected selected

18
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 orerrorsin the
software,it can be identified early and can be solved before delivery of the software
product

19
ResourcesRequired:

Sr.no. Nameof Specifications Qty. Remarks


resource
/material
1 Computers HP430 1
2 Openlearning Internet 1
sources

20
Reference

 https://sampletestcases.com/test-cases-for-Hotstar/

 https://www.softwaretestingo.com/Hotstar-test-cases/

 https://artoftesting.com/test-scenario-examples

21

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy