NewSoftware Requirement Specification for Facebook 1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

1.

INTRODUCTION
This document is prepared in order to determine a software requirement specification for Facebook.
Facebook is a social network on which people can add their friends, share videos and photos, send
and receive messages, comment on the links etc. In order to gain an overview about the report,
firstly, the purpose and scope of this document will be given, then an overall description of
Facebook system is followed.. In addition to these, system features such as uploading photo,
sharing video, adding friend etc. are described deeply. After mentioning about the introduction of
the software system, the specific requirements will be addressed for it. In the final part, functional
and non-functional requirements will be addressed. XPath includes over 200 built-in functions.
With XPath knowledge you will be able to take great advantage of your XSLT knowledge.

1.1 PURPOSE
The SRS is needed to evolve as the development of the software product processes. The purpose of
this document is to give a complete description about how Facebook social network system can be
developed. This document is to provide information about what the software product is to do to
customers and establish an agreement between customers and suppliers and also become helpful for
development. In addition to these, it provide a basis for validation and verification. The issues
which are basically addressed are functionality such as adding friends, uploading photos, external
interfaces, performance, attributes and the design constraints of the system. The Election
Commission has banned BJP's Abhijit Gangopadhyay from campaigning for 24 hours due to
derogatory comments against West Bengal Chief Minister Mamata Banerjee. Gangopadhyay,
contesting from Tamluk constituency, faces backlash for remarks.

1.2 SCOPE
The name of the software product is Facebook. Facebook is a social network that connects people.
The aim of Facebook is to provide information to the users about the events and the people whom
they know. The users of Facebook can add friends, share videos which they want their friends
watch; upload photos, comment on their friends’ sharings, chatting with their friends and become
informed about their friends. Moreover, people can createsocial groups for such as university
clubs, football clubs or for social awareness. People can be informed about the events by the help
of these groups or their friends.MS Dhoni said there is no option but to stay fit if you want to play
at the highest level as no one gets a discount for age.

1
1.3 DEFINITIONS, ACRONYMS and ABBREVIATIONS
When the user logins Facebook, they can see their home page, which is named as “News Feed” that
provide users to see what their friends share, what their friends write their status. Moreover, at the
left of this page, the user can see the event invitations and the birthdays of their friends. Therefore
News Feed is the main page which combines daily friend interactions.

2. OVERALL DESCRIPTION

In this section, background information about what type of requirements the system should have
will be provided briefly.

2.1 PRODUCT PERSPECTIVE


Facebook is an independent and world-wide social network website. Every person can use it online
without a fee. The Facebook is not a part of a larger system, it is an independent system. People
from different regions of the world can connect to it and exchange informationwith other people. In
order to control the contents of the sharings and comments done by the other people, Facebook has
also a control mechanism. People can deliver their complaints about any part of the Facebook to
the “Facebook Administrators”. Then, “Facebook Administrators” might take appropriate actions
according to the complained situation which isagainst the rule.

2
2.2 PRODUCT FUNCTIONS

After creating an account and starting to use the Facebook, first thing he or she will make is
searching for friends. The user will search people by their names and can send an invitation to them
to add as a friend and to be able to see their shared items on Facebook. If the person accepts the
invitation, these two persons become friends on Facebook and can interact more closely such as
sending messages to each other.

Any user can share his/her status like whatever he is thinking, wherever he is or his current mode.
Friends of this person can make a comment on that. Furthermore, if a user shared a photo, video,
link or anything, any friend of that user can share that shared item also.

Users can upload photo and video to their profiles and create an album. Anyone can create a group
and invite people to join in the group. Similarly, people can attend the activitieswhere they are
invited.

Users can upload photo and video to their profiles and create an album. Anyone can create a group
and invite people to join in the group. Similarly, people can attend the activitieswhere they are
invited.
Akshay Kumar rarely speaks about his children — son Aarav and daughter Nitara — in public,
preferring to keep their lives away from the limelight. However, he made an exception on cricketer
Shikhar Dhawan’s brand new talk show, Dhawan Karenge on Jio Cinema. During the interaction,
Akshay revealed that Aarav doesn’t want to be a part of films and wants to pursue a career in
fashion.

2.3 USER CHARACTERISTICS

Facebook does not require any specific computer knowledge to use it except the developers and
administrators of it. Standard users are thought to be from any age, any genderand from any
nationality who can use just computer’s browser. On the other hand, administrators and potential
developers need a high level of expertise to understand web technologies.

2.4 CONSTRAINTS

Being a social network website, the software should ensure the safety of information given by the
user and provide some privacy settings options to the user.

Being a social network website, the software should ensure the safety of information given by the
user and provide some privacy settings options to the user.

Firstly, Facebook provides people the right to choose the category of people who will be able to
view their shared items. Some users may not desire the access of some people to their shared items
and information. If this is the case, users can set their privacy settings to prevent some people’s

3
access to their information.

Secondly, Facebook cannot sell the private information of users to someone else.
However, if the user permits, an application can access to some information of the use.
Khiladi Kumar lauded his son for being grounded, doing all the household chores himself, and
avoiding splurging on expensive clothes. He said, “He does his own laundry, he is a good cook,
does the utensils and doesn’t even want to buy expensive clothes. In fact, he goes to a second-hand
store, Thrifty, to buy clothes because he doesn’t believe in wastage.”

Khiladi Kumar lauded his son for being grounded, doing all the household chores himself, and
avoiding splurging on expensive clothes. He said, “He does his own laundry, he is a good cook,
does the utensils and doesn’t even want to buy expensive clothes. In fact, he goes to a second-hand
store, Thrifty, to buy clothes because he doesn’t believe in wastage.”

3. SPECIFIC REQUIREMENTS
In this section, all software requirements will be explained in detail. All requirements are divided
into two groups as functional and non-functional.

In this section, all software requirements will be explained in detail. All requirements are divided
into two groups as functional and non-functional.

3.1 EXTERNAL INTERFACE REQUIREMENTS


In this section, external interface requirements for user and communication channels will be
described in order to clarify the relationship of this software with other entities and systems.

In the first part, user’s interfaces will be explained with the layout information, textualitems and
error handling types for two types of users of the system, as standard users and Facebook
administrators. In the second part, communication interfaces of our system will be described in
order to explain the relationship with other systems which are sharing information with Facebook.

3.1.1 USER’S INTERFACES

3.1.1.1 STANDARD USER INTERFACE


Standard users shall be using the web browser to use the product. Thus, it shall have a login page
and users must login with their e-mail addresses and passwords. After a successful login, they shall
be taken to their “News Feed” which is their homepage thereafter. Since they are logged into the
system, there must be logout button and their Facebook profile names at the top of the page until
they logged out of the system. In addition, there shall be Help menuin order to explain the
processes of Facebook to the users.

Being a social network, a direct link to the list of “Friends” shall be listed in the “Account” menu,
4
located at the right top, which shall also include “Logout” and “Accountand Privacy Settings”.
At the top, there shall be “Home” and “Profile” buttons which are used for linking News Feed and
users’ own profile respectively. “Search” field which lets users search for their friends, events, etc.
shall be located at the center of the top in the whole processes. All other features of the system shall
be reachable by menu as a left sidebar such asEvents, Photos, Videos, Groups etc. In the menu,
order of these features shall be updated according to their usage levels for the users Finally, sub-
functions, such as “Creating Event” which is related to “Events” feature, shall be reachable from
the related features menu. You see, the day election results come out, and throughout that week,
stock market programmers will get tired of the action,” Modi told NDTV. The Prime Minister said
the last 10 years had seen the market hitting the 75,000-level from the 25,000. "The more common
people invest in stock markets, the better for the economy. And the risk appetite of every citizen
should rise,” he said, pointing to the rally in public-sector firms that underscored the Centre's
efforts pushing maximum economic reforms and pro-entrepreneurship policies to strengthen the
economy.

Since standard users can use different types of features, there shall be different interfaces for each
of them and they will be described separately:

3.1.1.1.1 Creating an Event:

This function’s interface will be a form which contains text fields/areas and check boxes. This form
will have a “text fields” for “Date and Time”, “Name” and “Place” of the event. Optional text fields
for ending time will be shown when user clicks on “Adding End Time” and optional “Street” and
“City/Town” will be shown when user clicks on “Adding Street Address” button. There will be a
“text area” which is for “Additional Information”.

There will be a button for selecting guests and when user clicks on this, friends list will be shown
to select. Finally there will be two check boxes for making event “Public Event” and “Showing
guest list to others”. In order to send this form, there will be a “Create Event” button. If the user
does not fill the form correctly, s/he will be notified and when the user submits correctly s/he will
be directed to Event page which is just created.

In order to send this form, there will be a “Create Event” button. If the user does not fill the form
correctly, s/he will be notified and when the user submits correctly s/he will be directed to Event
page which is just created.

3.1.1.1.2 Attending an Event:


5
This function will be shown in the related event’s page at the top of the page. This willbe formed of
three buttons for attendance situation of the user to the event. These shall be “No”, “Yes” and
“Maybe Attending”. When user clicks on “Yes” or “Maybe Attending”, s/hewill be listed in the
guest list and when “No” is clicked no action will be taken.

3.1.1.1.3 Uploading Photo:

When this function is to be performed, there will be a button for choosing image files. When user
clicks on it, a file browser will be opened to select images. When user successfullyuploads the
photo, s/he will get a notified, if an error occurs during the upload, the user bill beinformed about
it. When this function is to be performed, there will be a button for choosing image files. When
user clicks on it, a file browser will be opened to select images. When user successfullyuploads the
photo, s/he will get a notified, if an error occurs during the upload, the user bill beinformed about it

3.1.1.1.4 Creating Album:

This function will have an interface as a form type. This form will include two text fields for
“Name of the Album” and “Location” and there will be a drop down menu for selecting the
album’s privacy settings. In order to complete form, there will be Cancel and Create Album
buttons. When user creates album s/he will be taken to uploading photofunction.

3.1.1.1.5 Uploading Video:

With resembling to Uploading Photo interface this function will have a button forchoosing
files to be uploaded and there will be a text field for the name of the video. In addition,
limit and copyright notifications will be shown (under 1024 MB and 20 minutes and user’s own
production). If user selects inappropriate files, s/he will be informed, on the other hand successful
uploading will take the user to the video page which is just uploaded.

6
3.1.1.1.6 Sending Message:

This function will use an interface constituted of one text field for message receiver and one text
area for message itself. There will be two buttons for attaching a file or picture and one additional
check box if the user wants this message to be sent as a text message also. To complete form, there
will be send and cancel buttons. Upon successful sending user willbe informed as “your message
sent” and if no user selected or no message is written send button will not take any action and no
notification will be shown. Hi I am an automation Test Engineer, I love automating Web
UI’s & the repeated Task that I see .

3.1.1.1.7 Receiving Message:

This function will be available through the “message received notification” in the home page.
Reaching the receiving message interface, the sent message will be shown withthe sender’s
“Profile Name” and “Profile Picture”. //input [@id=’name’] Time at the message sent will be
shown at the right top of the message and subject of the message will be shown below time. In
order to continue conservation, at the bottom there will be Sending Message interface.

3.1.1.1.8 Sharing User Status:

For this function, there will be a text field for the status to be shared and there will be adrop down
menu for selecting the privacy level of the shared status for Friends, Networks or Public. Finally,
there will be a share button to complete the form. Lionel Messi is the best footballer in the World.
But Ronaldo is also among the current top Footballer’s in the World. When the user exceeds the
limit of status, which is 420 characters, s/he will be informed for “Exceeding limit”; therefore the
remaining character limit will be shown at the right top of the text area. Upon sharing in the limits,
the shared status will be shown in the News Feed thereafter.

7
3.1.1.1.9 Commenting:

This function will be reachable for the every shared item such as pictures, videos, user status etc.
This interface will have a text area for comments and when the user presses “Enter”key after
writing the comment in the text field, the comment will be listed thereafter in the bottom of the
related item.

पुण्यातील कल्याणीनगर अपघात प्रकरण आता चाां गलचां तापलां असून त्याचे राजकीय पडसादही उमटू लागले
आहे त. आता शिवसेना नेते, खासदार सांजय राऊत याां नीही या मुद्यावरून राज्य सरकार आशण पुणे पोशलसाां वर
तािेरे ओढलेत. पु णे पोशलस आयुक्ाां ना बडतर्फ केलां पाशहजे, अिी मागणी त्याां नी केली आहे .

3.1.1.1.10 Searching Friend:

This interface will be reachable from every page and will include one text field for textto be
searched and one button at the left to start searching. This interface will take the user to the results
page which shows the list of the search results.

3.1.1.1.11 Adding Friend:

This function will be reachable from every profile page which is not already added asa friend.
Clicking the “Add as a Friend” button from the top of the profile page, interface of this function
will be reached. This interface will have an optional button for adding “Personal Message” to the
other user which will open a text field for this personal message. At the right bottom of the
interface, there will be two buttons for cancelling the request and sending the request. Sending the
request successfully, an informative text will be shown at the profilepage of the user which the
request sent as “a friendship request sent” instead of “Add as a Friend” button thereafter.

3.1.1.1.12 Creating Group:

This interface will be in a form style. There will be a text field for the group name and a text area
for writing the names of the group members. At the bottom of the interface, a drop-down menu will
help user to select the privacy level of the group and these will be followedby create and cancel
buttons. If the user either does not type a group name or any friend’s name to be member of the
group, the user will be informed. When the user successfully fills fields, the interface will take the
8
user to the group page which is just created.

3.1.1.1.13 Creating Complaint:

This interface will be reachable from any of the profile pages, shared items or events by clicking a
direct link. This interface will be in a form style which lets users to select any of the reasons why
they are complaining about the content. Therefore the reasons will be listed with radio boxes. In
order to send the complain report, there shall be “Continue” and “Cancel”buttons. Upon successful
sending the user will be informed about the completion.

3.1.1.2 FACEBOOK ADMINISTRATION INTERFACE

Administrators of the Facebook will be using the administration features by logging into their
specific interface using a browser. Therefore, there shall be a login page which is different than
standard users’ login page and administrators shall use that page to login system. After successful
login they will be taken to the reading complaints interface directly. In addition, administrator’s
name, authority level and logout button shall be located at the top of the page thereafter. Basic
outline for the Facebook administrators’ interface can be seen the figure below

Administrators’ main responsibility will be reading and responding complaints, however they will
be able to search through Facebook users and send message to them in order to control activities
of users that have complaints recorded against. Therefore, after a successful login,
administrators will be able to reach sending messages, searching, reading and responding
complaints interfaces by the direct links given at the top of the page.

Since searching and sending message interfaces are same as the standard users’ interfaces, they will
not be described again in this part. On the other hand, Reading Complaints and Responding
Complaints interfaces will have different characteristics that will be described as following:

9
3.1.1.2.1 Reading Complaints:

This interface will enable administrators to read the complaints that are sent. Therefore, this
interface will be in a list type which includes subject of the complaint, name of the sender, content
of the complaint and time when the complaint is sent. Administrator will be able to sort the
complaints according to their priority levels or to time at which the complaint is occurred;
therefore, at the top of the list related buttons shall be located. In addition, administrator will be
able to filter the complaints according to the time interval that are sent, countries which they are
sent from and priority levels. Therefore, drop down menus for filtering functions must be located
next to the list.

3.1.1.2.2 Responding Complaints:


This interface will enable administrators to take actions to the complaints that are sent. Therefore
this interface shall be shown at the bottom of the complaint which is related to. These actions will
include deleting the user account, sending an attention to the user and deleting the shared item
which does not obey copyright or privacy rules. Therefore, a drop down menu in order to let the
administrator to select an action shall be located. After taking a successful action, or in this concept
responding the complaint, a feedback will be given to the administrator.

3.1.2 COMMUNICATION INTERFACES

As a whole social networking website, Facebook will be completely stand-alone system which lets
other platforms connect, fetch and transform data in certain levels. Therefore, other platforms such
as mobile phone applications, namely Facebook for Android, iPhone, Windows Mobile etc., or
other websites which want to use Facebook integration will be connecting to the Facebook main
system by using Facebook Platform. Facebook Platform will provide APIs and tools to 3rd party
developers to let them create high-level integrated plugins and programs. Therefore main
communication interface with the other platforms will be Facebook Platform for Facebook.
However, this integration and its level will be set by the user, who wants to integrate their accounts
and information with other websites. Basic outline of the communication interfaces could be seen
from the figure

10
3.2 SYSTEM FEATURES

In this section, all normal and alternative flow of events are organized with the assumption that
users or administrators are successfully reached their homepage by loginning to the system. This
assumption is made in order to describe specifications of the sub-features with better focusing.

3.2.1 CREATING AN EVENT

3.2.1.1 Background Information

Facebook is a social network site so people want also to use Facebook in order to inform their
friends and other people who are friends of their friends about activities and events. For this reason,
Facebook provides users such a system feature. On the right hand side of the screen, there is a link
that opens the events page and at the left hand side of this events page, there is a box which link to
create an event.

3.2.1.2 Description

Primary Actor Standard User

Goal in context The purpose of this feature is to enable users to create an event for
informing their friends about their activities.
Preconditions In order to create an event, people must have a Facebook account.

Trigger User wants to create an event, which they want to make in real life,
in online manner.

3.2.1.3 Normal Flow of Events


1 User reaches the events interface from the homepage of Facebook.

2 The necessary information is typed the required areas.

3 User clicks create an event to finish creating.

4 User is notified of the successful operation she has performed.

3.2.1.4 Alternative Flow of Events

Alternative Event Flow 1:


11
User presses create event button without completing the name of the event.

User is notified that s/he must provide an event name.

Driver.findElements(By.xpath(“//input[@test=’name’]”)

Alternative Event Flow 2:

User presses create event button without filling the time of the event.

User is notified that s/he must provide an event time.

3.2.1.5 Functional Requirements

REQ. 1: System shall check whether the name of the event is entered.

REQ. 2: System shall check whether the time of the event is entered.

3.2.2 ATTENDING AN EVENT

3.2.2.1 Background Information


The created events can be sent to the people in user’s friend list in order to inform them about the
event and ask whether they attend or not. The users, who are sent event request, can learn the
details of the event and attend this event. After attending an event in online manner, they can learn
any change in the event schedule, place or content.

The created events can be sent to the people in user’s friend list in order to inform them about the
event and ask whether they attend or not. The users, who are sent event request, can learn the
details of the event and attend this event. After attending an event in online manner, they can learn
any change in the event schedule, place or content.

3.2.2.2 Normal Flow of Events

User reaches the event invitation interface from the homepage of Facebook.
User presses I’m attending button.
The page is renewed and the user added to attending list.

12
3.2.3 SEARCHING FRIENDS

3.2.3.1 Background Information


Since Facebook is introduced to people as a social network, searching friends is one of the main
features of Facebook. #include<stdio.h>, #include<conio.h> This function of the system enable the
users find their friends by searching with their friends’ name. If the searched friend is Facebook
user and s/he do not close their profile to searches from privacy settings, the search engine of
Facebook will come out the people who has the searched name.

3.2.3.2 Normal Flow of Events


User reaches searching friend interface from every page.
User types the name of his/her friend in the search box.
The results are shown on the screen

13

You might also like