0% found this document useful (0 votes)
15 views35 pages

ST Lab Manual

The document is a lab manual for Software Testing at R. B. Institute of Management Studies, detailing test cases for a Leave Management System. It includes various functionalities such as user login, admin tasks, leave management, user management, and recruitment processes, with each test case outlining inputs, expected results, actual results, and pass/fail status. The manual is prepared by Diya Patel for the Integrated Master of Computer Applications program, Semester VI, 2025.

Uploaded by

Tannu Patel
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)
15 views35 pages

ST Lab Manual

The document is a lab manual for Software Testing at R. B. Institute of Management Studies, detailing test cases for a Leave Management System. It includes various functionalities such as user login, admin tasks, leave management, user management, and recruitment processes, with each test case outlining inputs, expected results, actual results, and pass/fail status. The manual is prepared by Diya Patel for the Integrated Master of Computer Applications program, Semester VI, 2025.

Uploaded by

Tannu Patel
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/ 35

R. B.

Institute of Management
Studies (RBIMS)

LAB MANUAL
FOR

SOFTWARE TESTING (2668602)


INTEGRATED MASTER OF COMPUTER
APPLICATIONS
(IMCA)
SEMESTER - VI 2025

PREPARED BY Diya Patel

ENROLLMENT NO 225490686039

SUBMITTED TO MRS. KETNA PATEL


(Assistant Professor)
• Write a Test Case for Leave Management System
• Login – Two types of User : Admin and User
Sr Test Input Expected Actual Pass/Fail
Condition/Steps Result Result
1 Login with valid Username: Admin Admin Pass
Admin admin, should be should be
credentials Password: logged in logged in
Admin@123 successfully successfully
and and
redirected redirected
to the to the
Admin Admin
Dashboard Dashboard
2 Login with valid Username: User should User should pass
User credentials user, be logged in be logged in
Password: successfully successfully
User@123 and and
redirected redirected
to the User to the User
Dashboard Dashboard
3 Login with Username: Error Error Pass
incorrect admin, message: message:
password for Password: "Invalid "Invalid
Admin wrongpass username or username
password" or
password"
4 Login with Username: Error Error Pass
incorrect wronguser, message: message:
username for Password: "Invalid "Invalid
User User@123 username or username
password" or
password"
5 Login with Username: Error Error Pass
empty (empty), message: message:
credentials Password: "Username "Username
(empty) and and
Password Password
are are
required" required"

• Admin Functionalities:
Sr Test Input Expected Actual Result Pass/Fail
Condition/Steps Result
1 Add a new user Username: User should User added Pass
successfully newuser, be added successfully
Role: User, successfully and appears
and listed in in the list
Password: the user
User@123 management
section
2 Edit an existing Select User: User role User role Pass
user’s details user1 → should be updated
Change role updated, and successfully
to Admin changes and shows as
should reflect Admin
in the system
3 Delete a user Select User: User should User deletion Fail
from the system user2 → Click be removed failed, user
"Delete" from the still appears
system and in the list
no longer
appear in the
user list
4 Attempt to add Username: Error Error pass
a user with an existingUser, message: message
already existing Role: User, "Username displayed:
username Password: already "Username
User@123 exists" already
exists"
5 View system Navigate to System logs Logs Pass
logs for admin Logs Section should display displayed
actions actions with all
performed by admin actions
the admin correctly
recorded

i). Manage Leave Types


Test Input Expected Actual Result Pass/Fail
Sr Condition/Steps Result
1 Add a new leave Leave Type: Leave type Leave type Pass
type Sick Leave, should be added
successfully Description: added successfully
Leave for successfully and appears
medical and listed in in the list
reasons the system
2 Edit an existing Select Leave Leave type Leave type Pass
leave type Type: Casual should be updated
Leave → updated successful
Change successfully
Description with the new
description
3 Delete a leave Select Leave Leave type Leave type Fail
type from the Type: should be deletion
system Maternity removed failed, still
Leave → Click from the appears in
"Delete" system and the list
no longer
appear in the
list
4 Attempt to add Leave Type: Error Error Pass
a duplicate Sick Leave message: message
leave type (already "Leave type displayed:
exists) already "Leave type
exists" already
exists"
5 View list of all Navigate to System All leave Pass
leave types Leave Types should types
List display all displayed
available correctly
leave types

ii. Manage User Leaves


Sr Test Input Expected Actual Result Pass/Fail
Condition/Steps Result
1 Admin approves Select Leave Leave request Leave request Pass
a leave request Request: status should approved
User1 → Click be updated successfully
"Approve" to
"Approved"
2 Admin rejects a Select Leave Leave request Leave request Pass
leave request Request: status should rejected
User2 → Click be updated successfully
"Reject" to "Rejected"
3 Admin assigns User: User3, Leave should Leave Pass
leave to a user Leave Type: be assigned assigned
manually Sick Leave, successfully successfully
Dates: 01- and reflected
Mar-2025 to in the user’s
03-Mar-2025 leave balance
4 Attempt to Select Leave Error System Fail
approve an Request: message: allowed
already rejected User4 "Cannot approval of a
leave request (Rejected) → approve a rejected
Click rejected leave request
"Approve" leave
request"
5 View all pending Navigate to System Pending leave Pass
leave requests Leave should requests
Requests → display all displayed
Filter: leave correctly
"Pending" requests with
"Pending"
status
iii. Manage Users
Sr Test Input Expected Actual Pass/Fail
Condition/Steps Result Result
1 Add a new user Username: newuser, User should User added Pass
successfully Role: Employee, Email: be added successfully
newuser@example.com, successfully and appears
Password: User@123 and appear in the list
in the user
list
2 Edit an existing Select User: user1 → User role User role Pass
user's details Change role to Manager should be updated
updated successfully
successfully
and
reflected in
the system
3 Delete a user Select User: user2 → User should User Fail
from the system Click "Delete" be removed deletion
from the failed, user
system and still appears
no longer in the list
appear in
the user list
4 Attempt to add Username: existingUser, Error Error Pass
a user with an Role: Employee, Email: message: message
existing existing@example.com, "Username displayed:
username Password: User@123 already "Username
exists" already
exists"
5 View list of all Navigate to User System All users Pass
users Management Section should displayed
display a list correctly
of all
registered
users

• Recruitment System
• Manage Positions and vacancies within an organization
Sr Test Input Expected Actual Pass/Fail
Condition / Result Result
Steps
1 Navigate to Click on "Manage "Manage Pass
"Manage "Manage Positions" Positions"
Positions" Positions" page should page
section menu be displayed displayed
successfully
2 Add a new Enter Position Position Pass
position position should be added
details added successfully
(Title, successfully
Department,
Description,
etc.) and
click "Save"
3 Add a Select Vacancy Vacancy Pass
vacancy to position → count should count
an existing Enter be updated updated
position vacancy successfully successfully
count →
Click "Save"
4 Edit an Select Position Position ⚠️ Fail
existing position → details updated, (Performance
position Modify should be but page issue)
details → updated took too
Click successfully long to
"Update" respond
5 Delete a Select Position Position Pass
position position → should be deleted
Click removed successfully
"Delete" → from the
Confirm system
deletion
6 View Click on a Detailed Details Pass
position position view of the displayed
details name position correctly
should be
displayed
7 Search for a Enter Matching No results ❌ Fail (Bug
position position positions displayed in search
name in should be even for functionality)
search bar displayed existing
and click positions
"Search"
8 Assign a Select Recruiter Error Fail (Bug in
position to a position → should be message assignment)
recruiter Assign assigned displayed:
recruiter → successfully "Assignment
Click "Save" failed"
9 Check for Try to add System System Fail (Bug: No
duplicate an already should allowed duplicate
positions existing prevent duplicate validation)
position duplicate entries
entries with
an error
message
10 Verify field Leave System Validation Pass
validations mandatory should show errors
fields blank validation displayed
and try to errors for correctly
save missing fields

• Manage Advertisement on the positions:


Sr Test Condition Input Expected Actual Result Pass/Fail
/ Steps Result
1 Navigate to Click on "Manage "Manage Pass
"Manage "Manage Advertisements Advertisements
Advertisements Advertisements " page should " page
" section " menu be displayed displayed
successfully
2 Create a new Select position Advertisement Advertisement Pass
advertisement → Enter ad should be created
for a position details (Title, created successfully
Description, successfully
Expiry Date) →
Click "Save"
3 Edit an existing Select Advertisement Advertisement Pass
advertisement advertisement details should updated
→ Modify be updated successfully
details → Click successfully
"Update"
4 Delete an Select Advertisement Advertisement Pass
advertisement advertisement should be deleted
→ Click removed from successfully
"Delete" → the system
Confirm
deletion
5 View Click on an Detailed view Advertisement Pass
advertisement advertisement of the details
details title advertisement displayed
should be correctly
displayed
6 Search for an Enter Matching No results Fail (Bug in
advertisement advertisement advertisements displayed even search
title in search should be for existing ads functionality
bar and click displayed )
"Search"
7 Publish an Select Advertisement Advertisement Pass
advertisement advertisement should be published
→ Click published and successfully
"Publish" visible to
applicants
8 Unpublish an Select Advertisement Unpublished Pass
advertisement published should be successfully
advertisement removed from
→ Click public view but
"Unpublish"
remain in the
system
9 Check for Open an Expired Expired ad is Fail (Bug in
expired expired advertisement still visible to expiry
advertisements advertisement should be applicants handling)
marked as
inactive and
not visible to
applicants
1 Verify field Leave System should Validation Pass
0 validations mandatory show validation errors
fields blank and errors for displayed
try to save missing fields correctly

• Manage vacancy process from application to acceptance or


rejection
Sr Test Input Expected Actual Result Pass/Fail
Condition / Result
Steps
Application
Submission
1 Navigate to Click on "Job "Job "Job Pass
the "Job Applications" Applications" Applications"
Applications" menu page should page
section be displayed displayed
successfully
2 Submit a new Fill out Application Application Pass
job application should be submitted
application form → submitted successfully
Upload successfully
resume →
Click "Submit"
3 Verify Leave System Validation Pass
mandatory required should display errors
fields fields blank validation displayed
validation and try to errors correctly
submit
4 Prevent Apply for the System System Fail (Bug: No
duplicate same job should allowed duplicate
applications again prevent duplicate validation)
duplicate applications
applications
Application
Review &
Shortlisting
5 HR reviews Click on Application Details Pass
applications application → details should displayed
View details be displayed correctly
correctly
6 Shortlist an Select Applicant Applicant Pass
applicant application → should be shortlisted
Click moved to the successfully
"Shortlist" "Shortlisted"
category
7 Reject an Select Applicant Rejection Pass
applicant application → should notification
Click "Reject" receive a sent
rejection successfully
notification
Interview &
Selection
8 Schedule an Select Interview Interview Pass
interview shortlisted should be scheduled
applicant → scheduled successfully
Set interview successfully
date/time →
Click
"Schedule"
9 Notify System Applicant Notification Pass
applicant should send should sent
about the interview receive successfully
interview notification interview
details via
email
10 Update Mark Status should Status Pass
interview interview as change to updated
status "Completed" "Completed" successfully
Final
Decision:
Acceptance
or Rejection
11 Accept an Select System Offer Pass
applicant application → should send acceptance
Click "Accept an notification
Offer" acceptance sent
notification
12 Reject an Select System Rejection Pass
applicant application → should send a notification
after an Click "Reject" rejection sent
interview notification
13 Verify Applicant Status should Status Pass
acceptance clicks "Accept change to updated
confirmation Offer" button "Offer successfully
by applicant Accepted"
Hiring &
Closing
Vacancy
14 Mark a Fill all Position Position Pass
position as vacancies and should be marked as
"Closed" check "Closed"
when all position marked as
vacancies are status "Closed"
filled
15 Prevent Try applying System Application Pass
applications for a closed should prevented
for closed position prevent successfully
positions applications
and show a
message

● Manage and Setup Interviews


Sr Test Input Expected Actual Result Pass/Fail
Condition / Result
Steps
Interview
Scheduling
1 Navigate to Click on "Interviews" "Interviews" Pass
the "Interviews" page should page
"Interviews" menu be displayed displayed
section successfully
2 Schedule a Select Interview Interview Pass
new candidate → should be scheduled
interview Choose scheduled successfully
date/time → successfully
Assign
interviewer →
Click
"Schedule"
3 Prevent Schedule System System Fail (Bug: No
double another should allowed conflict
booking of interview for prevent double check)
interview the same double booking
slots interviewer at booking
the same
time
4 Notify System Both Notifications Pass
candidate and should send candidate and sent
interviewer interview interviewer successfully
invitation should
emails receive
notifications
Interview
Modifications
5 Reschedule Change Interview Interview Pass
an interview date/time for details should updated
a scheduled be updated successfully
interview → successfully
Click
"Update"
6 Cancel an Select Interview Interview Pass
interview interview → should be cancelled
Click "Cancel" removed successfully
from the
schedule
7 Notify System Candidate Notification Pass
candidate should send should sent
about updated receive successfully
rescheduled notifications rescheduling
or canceled or
interview cancellation
email
Interview
Process &
Status
Updates
8 Conduct an Interviewer Interview Status Pass
interview marks status should updated
interview as change to successfully
"Completed" "Completed"
after
conducting it
9 Record Enter Feedback Feedback Pass
interview feedback and should be saved
feedback rating for the saved successfully
candidate → successfully
Click "Save"
10 Shortlist a Click Candidate Candidate Pass
candidate "Shortlist" should be shortlisted
after button moved to the successfully
interview "Shortlisted"
list
11 Reject a Click "Reject" Candidate Rejection Pass
candidate button should notification
after receive sent
interview rejection successfully
notification
Post-
Interview
Actions
12 Select a Click "Accept Candidate Offer sent Pass
candidate for Offer" → should successfully
hiring Send receive a job
confirmation offer
13 Verify Candidate Status should Status Pass
acceptance clicks "Accept change to updated
confirmation Offer" "Offer successfully
by candidate Accepted"
14 Mark position All selected System Position Pass
as closed candidates should mark marked as
when all accept offers "Closed"
vacancies are position as
filled "Closed"

• Maintain Database
Sr Test Input Expected Actual Result Pass/Fail
Condition / Result
Steps
Database
Connectivity
&
Performance
1 Check System Database Connected Pass
database attempts to should successfully
connection connect to connect
the database successfully
2 Validate Perform Response Search took Fail
system queries (e.g., time should longer than (Performance
response search for a be within expected issue)
time candidate) acceptable
limits
3 Handle Simulate System System Fail (Bug in
database database should show displayed error
connection downtime an error error but did handling)
failure message and not retry
retry
connection
Data Integrity
& CRUD
Operations
4 Insert new Add a new Data should Data saved Pass
records job position be saved successfully
or candidate successfully
5 Update Edit Data should Data updated Pass
existing candidate update successfully
records details and successfully
save
6 Delete Delete a Record should Record Pass
records rejected be removed deleted
candidate’s from the successfully
record database
7 Prevent Attempt to System Warning Pass
accidental delete an should show a displayed
deletion active job warning correctly
position before
deleting
Security &
Access
Control
8 Restrict Try accessing System Access Pass
unauthorized database should deny denied
access without access successfully
proper
credentials
9 Encrypt Check if Passwords Passwords Pass
sensitive data passwords should be are encrypted
are stored in encrypted
plaintext
10 Perform Trigger a Backup Backup Pass
database manual should be created
backup backup created successfully
successfully
11 Perform Restore from Database Restore Pass
database the latest should be successful
restore backup restored
correctly
Data
Consistency &
Cleanup
12 Remove stale Identify and Old data Data cleanup Pass
records delete old job should be completed
applications cleaned up successfully
13 Prevent Try adding a System Duplicate Pass
duplicate candidate should entry
entries with an prevent prevented
existing email duplicates
14 Ensure Try deleting a System Deletion Pass
foreign key job position should blocked as
constraints linked to prevent expected
applications deletion due
to
dependencies
15 Perform load Insert a large System System Fail
testing volume of should handle slowed down (Performance
records load without under high issue)
errors load

