Uploaded by Alex Solluwar

STE MICROPROJECT

advertisement
Krushi Jivan Vikas Pratishtan- Yenbodi, Reg.No. F-294
BALLARPUR INSTITUTE OF TECHNOLOGY, BALLARPUR- 442701
BTC - SCHOOL OF DIPLOMA IN ENGINEERING
POLYTECHNIC (1543)
A PROJECT REPORT
On
TEST CASES FOR GMAIL (LOGIN AND SIGNUP)
In
DEPARTMENT OF
COMPUTER ENGINEERING
submitted for the partial fulfillment of the requirement in
curriculum of Fifth Semester in “I” – scheme
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION MUMBAI
SUBMITTED BY :
ALEX SOLLUWAR
UNDER THE GUIDANCE OF:
Prof. Prajakta Shinde
Assistant Professor
Department of Computer Engineering
2023-2024
CERTIFICATE
This is to certify that I Alex Solluwar that the project entitled TEST CASE FOR GMAIL
(LOGIN AND SIGNUP) is successfully completed for the fulfillment of the requirement in first
Semester of “I” – scheme curriculum prescribed by Maharashtra State Board of Technical
Education, Mumbai.
Place: BIT, Ballarpur (1543)
Date: 17/11/2023
Prof. Prajakta Shinde
PROJECT GUIDE
Dated Signature
Prof. Aarti Vaidya
HEAD OF DEPARTMENT
Dated Signature
ACKNOWLEDGEMENT
It is our great pleasure to present this project report with all our efforts to fulfill it in all aspects.
We would like to thank our Project Guide Prof. Prajakta Shinde, Assistant Professor,
Department of Computer Engineering for her valuable guidance and all his support.
We would like to thank Prof. Aarti Vaidya Head of Department for his consistent supervision.
We would like to thank Prof. Shrikant .S. Goje, Principal of our institute for motivation and
inspiration.
Lastly, we would like to thank all the group members who took great efforts and worked hard to
complete it.
PROJECT GROUP MEMBER:
ALEX SOLLUWAR
INDEX
Sr.
Particulars
Page Number
No.
1
Teacher Evaluation Sheet.
2
Progressive Assessment for Micro-Project.
3
INTRODUCTION
1
2-3
4
TEST CASES FOR REGISTRATION PAGE
5
4
TEST CASES FOR LOGIN PAGE
8
5
CONCLUSION
11
6
7
REFERENCES
12
TEACHER EVALUATION SHEET FOR MICRO-PROJECT
NAME OF STUDENT :
ALEX SOLLUWAR {2115430048}
Course Title and Code: CO5I
Semester: V
Title of the Project: TEST CASES FOR GMAIL (LOGIN AND SIGNUP)
COs addressed by the Micro-Project:
Major Learning outcome achieved by the students by doing the project:
a) Practical outcomes:
b) Unit Outcomes (in Cognitive Domain):
c) Outcomes in Affective domain:
Marks:
(A)
Marks for work
(B)
Marks obtained by the individual
based on
(C)
Total Marks (A+B)
Name and Designation of the Faculty Member
Signature
viva
Prof. Prajakta Shinde
Progressive Assessment for Micro-Project
Title of Project:
Sr.
No.
Date
REPORTS ON VARIOUS FORMAL BUSINESS ACTIVITIES
Activity performed
Prof. Prajakta Shinde
1 03/10/2023
informed us about Microproject
2 20/10/2023
Prof. Prajakta Shinde gives us our
micro-projects
3 22/10/2023
Discussed with Prof. Prajakta
Shinde on the topic
4 25/10/2023
Collected some data from
internet
5 26/10/2023
6 08/11/2023
Discussed about collected data
With Prof. Prajakta Shinde
I collected many more data from
other
sources like books
7 11/11/2023
Then I discussed of imp from
Internet
8 15/11/2023
Then I watched some videos related
to project
9 19/11/2023
Then I go to market and
purchased project materials
10 20/11/2023
Then I started making project
Remarks by Project
Guide
Dated
Signature
Project Guide
11 24/11/2023
On (LDR)
12 25/11/2023
Then I checked my
micro –project from the Prof.
Prajakta Shinde
13 26/11/2023
Make corrections in project
report
14 28/11/2023
Learnt the project for viva
Project Group Members:
ALEX SOLLUWAR
Date of Submission:23/11/2023
Project Guide: Prof. Prajakta Shinde
Dated Signature with Name and Designation
INTRODUCTION :
The test case is defined as a group of conditions under which a tester determines whether
a software application is working as per the customer's requirements or not. Test case
designing includes preconditions, case name, input conditions, and expected result. A test
case is a first level action and derived from test scenarios. It is an in-details document that
contains all possible inputs (positive as well as negative) and the navigation steps, which
are used for the test execution process. Writing of test cases is a one-time attempt that
can be used in the future at the time of regression testing.
Test case gives detailed information about testing strategy, testing process, preconditions,
and expected output. These are executed during the testing process to check whether the
software application is performing the task for that it was developed or not. Test case
helps the tester in defect reporting by linking defect with test case ID. Detailed test case
documentation works as a full proof guard for the testing team because if developer
missed something, then it can be caught during execution of these full-proof test cases.
Write the test case, we must have the requirements to derive the inputs, and the test
scenarios must be written so that we do not miss out on any features for testing. Then we
should have the test case template to maintain the uniformity, or every test engineer
follows the same approach to prepare the test document.
TEST CASES FOR REGISTRATION PAGE :
Sr Test
Feature
No. Cases
1
2
3
4
5
6
Description
Check all the text
boxes, radio
buttons, buttons,
etc
Steps To
Execute
Test Data / Input
1. Click on Radio
buttons, buttons, N/A
and dropdowns
TC001
User
Interface
TC002
1. Do not enter
Check the required any value in the
Required
fields by not filling field
fields
any data
2. Click on the
Register button
N/A
TC003
1. Enter valid
Check user should
values in the
Required Register by filling
required fields
fields
all the required
2. Click the
fields
Register button
N/A
TC004
Optional
Fields
1. Do not enter
any detail in
optional fields
Check all the
2. Enter valid
optional fields when
data in required
data is not filled
fields
3. Click on the
Signup button
N/A
TC005
Optional
Fields
1. Enter valid
data in optional
fields
Check all the
2. Enter valid
optional fields when
data in required
filling data
fields
3. Click on the
Register button
N/A
TC006
1. Check the Email
text field with an
Email address
without @ symbol
1. Enter Invalid
2. Check the Email
Email
Emails
text field with a
validation
2. Click on the
random string
Register Button
instead of a real
email
3. Check the Email
text field that has @
1. testAtgmail.com
2. test@gmailcom
3. test@gmail
4. @gmail
Expected Results
UI should be perfect
It should show a
mandatory symbol
(*) on mandatory
fields.
1. Users should be
registered
successfully
2. A successful
registration
message should
show up
3. Mail should be
sent to the user
1. It should not ask
to fill in the optional
fields
2. The user should
be registered
successfully
3. A successful
registration
message should
show up
4. An email should
be sent to the user
1. User should be
registered
successfully
2. A successful
registration
message should
show up
3. An email should
be sent to the user
It should show the
validation message
for valid email
Sr Test
Feature
No. Cases
Description
Steps To
Execute
Test Data / Input
Expected Results
symbol written in
words
4. Check the Email
text field with a
missing dot in the
email address
7
TC007
8
TC008
9
TC009
10
TC010
11
TC011
12
TC012
13
TC013
14
TC014
1. Enter valid
Email
Check all the valid Emails
1. test.22@gmail.com
validation emails
2. Click on the
2. test@gmail.com
Register Button.
1. Enter
Check the phone alphanumeric
Phone
number when
data in the Phone
Number
1. dada5$7567#7
passing
field
validation
alphanumeric data 2. Click on
Register button
1. Enter a valid
phone number
Phone
Check the phone
without country
Number number when not
1. 9012078654
code
validation pass country code
2. Click on the
Register button
1. Enter a valid
Check the phone
Phone
phone number
number when
Number
with country code 1. +9190112244
passing country
validation
2. Click on
code
Register button
1. Enter a value
Check the
that is
password limit
alphanumeric but
Password when entered value less than eight
1. Pasword
Validation is less than the
characters in
required minimum length.
characters
2. Click on the
Register button
Check the
1. Enter an
password limit
alphanumeric
when entered
value of more
Password value’s length is
than 32
Any Random string
Validation greater than the
characters in
with numbers
maximum
length.
permissible
2. Click on the
characters
Register button
1. Enter a string
Check the
in numbers with a
Password password when
length between
1. 12345678
Validation passing only
8-32 characters
numbers
2. Click on
Register button
Password Check the
1. Enter a string
1. Pass123456
Validation password when
in alphanumeric
It should not show
any validation
message
It should show the
validation message
for Phone Number
It should show the
validation message
for country code
is required
It should not show
any validation error
message
It should show a
validation error
message
It should show a
validation error
message
It should show a
validation error
message
It should not show
any validation error
Sr Test
Feature
No. Cases
15
TC015
TC16
016
TC17
017
TC18
018
19
TC019
Steps To
Test Data / Input
Execute
passing valid data with a length
between 8-32
characters
2. Click on the
Register button
1. Go to the Site.
2. Passed blank
Verify if blank
Required
spaces in
spaces are passed
N/A
Fields
required fields.
in required fields.
3. Click on the
Register button
Description
1. Go to the
Verify that an user
Required
Email.
can verify their
Fields
2. Click on the
Email ID
verification link.
test22@gmail.com
1. Enter a phone
number of fewer
Verify if the phone
Phone
than ten digits.
number length is
Number
2. Enter all the
91901122
incorrect, i.e., less
Validation
required fields.
than ten characters.
3. Click on
Register Button
1. Enter a phone
number with less
Verify if the phone
Phone
than ten digits.
number length is
Number
2. Enter all the
91901122445566
incorrect, i.e., more
Validation
required fields.
than ten characters
3. Click on
Register Button
Verify if the
password required
Password
rules are not
Validation
satisfied in the
password
1. Enter the
password which
does not satisfy
passw
the required rule.
2. Click on
Register button
Expected Results
message
Those Blank spaces
should trim and a
validation error
message for
required fields
should show up
The user should get
a verification link
and should be able
to verify their Email
ID.
It should show the
validation error
message for phone
number length.
It should show the
validation error
message for phone
number length.
It should display an
error with required
rules for password
value (like it should
contain a special
character, a small
case, a number, etc)
TEST CASES FOR LOGIN PAGE :
Sr Test
No. Cases
1
Feature
User
TC-01
Interface
Required
Fields
2
TC-02
3
TC-03 User Login
4
TC-04
5
TC-05 User Login
6
TC-06 User Login
7
Signup
TC-07 Option for
new users
8
TC-08
User
Interface
Forgot
Password
Description
Check all the text boxes
and buttons
Steps To Execute
Check Page
Expected Results
1. UI should be perfect
2. Text boxes and
button should be
aligned
1. Enter an invalid
username
The user should not
Check the required fields by 2. Enter the correct log in and should
not filling in any data.
password
show a proper error
3. Click on the
message
Login button
1. Enter a valid
username
The user should not
Check when passing a
2. Enter an incorrect log in, and a proper
correct username and
password
error message should
invalid password
3. Click on Login
show up
Button
1. Enter valid
username
User should not log in,
2. Do not enter
and a proper error
Check Keeping Password
password
message should show
3. Click on Login
up
Button
1. Enter a valid
username
Check when passing
2. Enter a valid
User should log in
correct email and password password
3. Click on Login
Button
1. Enter a valid
username
Check if the password is
Password is entered in
2. Enter a password
entered is encrypted
encrypted form
3. Click on Login
Button
Clicking the signup
Check whether the signup
Click on the Signup link takes the user to
link for the new user is
link
the signup page
working
successfully
1. Click on the
Forgot password
Verify that a user should
link.
get an error message when
The user should get
2. Enter an
an unregistered email id is
an error message.
unregistered email
entered.
id and click on the
send button.
Sr Test
No. Cases
Feature
TC-09
Reset
Password
10 TC-10
Reset
Password
11 TC-11
Reset
Password
12 TC-12
Reset
Password
13 TC-13
Reset
Password
14 TC-14
Required
Fields
9
Description
Steps To Execute
Expected Results
1. Go to the reset
password link.
Verify that a user should
2. Enter the
get an error message when
The user should get
previous password.
entering the previous
an error message.
3. Click on the
password.
Reset Password
button.
1. Go to the reset
password link.
2. Enter a new
The user should get
Verify that the user is able password and a
the success message,
to reset their password
confirm password. and the password
3. Click on the
should reset.
Reset Password
button.
1. Go to the reset
password link.
Verify that the user should 2. Enter a different
get an error message when new password and The users should get
the password and confirm a confirm password. an error message
password do not match
3. Click on the
Reset Password
button
1. Go to the reset
password link
2. Enter a new
password and a
Verify that the user can log confirm password
The user should log in
in with a new password.
3. Click on the
Reset Password
button.
4. Log in by using
the new password
1. Go to the reset
Verify that if the user enters password link.
a new password that does 2. Enter a new
not cover the basic
password that does The user should get
password requirements, an not cover the basic an error message
error message should show requirements.
up
3. Click on the
Reset Password.
1. Go to the Site
Those Blank spaces
2. Passed blank
should trim, and the
Verify if blank spaces are spaces in required Validation error
passed in required fields. fields.
message for required
3. Click on the
fields should be
Login button
visible.
Sr Test
No. Cases
Feature
Description
Steps To Execute
Expected Results
Verify that new users
Users should get a
1. Go to the Email.
should get a welcome email
welcome email on
2. Enter Login Email
after login
their email id
1. Enter incorrect
Email
User should not be
Verify when passing
2. Enter the correct able to log in, and the
16 TC-16 User Login incorrect Email and correct
password.
error message should
password
3. Click on the
be displayed
Login Button
1. Enter an incorrect
Email.
The user should not
Verify when passing both
2. Enter an incorrect be able to log in, and
17 TC-17 User Login incorrect Email and
password.
the error message
password
3. Click on the
should be displayed.
Login Button
1. Click on the
Forgot Password
link
Verify Forgot Password
2. Enter an Email ID The user should get a
User Forgot
18 TC-18
sends a forgot password
and click on the
forgot password link
Password
link
send button.
on their email id
3. Now go to
mail7.io and enter
the email id
15 TC-15
Welcome
Email
CONCLUSION :
In order to create bug-free and error-free login pages, it is helpful to think like
an end user. You can also add your test cases to the GMAIL login page as a
reference.
Verified that users cannot login with a invalid password and valid username.
Verified that users can login with a valid password and username.
ABSTRACT :
A Test Case outlines a set of conditions, or variables, under which the tester
determines whether an application or software system meets the
specifications. Positive and negative test cases in software testing are used
to analyze the system behavior under different conditions.
Positive test cases verify that the system behaves according to the provided
action or meets specific requirements. For example, login page positive test
cases validate that a user can successfully log in with valid credentials.
On the other hand, login page negative test cases are designed to verify the
system behavior when unexpected or invalid input is provided by the users.
Thus, these tests verify that the system must behave when it receives input
outside the expected range.
For example, negative test cases verify that the system displays the correct
error message when the users enter an invalid username or password.
REFERENCES :
https://sampletestcases.com/test-cases-for-gmail-login-page/
https://mail7.io/blog/posts/Test-Cases-For-Registration-&-Login/
Related documents
Download