0% found this document useful (0 votes)
14 views19 pages

Test Case ID Test Case Name Input Expected Results Actual Results Test Results

The document contains a series of test cases for a program that verifies even and odd numbers, handles non-integer inputs, and tests user registration and messaging functionalities. Each test case includes a unique ID, name, input, expected results, actual results, and overall test results, with all tests passing successfully. The document also covers page setup features and OTP validation processes.

Uploaded by

Soham Bijwar
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)
14 views19 pages

Test Case ID Test Case Name Input Expected Results Actual Results Test Results

The document contains a series of test cases for a program that verifies even and odd numbers, handles non-integer inputs, and tests user registration and messaging functionalities. Each test case includes a unique ID, name, input, expected results, actual results, and overall test results, with all tests passing successfully. The document also covers page setup features and OTP validation processes.

Uploaded by

Soham Bijwar
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/ 19

Test case ID Test Case Name Input Expected Results Actual Results Test Results

TC_1 Verify Even 4 The program should return "Even" returned correctly Pass
Number "Even" as the output. for the input 4.
Identification

TC_2 Verify Odd 7 The program should return "Odd" returned correctly Pass
Number "Odd" as the output. for the input 7.
Identification

TC_3 Verify Non- 2.5 The program should display Error message displayed Pass
integer Input an error message indicating correctly for non-integer
Handling invalid input or handle the input 2.5.
input appropriately.