• Testcase for Airline reservation system


• Login
Sr Test Condition / Input Expected Result Actual Result Pass/Fail
Steps
1 Verify login with Correct User should User Pass
valid credentials username & successfully log in successfully
password and be redirected logged in and
to the homepage redirected to
homepage
2 Verify login with Correct Error message "Invalid Pass
incorrect password username, should be credentials"
incorrect displayed: "Invalid error
password credentials" displayed
3 Verify login with Incorrect Error message "User not Pass
non-existing username, should be found" error
username any displayed: "User not displayed
password found"
4 Verify login with Leave Error message Error Pass
empty fields username should be message
and displayed: displayed as
password "Username and expected
blank password required"
5 Verify login with Input: System should Login Pass
SQL injection admin' OR prevent login and prevented,
attempt '1'='1 display an error error
message displayed
6 Verify login with Enter System should Case- Pass
case-sensitive correct enforce case sensitive
username/password credentials sensitivity login
but change enforced
letter case
7 Verify login with Enter Error message Error Pass
locked account credentials should be displayed as
of a locked displayed: "Account expected
account locked. Contact
support"
8 Verify login session Login and System should User Pass
timeout remain automatically log automatically
inactive for out the user logged out
a specified
time (e.g.,
15 mins)
9 Verify "Remember Check User should remain User Pass
Me" functionality "Remember logged in after remained
Me" option closing and logged in
and log in reopening the
browser
10 Verify "Forgot Click on Reset password link Email Pass
Password" "Forgot should be sent to received with
functionality Password" the email reset link
and enter
registered
email

b. Search and book flights


Sr Test Input Expected Actual Result Pass/Fail
Condition / Result
Steps
1 Verify search Source: NYC, Available Flights Pass
functionality Destination: flights should displayed
with valid LAX, Date: 20- be displayed correctly
source and Mar-2025
destination
2 Verify search Source: XYZ, Error Error Pass
with invalid Destination: message: displayed as
source or LAX "Invalid expected
destination location"
should be
displayed
3 Verify search Source: NYC, Error Error Pass
for flights Destination: message: displayed as
with past LAX, Date: 01- "Invalid travel expected
dates Jan-2020 date" should
be displayed
4 Verify search Source: NYC, Message: "No Message Pass
with no Destination: flights displayed
available ABC, Date: available" correctly
flights 20-Mar-2025 should be
displayed
5 Verify one- Select "Round Round-trip Results Pass
way and Trip", enter flight results displayed
round-trip valid should be correctly
search locations and displayed
dates
6 Verify Select flight, User should User Pass
booking with enter valid be redirected redirected to
valid name, to the payment page
passenger passport, payment page
details contact
details
7 Verify Select flight, Error Error Pass
booking with leave message: "All displayed as
missing passenger fields are expected
passenger details empty required"
details should be
displayed
8 Verify Select flight, Booking Booking Pass
booking for enter details should be successful for
multiple for 2+ successful for all
passengers passengers all passengers
9 Verify seat Choose a Selected seat Seat assigned Pass
selection preferred should be correctly
during seat from assigned to
booking seat map the passenger
10 Verify Complete Booking Confirmation Pass
booking payment and confirmation message and
confirmation confirm message and email
booking email should received
be sent
c. Search and book packages
Sr Test Input Expected Actual Result Pass/Fail
Condition / Result
Steps
1 Verify search Destination: Available Packages Pass
functionality Paris, Date: packages displayed
with valid 15-Apr-2025 should be correctly
destination displayed
and dates
2 Verify search Destination: Error Error Pass
with invalid XYZ message: displayed as
destination "Invalid expected
destination"
should be
displayed
3 Verify search Destination: Error Error Pass
with past Dubai, Date: message: displayed as
dates 01-Jan-2020 "Invalid travel expected
date" should
be displayed
4 Verify search Destination: Message: "No Message Pass
when no Antarctica, packages displayed
packages are Date: 20-Mar- available" correctly
available 2025 should be
displayed
5 Verify Click on a Detailed Package Pass
package package from itinerary, details
details page search results price, and displayed
inclusions correctly
should be
displayed
6 Verify Select User should User Pass
booking with package, be redirected redirected to
valid traveler enter valid to the payment page
details name, payment page
passport,
contact
details
7 Verify Select Error Error Pass
booking with package, message: "All displayed as
missing leave traveler fields are expected
traveler details empty required"
details should be
displayed
8 Verify Select Booking Booking Pass
booking for package, should be successful for
multiple enter details successful for all
travelers all travelers
for 2+
travelers
9 Verify Enter valid Payment Payment Pass
payment for payment should be successful,
package details and successful, booking
booking proceed and booking confirmed
should be
confirmed
10 Verify Complete Booking Confirmation Pass
booking payment and confirmation message and
confirmation confirm message and email
booking email should received
be sent

• Test Case For Healthcare Web application


• Module: Patient Registration
Test Case Test Test Steps Expected Actual Pass/Fail
ID Scenario Result Result
PR-01 Verify 1. Open Patient Patient Pass
successful Registration registered registered
patient Page successfully successfully
registration 2. Enter
valid details
3. Submit
form
PR-02 Verify 1. Leave Error Error Pass
required required message message
fields fields blank displayed displayed
validation 2. Submit for missing for missing
form fields fields
PR-03 Verify 1. Enter Error Error Pass
duplicate existing message message
patient patient displayed displayed
registration details for for
2. Submit duplicate duplicate
form record record

• Module: Scheduling
Test Test Scenario Test Steps Expected Actual Result Pass/Fail
Case Result
ID
SCH- Verify 1. Select patient Appointment Appointment Pass
01 appointment 2. Choose date & successfully successfully
scheduling time scheduled scheduled
3. Confirm
appointment
SCH- Verify 1. Schedule an Error Error message Pass
02 appointmet appointment at message displayed for
conflict an already displayed for conflict
booked slot conflict
SCH- Verify 1. Select existing Appointment Appointment Pass
03 appointment appointment rescheduled rescheduled
rescheduling 2. Change date & successfully successfully
time
3. Save changes

• Module: Treatment
Test Case Test Test Steps Expected Result Actual Pass/Fail
ID Scenario Result
TR-01 Verify 1. Select Treatment Treatment Pass
treatment patient details saved details saved
entry 2. Enter successfully successfully
treatment
details
3. Save
treatment
TR-02 Verify 1. Open Treatment Treatment Pass
viewing past patient record history displayed history
treatments 2. View past correctly displayed
treatment correctly
history
TR-03 Verify 1. Edit existing Treatment Treatment Pass
treatment treatment details updated details
update details successfully updated
2. Save successfully
changes

• Module: Billing
Test Case Test Test Steps Expected Result Actual Pass/Fail
ID Scenario Result
BILL-01 Verify 1. Select Invoice Invoice Pass
invoice patient generated generated
generation 2. Add successfully successfully
treatment
charges
3. Generate
invoice
BILL-02 Verify 1. Select Payment Payment Pass
payment invoice processed processed
processing 2. Enter successfully successfully
payment
details
3. Process
payment
BILL-03 Verify refund 1. Select Refund Refund Pass
processing invoice processed processed
2. Initiate successfully successfully
refund
request
3. Confirm
refund

• Consider a School Management System, which allows Parent to


download Children's Progress Report and Results from School's
website So How can we authenticate the User (parent)? & it has
dual Authentication system integrated on LogIn page.

S Test Condition / Expected Pass/Fai


Input Actual Result
r Steps Result l
Navigate to the Login page Login page
1 school's website N/A should load loaded Pass
login page successfully successfully
User
User should
Enter valid redirected to
valid_user@example.com proceed to
2 username and OTP Pass
/ ValidPass123 OTP
password verification
verification
page
Login error
Enter incorrect
wrong_user@example.co message Error message
3 username/passwor Pass
m / WrongPass123 should displayed
d
appear
User should
be
successfully
Enter valid OTP User
authenticate
4 received via 123456 (Valid OTP) redirected to Pass
d and
SMS/email dashboard
redirected to
the
dashboard
OTP error
OTP error
message
5 Enter invalid OTP 654321 (Invalid OTP) message Pass
should
displayed
appear
OTP expired
OTP expired
message
6 Enter expired OTP Expired OTP message Pass
should
displayed
appear
User should User
Logout and go through successfully
7 attempt to log in N/A authenticatio logged out and Pass
again n steps again reauthenticate
successfully d

• Notepad "Save As" Functionality What are the different


scenarios that can be identified for testing a simple notepad save
as functionality? The Save as does navigate to the file name and
file path. Given these two fields what are the various scenario
that can be applied for testing?
Sr Test Input Expected Actual Pass/Fai
Condition Result Result l
/ Steps
1 Open "Hello World" Text should Text entered Pass
Notepad be entered successfully
and type successfully
text
2 Click on - "Save As" "Save As" Pass
File → dialog dialog
Save As should appeared
appear
3 Enter a "TestFile.txt" File should File saved Pass
valid file be saved successfully
name and successfully in the
select a at the given selected
valid path location path
4 Try saving No input in File Name field System Error Pass
a file should message
without prompt an displayed
entering a error
name message to
enter a file
name
5 Enter a file "Test@File?.txt" System Error Pass
name with should message
special display an displayed
characters error or
prevent
invalid file
name
6 Save a file "C:\Windows\System32\TestFile.txt System Permission Pass
in a " should error
directory display a displayed
without permission
write error
permissio
n
7 Save a file "ExistingFile.txt" System Overwrite Pass
with an should confirmation
existing prompt for dialog
file name overwrite appeared
confirmatio
n
8 Save file "TestFile" File should File saved as Pass
without an be saved "TestFile.txt"
extension with a
default
".txt"
extension
9 Save file in "TestFile.log" File should File saved as Pass
a different be saved "TestFile.log
format with the "
(e.g., .log, specified
.csv) extension
1 Cancel the Click "Cancel" No file No file Pass
0 "Save As" should be saved, dialog
operation saved, and closed
dialog
should close
Automation Testing
1) Open URL in different browsers (Chrome):-

Output :-

2) Open URL in different browsers (Firefox):-


Output:-

3) To Handle a drop-down:-
Output:-
4) To Upload File

Output:-
5) To Handle a drag.
Output :-
6) Test Login of any web application

Output :-
Before Login
After Login

7) To Handle Slide
Output :-
8) Current Date and Time

Output :-
9) Resize (Change the size of an element)

Output :-
10)Book the Ticket

Output :-
10) Perform mouse hovers events

Output :-

You might also like