STE- Practical 12(tejas sawant-21)

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

DEPARTMENT OF COMPUTER ENGINEERING

Subject: Software Testing Subject Code:22516


Semester: 05 Course: CO5I-B
Laboratory No: L003C Subject Teacher: Prof. Vijayalaxmi Kondal
Name of Student: Tejas Jitendra Sawant Roll ID:22203B0021

Experiment No: 12
Title of Experiment Executing Test Case to Generate Defect Report for Login.

Practical Related Questions

1. What is the significance of encryption while saving password in database?


Answer:
 Encryption scrambles your password so it's unreadable and/or unusable by hackers.
 That simple step protects your password while it's sitting in a database, and it offers more
protection as your password zooms across the internet.

2. Give the significance of POST method while performing operations on web based.
Answer:
• POST is a request method supported by HTTP used by the World Wide Web.
• By design, the POST request method requests that a web server accept the data enclosed in
the body of the request message, most likely for storing it.
• It is often used when uploading a file or when submitting a completed web form.

3. Define step to write a defect report for given application


1. State the platform version.
2. Login and examine data.
3. List any non-standard configuration setting with values.
4. State the workflow direction through application.
5. Research to narrow down the root cause and get beyond the defect
symptom:
• Define who, what, where, when and how you got found the defect.
• Scan error logs.
• Execute database queries.
6. Add support documentation:
• Screenshots.
• Stop recording files.
• Video.
• Database query results.

7. Format all texts for reliability of easy understanding. Stick to known familiar format.
Exercise

1. Use Login system simulator with the help of following website. Perform at given task and
generate test case. Prepare defect report for Login system.
• Task
1. Enter invalid user name.
2. Enter invalid password.
3. Enter password with only 3 characters.
4. Enter user name as "invitado" and password as "hgm2015".
• https://codepen.io/opensoorce/pen/KQmvdL

Sr. Test Test Case Input Data Expected Actual Status


No Case description Results Results
Id
1 TC-1 Enter invalid Username: Display error: Actual error Pass
username "unknown" "Invalid displayed:
Username" "Invalid
Username"
2 TC-2 Enter invalid Password: Display error: Actual error Pass
password "wrongPass" "Invalid displayed:
Password" "Invalid
Password"
3 TC-3 Enter password Password: Display error: Actual error Pass
with only 3 "123" "Password must displayed
characters be at least 4
characters"
4 TC-4 Enter valid Username: Login Login Pass
username and "invitado", Successful result:
password Password: "Login
"hgm2015" successful"
Defect Report for Login System

Date: October 28, 2023

Reported By: XYZ

Summary: Unable to log into the system with valid credentials.

Description: When attempting to log into the system with valid credentials through the “Login”
functionality, the system fails to proceed and instead displays an error message. This issue occurs
across browsers and devices.

Steps to Reproduce:

1. Open the login simulator.


2. Enter valid credentials (e.g., username: user123, password: password123).
3. Click the “Login” button.

Expected Results: The system should authenticate the user and proceed to the home or
dashboard page, displaying a welcome message or user-specific interface.

Actual Result: An error message is displayed: “Error: Invalid credentials, please try again.” The
system does not log in the user despite providing correct login information.

Severity: Major
Priority: High

Environment:

1. Operating System: Windows 10


2. Browser: Google Chrome Version 94.0.4606.61 (64-bit)

Attachments: N/A

Status: New

Assigned To: Development Team

Comments: This defect prevents users from accessing the system, impacting its core
functionality. Further investigation is needed to identify the root cause and implement a fix.

Recommendation/Resolution: Inspect the login authentication functionality to identify the


cause of the error and apply necessary changes to ensure successful login with valid credentials.

Deadline: November 2, 2023


Approval: [To be filled by management or QA]

2. Consider any web base system which provides login procedure. Perform following tests
for same. Prepare defect report for Login System.
Task
1. Verify forgot password link.
2. Test user name as "STEPR" and password as "STEPR".
3. Verify captcha for given system

Test case for any GitHub Sign up

Test Test Case Actual Input Expected Acutal Output Status


Case Name Output

TC_0 To test forgot To verfiy the It should Forgot pass


1 password captcha for send password link
link the forgot is received
given system password and on
link to clicking the
registered link leads you
email to a site where
address you enter your
which new password
will allow and on
you submitting
to create a password is
new changed.
password

TC_0 Functionality Checks It should It is checking


2 of close functionality check functionality
button of close functionality of close pass
button. of button.
close button.

TC_0 To test In username It should not It shows an pass


3 username as enter”STEPR accept message
“STEPR” ” and username saying
and password and “password
password as as”STEPR” password. length should
“STEPR” be 6 to 126
characters”
TC_0 To verfiy the Displayed It should not It does not pass
4 captcha for captcha is accept accept the
the “5Bn35” and wrong captcha and it
given system entered is captcha shows the
“5Bn30” message as
“invalid
captcha” and a
new captcha is
now placed

TC_0 To verfiy the Displayed It should not It accepts pass


5 captcha for captcha is accept captcha and it
the “2A031” and wrong proceeds
given system entered is captcha further to next
“2A031” details.

Marks Obtained Dated signature of Teacher

ProcessRelate Product Related Total


d (15) (50)
(35)

You might also like