0% found this document useful (0 votes)
46 views25 pages

YouTube Test Cases Project

Software Testing 22516 project

Uploaded by

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

YouTube Test Cases Project

Software Testing 22516 project

Uploaded by

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

Government Polytechnic Pen

Computer Technology
2024-2025

Report on
Design Test cases for YouTube

Sr.no. Name of the Student Roll no

1 Siddhi Hanmant Rainak 3301

2 Tejas Jaysinh Lomte 3319

3 Omkar Sandip Mhaske 3321

4 Gauri Gopal Daberao 3356

Guided by.
Smt.Gauri.B.Garud
Government Polytechnic Pen
(Affiliated by Maharashtra State Board of Technical Education)

2024-2025

This is to certify that following students of THIRD YEAR COMPUTER


TECHNOLOGY has completed the project work on the topic “Design Test cases
for You Tube" as a partial fulfilment and academic requirement fordiploma in
“Computer Technology” as prescribed by MSBTE.
Sr.no. Name of the Student Roll no

1 Siddhi Hanmant Rainak 3301

2 Tejas Jaysinh Lomte 3319

3 Omkar Sandip Mhaske 3321

4 Gauri Gopal Daberao 3356

Smt.Gauri.B.Garud Smt.Gauri.B.Garud
(Project guide) (Head of Department)

Dr.M.R.Chitlange
(Principal GP Pen)
Acknowledgement

It is with profoundly sense of gratitude that we acknowledge from our


guide Smt.Swati Dahiakr. She has been guiding in the true sense of
word a guide who is satisfied with our word and progress
We are highly obliged to Smt.G.B.Garud head of Computer Technology,
for aberrance and good co-operation given to us for bringing this
project to almost standard
We are grateful to our principal Dr. M.R.Chitlange for proceeding
acknowledgement to us in the connection of this project concluding
we appreciate the assistance of all staff that helps us in for their
seniors and obliging help to make our project successfully.
Part A

Proposal for Micro project

1. Brief Introduction

For a software testing project focused on designing test cases for YouTube, the
objective is to systematically verify and validate the platform’s core functionalities,
user interface, and overall performance. YouTube, as a widely used video-sharing
platform, requires robust testing to ensure that users can seamlessly search for
videos, watch content, interact through comments and likes, and upload their own
videos across various devices and environments.

This project involves creating a set of test cases to assess critical areas,
including functionality, usability, security, performance, and compatibility. By
identifying and addressing potential issues through comprehensive test cases, the
project aims to enhance user experience, ensure security, and maintain platform
stability under diverse conditions. Ultimately, this will provide a thorough framework
to assess YouTube's quality from both a user’s perspective and a technical
standpoint.

2. Aim of the Micro Project

The aim of this microproject is to develop comprehensive test cases for YouTube,
covering its core functionalities, user interface, performance, and security.

1. Improve User Experience: Make sure YouTube is easy to use and looks good on all
devices (phones, tablets, computers).

2. Check Key Features Work Well: Confirm that important features like searching,
watching, uploading videos, and managing accounts work as they should.

3. Protect User Privacy and Security: Look for any weak spots to ensure user data is
safe and prevent unauthorized access.

4. Test Speed and Reliability: Check that videos load quickly, don’t lag, and that
YouTube works smoothly, even with a lot of users.
3. Action Plan

Sr.No Details of Activity Activity start Activity end Responsible


date date team member

1 Searching for micro 02-08-2024 18-08-2024 Siddhi


project topic

2 Confirm the topic of 19-08-2024 28-08-2024 All group


micro project members

3 Divide the work 29-08-2024 1-09-2024 Omkar


among members

4 Collecting Tejas
Information for 02-08-2024 21-09-2024
project

5 Preparing project 22-09-2024 28-09-2024 Omkar


proposal

6 Making the project Gauri


report 29-09-2024 15-10-2024

7 Corrections in 16-10-2024 18-10-2024 Siddhi


report

8 Finalize the project 19-10-2024 20-10-2024 All Group


report members

9 Submit the project 14-11-2024 14-11-2024 All Group


members
4. Resources Used

Sr. No Name of resources Specifications Quantity

1. Web browser Google Chrome,


Environment studies book 1

2. Mobile phone Redmi 10A 1


Windows 11
3. Any laptop or desktop 1
Intel i5 12450HX
12GB RAM

4. Software Microsoft word -

5. Group Members

Sr.no. Name of the Student Roll no

1 Siddhi Hanmant Rainak 3301

2 Tejas Jaysinh Lomte 3319

3 Omkar Sandip Mhaske 3321

4 Gauri Gopal Daberao 3356

Guided by.

Smt.Gauri.B.Garud
Index

Sr.no. Activity Page no

1 Brief introduction 1

2 Aim of the Micro project 1

3 Course outcomes 2

4 Actual procedure followed 4

5 Test plan 4

6 Test case design 7

7 Defect table for the Test cases 14

8 Resources Used 17

9 Conclusion 17

10 Skills Developed 17

11 Reference 18
Part B
Report on

Design Test cases for You Tube

1. Brief Introduction

YouTube is one of the largest video-sharing platforms in the world, providing users
with the ability to upload, watch, like, comment, and share videos. With millions of
users accessing YouTube daily across various devices and platforms, it is crucial to
ensure that the platform functions seamlessly and delivers a high-quality experience.
To achieve this, thorough testing is essential to identify and fix any bugs or issues
that may impact the user experience.

This microproject focuses on designing test cases for YouTube, covering different
aspects of the platform such as functionality, user interface, performance, security,
and compatibility. Test cases are a set of conditions or steps used to determine
whether a system or feature works correctly. In the case of YouTube, these test
cases will be designed to simulate real-world user interactions and ensure the
platform operates smoothly under different conditions.

2. Aim of the Micro Project

The goal of this project is to create test cases that will help ensure YouTube delivers
a high-quality, secure, and efficient experience for all users.

Through this process, the project aims to:

1. Improve user satisfaction by ensuring the platform is reliable and easy to use.

2. Enhance performance by identifying issues related to speed and responsiveness.

3. Ensure security by checking for vulnerabilities that could put user data at risk.

4. Validate compatibility across multiple devices and operating systems, ensuring that
everyone can use YouTube without problems.

1
3. Course Outcomes

The Software Testing course aims to provide students with a comprehensive


understanding of testing techniques and methodologies to ensure the quality,
functionality, security, and performance of software applications. By the end of the
course, students should be able to effectively identify software defects, ensure that
software systems meet the required standards, and contribute to the overall
improvement of software quality.

▪ Understanding of Software Testing Fundamentals:

i. Gain an understanding of the importance of software testing in the software


development lifecycle (SDLC).

ii. Learn key concepts such as testing, debugging, verification, validation, and defect
management.

iii. Understand the difference between various types of testing: functional, non-
functional, manual, automated, black-box, and white-box.

▪ Knowledge of Testing Techniques:

i. Develop knowledge of different testing techniques and their applications (e.g.,


boundary value analysis, equivalence partitioning, decision table testing).

ii. Learn how to design effective test cases and test scenarios to ensure complete
coverage of the software.

iii. Gain skills in creating and maintaining test plans, test cases, and test scripts.

▪ Hands-On Experience with Manual Testing:

i. Understand and apply manual testing practices to test software applications.

ii. Learn how to execute test cases, report defects, and verify fixes.

iii. Develop an ability to perform exploratory testing, which involves testing software
without predefined test cases to uncover defects.

• Automated Testing Skills:

i. Learn how to use automated testing tools (e.g., Selenium, JUnit, TestNG) for
repetitive tasks such as regression testing.

2
ii. Understand when and how to apply automated testing effectively to improve testing
efficiency.

iii. Gain skills in writing and maintaining automated test scripts.

• Performance and Security Testing:

i. Learn the basics of performance testing to evaluate the speed, scalability, and
reliability of software.

ii. Understand the need for security testing to identify vulnerabilities and ensure that
software is resistant to threats.

• Quality Assurance and Process Improvement:

i. Learn how to contribute to quality assurance practices in software development.

ii. Understand software quality metrics, such as test coverage, defect density, and test
effectiveness.

iii. Gain knowledge of process improvement techniques like Six Sigma or Agile testing
practices.

• Collaboration and Communication Skills:

i. Learn how to effectively communicate with developers, managers, and other team
members during the testing process.

ii. Gain experience in working in a team-oriented environment, including participating


in daily stand-ups and sprint meetings in Agile methodologies.

3
4. Actual Procedure followed

a. Requirement Analysis: Understand YouTube’s features (e.g., video playback,


search, user accounts) and identify testable functionalities.
b. Test Strategy Definition: Decide on the types of testing (functional,
performance, security, compatibility) and prioritize features based on
importance.
c. Test Plan for the project Making a test plan for the project which includes
activities from information gathering to executing test cases
d. Designing test cases: Break down each feature into detailed test cases that
include:

a. Test Case ID
b. Description
c. Steps
d. Expected Result
e. Priority
f. Test Status

Actual Result (after testing)

5. Test Plan for You Tube Test cases

I. Test Plan Identifier

• Project Name: YouTube Test Case Design Project


• Version: 1.0
• Date: [06/11/2024]

II. Introduction

• Objective: To design and execute test cases for key features of YouTube to ensure
they function correctly, are user-friendly, perform well, and are secure.
• Scope: This test plan covers testing for the YouTube web platform, focusing on core
features such as video playback, search functionality, user interactions, account
management, and performance.

III. Test Items

• Video Playback: Play, pause, seek, volume control, video quality, and full-screen
mode.
• Search Functionality: Keyword search, filter options, search suggestions, and search
result accuracy.
• User Interaction: Likes, dislikes, comments, subscriptions, and sharing features.
• User Account Management: Login, signup, account settings, profile management,
and logout.
• Uploading Content: Video upload, description, title, tags, and thumbnail settings.

4
• Notifications: Bell notifications, email alerts, and push notifications.
• Performance Testing: Load times, buffering, and responsiveness on different
network conditions.
• Compatibility Testing: Across various browsers (Chrome, Firefox, Safari, Edge) and
devices (desktop, mobile, tablet).
• Security Testing: Unauthorized access prevention, password security, and data
encryption.

IV. Features to Be Tested

• Core functionality of each feature as outlined in the test items.


• User interface and usability aspects of YouTube.
• Response times and stability under varying loads and network speeds.
• Security measures, including user data protection and access control.

V. Features Not to Be Tested

• Internal YouTube ad algorithms.


• Back-end data processing and analytics.

VI. Testing Strategy

• Testing Levels:
o Unit Testing: Individual components will be tested separately (performed by
developers).
o Integration Testing: Test interaction between modules (e.g., search and
video playback).
o System Testing: Full end-to-end testing of the YouTube platform.
o Acceptance Testing: Ensure the application meets all requirements and user
expectations.
• Types of Testing:
o Functional Testing: Verify that each feature works as expected.
o Performance Testing: Evaluate the load time and responsiveness, especially
under heavy user load.
o Usability Testing: Check for ease of use and consistency in the interface.
o Security Testing: Check for vulnerabilities like unauthorized access, data
leaks, and compliance with security standards.
o Compatibility Testing: Ensure functionality across different browsers,
devices, and operating systems.

VII. Test Environment

• Hardware: Desktop, laptop, tablet, and smartphone devices


• Operating Systems: Windows, macOS, iOS, Android
• Browsers: Chrome, Firefox, Safari, Edge
• Network Conditions: 3G, 4G, 5G, Wi-Fi, and low-bandwidth scenarios
5
• Test Data: Test accounts, dummy videos, and pre-set user interactions for
comprehensive testing

VIII. Entry and Exit Criteria

• Entry Criteria:
o All requirements for YouTube features have been defined and approved.
o Test environment is fully set up.
o Test data is prepared.
• Exit Criteria:
o All test cases have been executed.
o All critical and high-priority defects have been fixed and verified.
o Test summary report has been reviewed and signed off.

IX. Deliverables

• Test Cases Document


• Defect Report
• Test Execution Report
• Test Summary Report

X. Schedule

• Test Planning: [Start Date] - [End Date]


• Test Case Design: [Start Date] - [End Date]
• Test Execution: [Start Date] - [End Date]
• Defect Reporting and Tracking: Continuous during Test Execution
• Test Closure: [End Date]

6
6. Test Case Design

Test Test Case Description Preconditions Test Steps Expected Result Pass/Fail
Case ID

TC001 Verify that the video Video is Click the play Video should start Pass
plays when the play loaded button playing
button is clicked

TC002 Verify that the video Video is Click the pause Video should pause Pass
pauses when the playing button
pause button is clicked

TC003 Verify volume control Video is Adjust the Volume level Fail
functionality playing volume slider should change
according to slider
position

TC004 Verify that the Video is Click the Video sound should Pass
mute/unmute button playing mute/unmute toggle between
works button mute and unmute

TC005 Verify full-screen Video is Click the full- Video should enter Pass
functionality loaded screen button full-screen mode

TC006 Verify exit full-screen Video is in Press the Esc Video should exit Pass
functionality full-screen key full-screen mode
mode

7
TC007 Verify video quality Video is Change the Video resolution Fail
change playing video quality in should change to
settings selected quality

TC008 Check video loading Video link Click play Video should load Pass
time available under normal within 2 seconds
network
conditions

TC009 Verify search result YouTube Enter "funny Relevant videos Pass
accuracy homepage cat videos" in related to "funny
the search bar cat videos" should
and click appear
search

TC010 Verify search YouTube Start typing in Search suggestions Pass


suggestions homepage the search bar related to "cat"
(e.g., "cat") should appear

TC011 Verify filtered search Search page Use a filter Results should Fail
loaded (e.g., "upload match the applied
date" or "video filter
length")

TC012 Verify empty search YouTube Leave the A message like Pass
behaviour homepage search bar "Please enter a
empty and search term"
click search should appear

8
TC013 Verify search results Search page Scroll down Additional results Pass
pagination loaded through search should load as user
results scrolls

TC014 Verify liking a video User logged in Click the like Like count should Pass
button on a increase and button
video should be
highlighted

TC015 Verify unliking a video User liked a Click the like Like count should Pass
video button again decrease and
button should
return to normal
state

TC016 Verify adding a User logged Type and Comment should Pass
comment in; video submit a appear under the
loaded comment video

TC017 Verify deleting a User's own Click delete Comment should Fail
comment comment option on the be removed from
added comment the list

TC018 Verify subscribing to a User logged in Click the Subscribe button Pass
channel subscribe should change to
button on a "Subscribed"
channel

9
TC019 Verify unsubscribing User is Click the Subscribe button Pass
from a channel subscribed to subscribed should return to
a channel button "Subscribe"

TC020 Verify video upload User logged Upload a video Video should be Pass
process in, has upload file with title uploaded and
access and visible in "My
description Videos" section

TC021 Verify notifications for User is Wait for a new Notification should Fail
new uploads by subscribed to video upload appear when the
subscribed channels a channel notification subscribed channel
uploads a new
video

TC022 Verify account login YouTube login Enter valid User should be Pass
with valid credentials page username and logged in
password, click successfully
login

TC023 Verify account login YouTube login Enter invalid Error message Pass
with invalid credentials page credentials and should display, and
click login login should be
denied

TC024 Verify logout User logged in Click on profile User should be Pass
functionality icon, then logged out and
select logout redirected to
homepage

10
TC025 Verify video buffering Video loaded, Play the video Video may buffer, Pass
under low network low network but should
conditions speed eventually play

TC026 Verify video playback Mobile device Play a video on Video should play Pass
compatibility on a mobile smoothly and adapt
mobile device to the mobile
screen size

TC027 Verify password reset YouTube login Click "Forgot Password reset link Pass
functionality page password" and should be sent to
follow the registered email
reset steps address

TC028 Verify unauthorized Not logged in Try accessing Access should be Pass
access prevention "My Videos" or denied with a
other prompt to log in
restricted
sections

TC029 Verify comment Not logged in Attempt to User should be Pass


posting without login post a prompted to log in
comment on a before posting a
video comment

11
TC030 Verify search result Device with Perform a Search results Pass
responsiveness on different search and should adapt and
different screen sizes screen sizes check result be responsive
layout across screen sizes
(desktop, tablet,
mobile)

TC031 Verify "Watch Later" User logged in Add a video to Video should Pass
functionality the "Watch appear in "Watch
Later" list Later" list

TC032 Verify playlist creation User logged in Create a new Playlist should be Fail
playlist with a created and appear
name in "My Playlists"

TC033 Verify adding a video User logged Add a video to Video should be Pass
to a playlist in, playlist an existing added to the
exists playlist selected playlist

TC034 Verify deleting a User logged Delete a Playlist should be Pass


playlist in, playlist playlist removed from "My
exists Playlists"

TC035 Verify the reporting a Video loaded Click on Report form should Pass
video feature "Report" open with options
option under to choose the
the video report reason

12
TC036 Verify video User is video Edit the Description should Fail
description editing by owner and description of be updated
the owner logged in a video in "My successfully
Videos"

TC037 Verify video Logged in, Watch several Recommendations Pass


recommendations watching videos in a should adapt to the
updating videos specific genre genre watched
(e.g., travel)

TC038 Verify live streaming User logged Start a live Live stream should Pass
functionality in, with live stream start and be visible
streaming to viewers
access

TC039 Verify caption Video with Turn on Captions should Pass


selection in video captions captions and display in the
playback available select a selected language
language

TC040 Verify video download Mobile device Click on the Video should Fail
option in the mobile download download and be
app button in the available offline
video

13
7. Defect Table of above test cases
Defect Defect Test Severity Priority Steps to Expected Actual Result Status
ID Description Case ID Reproduce Result

D001 Volume TC003 Medium High 1. Play a Volume Volume remains Open
control not video. 2. should constant regardless
adjusting Adjust adjust of slider
sound volume according to movement.
slider. the slider
position.

D002 Video TC007 High High 1. Play a Video Video quality does Open
quality video. 2. should play not change after
change not Change in the selection.
applying quality to a selected
different quality.
setting
(e.g., 720p
to 480p).

D003 Filtered TC011 Medium Medium 1. Enter a Search Search results do Open
search not search results not change
working term. 2. should according to the
correctly Apply a reflect the filter.
filter (e.g., applied
upload filter.
date).

D004 Unable to TC017 Low Medium 1. Add a Comment Error message Open
delete own comment should be displayed;
comment to a video. deleted comment remains
2. Attempt successfully. visible.
to delete
the
comment.

D005 No TC021 Low Low 1. User should No notification is Open


notification Subscribe receive a received after new
for new to a notification upload by
video upload channel. 2. for the new subscribed channel.
by Wait for a upload.
subscribed new
channel upload
from the
channel.

14
D006 Playlist TC032 High High 1. Go to Playlist Error message Open
creation fails "My should be displayed; playlist is
Playlists." created and not created.
2. Attempt appear in
to create a "My
new Playlists."
playlist
with a
name.

D007 Unable to TC036 Medium Medium 1. Go to Description Error occurs, and Open
edit video "My should description is not
description Videos." 2. update saved.
by owner Edit the successfully.
description
of a video
owned by
the user.

D008 Video TC040 Medium Medium 1. Open Video Error displayed; Open
download video on should video does not
option not mobile download download.
working on app. 2. for offline
mobile app Click on viewing.
download
button.

D009 Caption TC039 Low Low 1. Play a Captions Captions display in Open
language video with should default language
selection captions. display in regardless of
does not 2. Select a selected selection.
display different language.
correct caption
language language.

D010 Live TC038 High High 1. Start a Live stream Error occurs, live Open
streaming live should start stream does not
not starting stream. 2. and be start.
as expected Wait for visible to
viewers to viewers.
join.

15
D011 Video TC025 Low Low 1. Play a Video Video buffers Open
buffering video with should excessively and
issue under low buffer does not play.
low network network temporarily
conditions speed. but
eventually
play.

D012 Like/unlike TC014, Medium High 1. Like a Like count Like count does not Open
not updating TC015 video, should update correctly
the like check the increase/dec after multiple
count like count. rease likes/unliked.
correctly 2. Unlike correctly
the video, based on
check the action.
like count.

D013 Search TC030 Medium Medium 1. Perform Search Results layout Open
results a search results appears cluttered,
layout not on a small should adapt and text is
responsive screen and be misaligned on
on smaller (e.g., responsive smaller screens.
screen sizes mobile to small
device). screen sizes.

D014 Watch Later TC031 Medium Medium 1. Add a Video Video does not Open
list not video to should appear in "Watch
updating "Watch appear in Later" list despite
Later." 2. "Watch confirmation.
Check if it Later" list
appears in after adding.
the list.

D015 Video TC037 Low Low 1. Watch Recommend Recommendations Open


recommend several ations do not adapt to
ations not videos in a should recently watched
updating specific update videos, unrelated
based on genre based on videos suggested.
watched (e.g., watched
videos cooking). genre.
2. Check
recommen
dations.

16
8. Resources used

Sr. No Name of resources Specifications Quantity

1. Web browser Google Chrome,


Environment studies book 1

2. Mobile phone Redmi 10A 1


Windows 11
3. Any laptop or desktop 1
Intel i5 12450HX
12GB RAM

4. Software Microsoft word -

9. Conclusion

This project involved designing comprehensive test cases for YouTube to ensure its
key features, such as video playback, search, user interactions, and security, function
as expected. By covering various testing types like functional, performance, and
compatibility, the project ensures that YouTube provides a high-quality, reliable, and
secure experience across devices and platforms. The test cases will help identify
issues early, improve user satisfaction, and maintain the platform's stability. Overall,
this project highlights the importance of thorough testing to ensure YouTube's
continued performance and user experience.

10.Skills developed

1. Test Case Design: Ability to create detailed and effective test cases, including
defining test scenarios, steps, expected results, and criteria for success.
2. Requirement Analysis: Skill in analysing software requirements to identify key
features and functionalities that need to be tested.
3. Testing Techniques: Knowledge of various testing methodologies (e.g., functional,
performance, security, usability) and when to apply them.
4. Manual Testing: Experience in executing test cases manually and documenting
results, including identifying and reporting defects.

17
11.Reference

Software Testing Help:

https://www.softwaretestinghelp.com

Google

https://www.google.com

18

You might also like