TC_4 Verify Non- 8.1 The program should display Error message displayed Pass
integer Input an error message indicating correctly for non-integer
Handling invalid input or handle the input 8.1.
input appropriately.
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Verify Even Validate that The 1. Enter an even The program "Even" Pass
Number the program program is number (e.g., 4). should returned
Identification correctly ready to 2. Submit the return correctly for
identifies an accept number. "Even" as the the input 4.
even number. input. 3. Observe the output.
output.
TC_2 Verify Odd Validate that The 1. Enter an odd The program "Odd" Pass
Number the program program is number (e.g., 7). should returned
Identification correctly ready to 2. Submit the return "Odd" correctly for
identifies an accept number. as the the input 7.
odd number. input. 3. Observe the output.
output.
TC_3 Verify Zero as Validate that The 1. Enter the number The program "Even" Pass
Even Number the program program is 0. should returned
correctly ready to 2. Submit the return correctly for
identifies zero accept number. "Even" as the the input 0.
as an even input. 3. Observe the output for 0.
number. output.
TC_4 Verify Negative Validate that The 1. Enter a negative The program "Even" Pass
Even Number the program program is even number (e.g., - should returned
correctly ready to 8). return correctly for
identifies a accept 2. Submit the "Even" as the the input -8.
negative even input. number. output for -
number. 3. Observe the 8.
output.
TC_5 Verify Negative Validate that The 1. Enter a negative The program "Odd" Pass
Odd Number the program program is odd number (e.g., - should returned
correctly ready to 5). return "Odd" correctly for
identifies a accept 2. Submit the as the output the input -5.
negative odd input. number. for -5.
number. 3. Observe the
output.
TC_6 Verify Non- Validate that The 1. Enter a non- The program Error Pass
integer Input the program program is integer value (e.g., should message
Handling correctly ready to 3.14 or "abc"). display an displayed
handles non- accept 2. Submit the input. error correctly for
integer input. input 3. Observe the message non-integer
output. indicating input.
invalid input
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Verify User Validate that The 1. Open the app. The user Registration Pass
Registration new users can application 2. Navigate to the should successful.
register is installed registration page. receive a
successfully. and 3. Enter valid user confirmation
running. details (username, message,
email, password). and the
4. Submit the form. account
should be
created
successfully.
TC_2 Verify User Validate that User is 1. Open the app. The user Login Pass
Login registered registered 2. Navigate to the should be successful.
users can log in the login page. redirected to
in with valid system. 3. Enter valid the chat
credentials. credentials dashboard.
(username,
password).
4. Submit the login
form.
TC_3 Send Text Validate that User is 1. Open a chat room. The message Message Pass
Message users can send logged in 2. Type a message in should sent and
a text message and in a the message box. appear in the displayed
in a chat. chat room. 3. Click "Send". chat window correctly.
with a
timestamp.
TC_4 Receive Text Validate that Another 1. Wait for a The received Message Pass
Message users receive user sends message to be sent message received and
messages sent a message by another user. should displayed
by others in in the chat. 2. Observe the chat appear in the correctly.
real-time. window. chat window
immediately.
TC_5 Send Validate that User is 1. Open a chat room. The Image/File Pass
Multimedia users can send logged in 2. Click on the multimedia sent and
Message images or files and in a attachment icon. file should displayed
in a chat. chat room. 3. Select an image or appear in the correctly.
file. chat window
4. Click "Send". with a
preview or
download
option.
TC_6 Group Chat Validate that User is 1. Navigate to the The group Group chat Pass
Functionality users can logged in. "Create Group" should be created and
create and option. created working
participate in 2. Enter group name successfully, correctly.
group chats. and add participants. and the
3. Click "Create". message
4. Send a message in should
the group. appear to all
participants.
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Verify Page Validate that The 1. Open the "Page The page As expected Pass
Orientation users can set document Setup" dialog. should
page is open in 2. Select "Portrait". display in the
orientation to the editor. 3. Apply changes. selected
Portrait or 4. Repeat with orientation
Landscape "Landscape". (Portrait/Lan
dscape).
TC_2 Verify Page Size Validate that The 1. Open the "Page The As expected Pass
users can set document Setup" dialog. document
different page is open in 2. Select a page size should adjust
sizes (A4, the editor. (e.g., A4). to the
Letter, Legal, 3. Apply changes. selected
etc.). 4. Check document page size.
size.
5. Repeat for other
sizes.
TC_3 Verify Page Validate that The 1. Open the "Page The As expected. Pass
Margins users can set document Setup" dialog. document
custom is open in 2. Enter custom should
margins (Top, the editor. margins. reflect the
Bottom, Left, 3. Apply changes. custom
Right). 4. Check margin margin
application. settings.
TC_4 Verify Header Validate that The 1. Open the "Page The header As expected. Pass
and Footer users can set document Setup" dialog. and footer
up headers is open in 2. Enable should
and footers on the editor. header/footer. appear
pages. 3. Enter text in correctly on
header/footer. each page.
4. Apply changes.
TC_5 Verify Page Validate that The 1. Open the "Page The page As expected. Pass
Color users can document Setup" dialog. background
change the is open in 2. Select a color should
background the editor. background color. change to
color of the 3. Apply changes. the selected
page. 4. Check page color. color.
TC_6 Verify Page Validate that The 1. Open the "Page The preview As expected. Pass
Setup Preview users can document Setup" dialog. should
preview page is open in 2. Make various accurately
setup changes the editor. changes (orientation, reflect the
before size, margins, color). changes
applying them. 3. Click "Preview". before they
are applied
to the
document.
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Verify OTP Sent Ensure OTP is User has an 1. Navigate to the The OTP OTP received Pass
to Email/Phone sent to the account login/registration should be on the
provided email and is page. sent to the provided
address/mobil attempting 2. Enter valid provided email/phone
e number. to log in or credentials or email .
register. required registration address or
details. mobile
3. Submit the form. number.
4. Check the email
inbox or mobile
phone for the OTP.
TC_2 Verify OTP Input Ensure the User has 1. Enter an incorrect The system Error Pass
Field Validation OTP input field received or invalid OTP in the should message
validates input the OTP. OTP input field. display an displayed for
correctly. 2. Submit the form. error invalid OTP.
message
indicating
that the OTP
is incorrect
or invalid.
TC_3 Verify OTP Ensure expired User has 1. Wait until the OTP The system Expired OTP Pass
Expiry OTPs are not received expiry time (e.g., 5 should rejected, and
accepted. the OTP minutes) has passed. display a an error
and waits 2. Enter the expired message message
for it to OTP. indicating shown.
expire. 3. Submit the form. that the OTP
has expired
and prompt
the user to
request a
new OTP.
TC_4 Verify Resend Ensure that User has 1. Click on the The new OTP User is Pass
OTP the user can requested "Resend OTP" link or should be redirected to
Functionality request a new a new OTP button. sent to the the faculty
OTP and that after 2. Check the email email page
it is delivered expiration inbox or mobile address or correctly.
correctly. or invalid phone for the new mobile
OTP. OTP. number and
3. Enter the new OTP accepted
in the input field. when
4. Submit the form. entered.
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Verify Monday Validate that The 1. Enter the number The program "Monday" Pass
Output the program program is "1" as input. should returned
correctly ready to 2. Submit the input. return correctly for
identifies accept 3. Observe the "Monday" as input "1".
Monday for input. output. the output.
input "1".
TC_2 Verify Tuesday Validate that The 1. Enter the number The program "Tuesday" Pass
Output the program program is "2" as input. should returned
correctly ready to 2. Submit the input. return correctly for
identifies accept 3. Observe the "Tuesday" as input "2".
Tuesday for input. output. the output.
input "2".
TC_3 Verify Validate that The 1. Enter the number The program "Wednesday Pass
Wednesday the program program is "3" as input. should " returned
Output correctly ready to 2. Submit the input. return correctly for
identifies accept 3. Observe the "Wednesday input "3".
Wednesday input. output. " as the
for input "3". output.
TC_4 Verify Thursday Validate that The 1. Enter the number The program "Thursday" Pass
Output the program program is "4" as input. should returned
correctly ready to 2. Submit the input. return correctly for
identifies accept 3. Observe the "Thursday" input "4".
Thursday for input. output. as the
input "4". output.
TC_5 Verify Friday Validate that The 1. Enter the number The program "Friday" Pass
Output the program program is "5" as input. should returned
correctly ready to 2. Submit the input. return correctly for
identifies accept 3. Observe the "Friday" as input "5".
Friday for input. output. the output.
input "5".
TC_6 Verify Saturday Validate that The 1. Enter the number The program "Saturday" Pass
Output the program program is "6" as input. should returned
correctly ready to 2. Submit the input. return correctly for
identifies accept 3. Observe the "Saturday" input "6".
Saturday for input output. as the
input "6". output.
TC_7 Verify Sunday Validate that The 1. Enter the number The program "Sunday" Pass
Output the program program is "7" as input. should returned
correctly ready to 2. Submit the input. return correctly for
identifies accept 3. Observe the "Sunday" as input "7".
Sunday for input. output. the output.
input "7".
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 User Validate that a The 1. Open the app. The user Registration Pass
Registration new user can application 2. Navigate to the should successful.
register is installed registration page. receive a
successfully. and 3. Enter valid user confirmation
running. details (email, message,
password, etc.). and the
4. Submit the account
registration form. should be
created
successfully.
TC_2 Login Validate that a User is 1. Open the app. The user Login Pass
Functionality registered registered 2. Navigate to the should be successful.
user can log in. in the login page. redirected to
system. 3. Enter valid the home
credentials (email, page.
password).
4. Submit the login
form.
TC_3 Browse Validate that User is 1. Open the app. The list of Restaurants Pass
Restaurants users can logged in. 2. Navigate to the restaurants displayed
browse "Restaurants" should be correctly.
available section. displayed,
restaurants. 3. Scroll through the and users
list of restaurants. should be
4. Click on a able to view
restaurant to view details of
details. selected
restaurants.
TC_4 Add Item to Cart Validate that User is 1. Open a restaurant The selected Item added Pass
users can add browsing a menu. item should to cart
food items to restaurant 2. Select a food item. be added to successfully.
their cart. menu. 3. Click "Add to the cart, and
Cart". the cart
should be
updated.
TC_5 Place Order Validate that User has 1. Open the cart. The order Order placed Pass
users can items in 2. Review the items. should be successfully.
place an order their cart. 3. Click "Checkout". placed
successfully. 4. Choose a payment successfully,
method. and a
5. Confirm the order. confirmation
message
should be
displayed.
TC_6 Order Tracking Validate that User has 1. Navigate to the The real-time Order Pass
users can track placed an "Order History" tracking tracking
their orders in order. section. information working
real-time. 2. Select the active should be correctly.
order displayed.
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Verify "Home" Validate that User is on 1. Locate and click The user User is Pass
Link the "Home" any page on the "Home" link. should be redirected to
link redirects other than 2. Observe the redirected to the
to the the resulting page. the homepage
homepage. homepage. homepage of correctly.
the website.
TC_2 Verify Validate that User is on 1. Locate and click The user User is Pass
"Admissions" the the on the "Admissions" should be redirected to
Link "Admissions" homepage link in the navigation redirected to the
link redirects or any bar. the admissions
to the other page. 2. Observe the admissions page
admissions resulting page. page correctly.
page. containing
relevant
admission
information.
TC_3 Verify "Courses" Validate that User is on 1. Locate and click The user User is Fail
Link the "Courses" the on the "Courses" link should be redirected to
link redirects homepage in the navigation bar. redirected to a different
to the courses or any 2. Observe the the courses page (faculty
page. other page. resulting page. page, listing page).
all the
programs
offered by
the college.
TC_4 Verify "Faculty" Validate that User is on 1. Locate and click The user User is Pass
Link the "Faculty" the on the "Faculty" link should be redirected to
link redirects homepage in the navigation bar. redirected to the faculty
to the faculty or any 2. Observe the the faculty page
page. other page. resulting page. page, correctly.
showcasing
details about
the college
faculty
members.
TC_5 Verify "Contact Validate that User is on 1. Locate and click The user User is Pass
Us" Link the "Contact the on the "Contact Us" should be redirected to
Us" link homepage link in the navigation redirected to the contact
redirects to or any bar. the contact page
the contact other page. 2. Observe the page correctly.
page. resulting page. containing
the college's
contact
details and
inquiry form.
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Verify "Home" Validate that User is on 1. Locate and click The user The user is Pass
Link the "Home" any page on the "Home" link. should be redirected to
link redirects other than 2. Observe the redirected to the
to the the resulting page. the homepage
homepage. homepage. homepage of correctly.
the website.
TC_2 Verify Validate that User is on 1. Locate and click The user The user is Pass
"Admissions" the the on the "Admissions" should be redirected to
Link "Admissions" homepage link in the navigation redirected to the
link redirects or any bar. the admissions
to the other page. 2. Observe the admissions page
admissions resulting page. page correctly.
page. containing
relevant
admission
information .
TC_3 Verify "Courses" Validate that User is on 1. Locate and click The user The user is Fail
Link the "Courses" the on the "Courses" link should be redirected to
link redirects homepage in the navigation bar. redirected to the faculty
to the courses or any 2. Observe the the courses page instead
page. other page. resulting page. page, listing of the
all the courses
programs page.
offered by
the college.
TC_4 Verify "Faculty" Validate that User is on 1. Locate and click The user The user is Pass
Link the "Faculty" the on the "Faculty" link should be redirected to
link redirects homepage in the navigation bar. redirected to the faculty
to the faculty or any 2. Observe the the faculty page
page. other page. resulting page. page, correctly.
showcasing
details about
the college
faculty
members.
TC_5 Verify "Contact Validate that User is on 1. Locate and click The user The user is Pass
Us" Link the "Contact the on the "Contact Us" should be redirected to
Us" link homepage link in the navigation redirected to the contact
redirects to or any bar. the contact page
the contact other page. 2. Observe the page correctly.
page. resulting page. containing
the college's
contact
details and
inquiry form.
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Valid User Login Verify User 1. Open the e- User should User logged Pass
successful account commerce website. be logged in in
login with exists and 2. Click on "Login". successfully successfully
valid website is 3. Enter valid email and and
credentials operational and password. redirected to redirected to
4. Click "Submit" or the home the home
"Login". page or user page.
dashboard.
TC_2 Invalid Email Verify login Website is 1. Open the e- System Error Pass
Format Login fails with operational commerce website. should message
invalid email 2. Click on "Login". display an displayed
format 3. Enter an invalid error indicating
email format (e.g., message invalid email
userexample.com) indicating format.
and valid password. invalid email
4. Click "Submit" or format.
"Login".
TC_3 Incorrect Verify login User 1. Open the e- System Error Pass
Password Login fails with account commerce website. should message
incorrect exists and 2. Click on "Login". display an displayed
password website is 3. Enter valid email error indicating
operational and incorrect message incorrect
password. indicating password.
4. Click "Submit" or incorrect
"Login". password.
TC_4 Empty Verify login Website is 1. Open the e- System Error Pass
Credentials fails with operational commerce website. should message
Login empty 2. Click on "Login". display an displayed
credentials 3. Leave both email error indicating
and password fields message required
empty. indicating fields
4. Click "Submit" or that both
"Login". fields are
required.
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Valid User Verify E- 1. Open the e- User should User was Pass
Registration successful Commerce commerce website. be registered registered
registration website is 2. Click on "Sign Up" successfully. successfully.
with valid operational or "Register". Email with Email with
details and 3. Enter valid user verification verification
accessible details: link and/or link and OTP
- Full Name OTP should received.
- Email Address be received.
- Mobile Number
- Password
- Confirm Password
4. Agree to terms
and conditions.
5. Click "Submit" or
"Register".
6. Check email for
verification link
and/or OTP.
TC_2 Invalid Email Verify E- 1. Open the e- System Error Pass
Format registration Commerce commerce website. should message
Registration fails with website is 2. Click on "Sign Up" display an displayed
invalid email operational or "Register". error indicating
format and 3. Enter user details message invalid email
accessible with an invalid email indicating format.
format (e.g., invalid email
userexample.com). format.
4. Complete other
fields.
5. Agree to terms
and conditions.
6. Click "Submit" or
"Register".
TC_3 Missing Verify E- 1. Open the e- System Error Pass
Password registration Commerce commerce website. should message
Registration fails with website is 2. Click on "Sign Up" display an displayed
missing operational or "Register". error indicating
password and 3. Enter user details message password is
accessible but leave the indicating required.
password field password is
empty. required.
4. Complete other
fields.
5. Agree to terms
and conditions.
6. Click "Submit" or
"Register".
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Register on Verify System is 1. Open the railway Registration Registration Pass
Railway registration operational reservation portal. successful, successful,
Reservation and email/OTP 2. Click "Register" or and and
Portal receipt "Sign Up". verification verification
3. Enter valid details email and email and
(email, mobile, etc.). OTP are OTP are
4. Submit the received. received.
registration form.
5. Check email and
mobile for
OTP/verification
message.
TC_2 Check Train Verify train User is 1. Search for trains Trains are Trains listed Pass
Availability and availability logged in from Mumbai to listed with with
Concession and and on the Delhi for the next available availability.
concession for booking two days. seats. Senior Senior citizen
senior citizen page 2. Enter details for 2 citizen concession
travellers. concession applied to
3. Change age of one applied traveller
traveller to 62. correctly. aged 62 .
4. Check the
availability and
concession status.
TC_3 Book Ticket with Verify system User is 1. Proceed to book a Error Error Pass
Invalid Captcha response to logged in ticket. message message
invalid captcha and on the 2. Enter details and indicating displayed for
booking captcha code as incorrect incorrect
page "WRONGCAP". captcha. captcha.
3. Submit the Ticket should Booking not
booking request. not be processed.
booked.
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Validate Valid Ensure valid System is 1. Open the user Email Email Pass
Email Format email format is operational registration form. address is address is
accepted 2. Enter a valid email accepted accepted
address (e.g., and stored and stored
user@example.com). correctly. correctly.
3. Submit the form.
TC_2 Validate Invalid Ensure invalid System is 1. Open the user Error Error Pass
Email Format email format is operational registration form. message message
rejected 2. Enter an invalid indicating displayed
email address (e.g., invalid indicating
user@.com). email invalid
3. Submit the form. format is email
displayed format.
TC_3 Validate Valid Ensure valid System is 1. Open the user Mobile Mobile Pass
Mobile Number mobile operational registration form. number is number is
Format number is 2. Enter a valid mobile accepted accepted
accepted number (e.g., +91- and stored and stored
9876543210). correctly. correctly.
3. Submit the form.
TC_4 Validate Mobile Ensure special System is 1. Open the user Error Error Pass
Number with characters are operational registration form. message message
Special rejected 2. Enter a mobile indicating displayed
Characters number with special invalid indicating
characters (e.g., +91- characters invalid
98*456#210). is displayed characters.
3. Submit the form.
Test Test Case Test Scenario Pre- Test Steps Expected Actual Test
case ID Name Conditions Results Results Results
TC_1 Addition - Verify addition None 1. Input 7 and 5. 12 12 Pass
Positive of two positive 2. Perform addition
Numbers numbers operation.
TC_2 Subtraction Verify None 1. Input 4 and 10. -6 -6 Pass
- Larger subtraction of 2. Perform subtraction
from a larger operation
Smaller number from
a smaller
number
TC_3 Multiplicati Verify None 1. Input 0 and 8. 0 0 Pass
on - Zero multiplication 2. Perform
and of zero by a multiplication
Positive positive operation.
number
TC_4 Division - Verify division None 1. Input 15 and 0. Error Error Pass
Division by by zero 2. Perform division (Division by (Division by
Zero operation. zero) . zero) .
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Check Verify train System is 1. Open train booking List of List of Pass
Availability for availability for operational system trains with trains with
Today today's date 2. Enter departure availability availability
date as today status for status for
3. Search for trains today today
TC_2 Check Verify train System is 1. Open train booking List of List of Pass
Availability for availability for operational system trains with trains with
Tomorrow tomorrow 2. Enter departure availability availability
date as tomorrow status for status for
3. Search for trains tomorrow tomorrow

TC_3 Check Verify train System is 1. Open train booking List of List of Pass
Availability for 3 availability for operational system trains with trains with
Days from 3 days ahead 2. Enter departure availability availability
Today date as 3 days from status for 3 status for 3
today days ahead days ahead
3. Search for trains
TC_4 Check Verify train System is 1. Open train booking List of List of Pass
Availability for 4 availability for operational system trains with trains with
Days from 4 days ahead 2. Enter departure availability availability
Today date as 4 days from status for 4 status for 4
today days ahead days ahead
3. Search for trains
TC_5 Check Verify train System is 1. Open train booking List of List of Pass
Availability for 5 availability for operational system trains with trains with
Days from 5 days ahead 2. Enter departure availability availability
Today date as 5 days from status for 5 status for 5
today days ahead days ahead
3. Search for trains
TC_6 No Trains Verify system System is 1. Open train booking Message Message Pass
Available response operational system indicating indicating
when no trains 2. Enter departure no trains no trains
are available date with no available available available
trains
3. Search for trains
TC_7 High Demand Verify system System is 1. Open train booking Accurate Accurate Pass
Period performance operational system availability availability
and accuracy 2. Enter departure informatio informatio
during high date during high n with n with
demand demand period potential waiting lists
3. Search for trains waiting lists
TC_8 Verify system System is 1. Open train booking Appropriat Appropriat Pass
Invalid Date
handling of operational system e error e error
Format
invalid date 2. Enter an invalid message or message
formats date format handling displayed
3. Search for trains
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 Validate Invalid Ensure invalid System is 1. Open the user Error Error Pass
Mobile Number mobile operational registration or message message
Format number update form. indicating displayed
format is 2. Enter an invalid invalid indicating
rejected mobile number (e.g., mobile invalid
1234567 or number mobile
12345678). format is number
3. Submit the form. displayed. format.
TC_2 Validate Email Ensure email System is 1. Open the user Error Error Pass
without '@' without '@' operational registration or message message
Character character is update form. indicating displayed
rejected 2. Enter an email invalid email indicating
address without '@' format is invalid email
character (e.g., displayed. format
userexample.com). (missing '@').
3. Submit the form.
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case Condition Results Results Results
ID s
TC_1 “test_square_root” Verify the None 1. Set a = 16. result = 4.0 result = 4.0 Pass
square root of a 2. Perform result
positive number = sqrt(a).
TC_2 “test_exponentiation” Verify None 1. Set base = 3. result = 81 result = 81 Pass
exponentiation 2. Set exponent =
of a base raised 4.
to a power 3. Perform result
= base **
exponent.
TC_3 “test_logarithm” Verify natural None 1. Set a = 20. result ≈ result ≈ Pass
logarithm of a 2. Perform result 2.9957 2.9957
positive number = log(a).
TC_4 “test_sine” Verify sine of an None 1. Set angle = π/2 result ≈ 1.0 result = 1.0 Pass
angle in radians (or 1.5708
radians).
2. Perform result
= sin(angle).
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case Conditions Results Results Results
ID
TC_1 test_addition_positive Verify addition None 1. Set a = 10. result = 30 result = 30 Pass
of two positive 2. Set b = 20.
numbers 3. Perform result
= a + b.
TC_2 test_addition_negative Verify addition None 1. Set a = -5. result = -20 result = -20 Pass
of two 2. Set b = -15.
negative 3. Perform result
numbers = a + b.

TC_3 test_subtraction_mixed Verify None 1. Set a = -10. result = -20 result = -20 Pass
subtraction of 2. Set b = -5.
two negative 3. Set c = 15.
numbers and 4. Perform result
one positive = a - b - c.
number
Test Test Case Name Test Scenario Pre- Test Steps Expected Actual Test
case ID Conditions Results Results Results
TC_1 test_logarithm_ Verify the None 1. Set a = 8. result = 3.0 result = 3.0 Pass
base2 logarithm of 8 2. Set base = 2.
with base 2 3. Perform result =
log(a, base).
TC_2 trigonometric_ Verify values None 1. Set theta = π/4. sin(π/4) ≈ sin(π/4) ≈ Pass
functions of sine, cosine, 2. Perform sin_result 0.7071, 0.7071,
tangent, and = sin(theta). cos(π/4) ≈ cos(π/4) ≈
cotangent 3. Perform cos_result 0.7071, 0.7071,
functions for = cos(theta). tan(π/4) ≈ tan(π/4) ≈
θ=π/4 4. Perform tan_result 1.0, 1.0,
= tan(theta). cot(π/4) ≈ cot(π/4) ≈
5. Perform cot_result 1.0 1.0
= 1/tan(theta).

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy