Uploaded by bluestacks computer

Black Box Testing

advertisement
Django Blog
Black Box Testing Report
Date: 28 th April 2021
Contributors:
●
●
●
●
Talha Amir (18B-095-SE)
Fatima Ali (18B-086-SE)
Zainab Ali (18B-042-SE)
Farooq Hidayat (18B-122-SE)
Usman Institute of Technology
1
Purpose:
There are many reasons to start a blog for personal use and a few for business blogging. Blogs for
business, projects or anything else that you can make money from have a very simple purpose: to
rank your website higher in Google's SERPs. to. Increase your visibility. As a company, you trust that
consumers will keep buying your products and services. As a startup, you rely on blogging to reach
out to potential consumers and get their attention. Without blogging, your website would function
properly. Stay invisible while blogging and searching and competing.
Approach:
The approach that we'll be using in order to do the black box testing is Manual UI
Testing. In this approach, a tester checks and uses the system at a user level. Check
and verify the user data and error messages.
2
Test Cases
Test Case Name
Input
Output
Valid/Invalid
login/sign in
(Username,Password)
Valid:
(The_QA_Guy,tester12)
--------------------------------Invalid:
(tester123,tester123)
Logged In
Successfully
--------------------------Invalid username
or password
Valid Credentials
User logged In
---------------------------Invalid Credentials
User logged In show
Log In Error
register/sign up
(Username,Email,Pass)
Valid:
(All conditions
Satisfied)
--------------------------------Invalid:
(One or more than
one condition )
User has been
created
successfully.
--------------------------Request for
Re-submission of
the form
All fields should be
filled.
-----------------------------Invalid if one or
more than one
condition not been
satisfied
Create a blog
Pre-Conditions:
User must be Logged
In
Valid:
(Title,Description)
--------------------------------Invalid:
At Least one field to
be Invalid
Blog Created
--------------------------Fill out all the
fields
All fields should be
filled.
-----------------------------On Invalid condition
creation of blog will
be repeated until all
the validations have
been satisfied
Delete a blog
Pre-Conditions:
User must be Logged
In
(User)
Blog Deleted
-------------------------No opinion for
Deleting the Blog
Blog should be
created.
Update a blog
Pre-Conditions:
User must be Logged
In,Blog must belong to
that User
(User,Blog)
Blog Updated
-------------------------Resubmit the
form,error pop-up
All fields should be
filled.
-----------------------------Blog should be
created.
View Feed
None
View Blog Posts
Anyone form the
Internet can view
any blog no valid or
invalid conditions
3
Log In/Sign In:
Invalid Cases:
User tries to login without providing any credentials
Input(NULL,NULL)
Error Message:
4
Invalid Credentials:
Error:
5
Valid Case:
Result:
6
Register/Sign up:
Invalid Cases:
Error:
7
Valid Case:
All the required credentials are provided with all the validation conditions being satisfied.
8
Result:
As the credentials were satisfied now user will be redirected to Log In Page.
9
Create a blog:
Invalid Case:
10
Result:
11
Valid Case:
Result:
12
Update A Blog:
Invalid Case:
Result:
13
Valid Case:
Result:
14
Delete A Blog:
Case:
Users must be logged in to account, The Blog to be deleted must be owned by the User.
There are no other inputs required
Confirmation before deleting the blog
Blog has been deleted.
15
View Feed:
Result:
As the view feed has no pre-conditions or set of inputs , anyone on the internet can view
the feeds. So it has no test cases.
Download