0% found this document useful (0 votes)
19 views

Assignment1 Testing

The document describes test scenarios for validating an enquiry form. It includes 11 test scenarios that cover validating empty name fields, valid form submissions, field length restrictions, invalid email formats, phone number formats and clearing entered data. The test scenarios will be used to create test cases to validate the enquiry form functionality.

Uploaded by

Swet Sheersh
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Assignment1 Testing

The document describes test scenarios for validating an enquiry form. It includes 11 test scenarios that cover validating empty name fields, valid form submissions, field length restrictions, invalid email formats, phone number formats and clearing entered data. The test scenarios will be used to create test cases to validate the enquiry form functionality.

Uploaded by

Swet Sheersh
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 35

Requirement ID Test Scenario Description

Column1 Column2
TR_Enquiry_01 The user leaves the "Name" field empty
and fills all other fields before clicking
the SEND button.
TR_Enquiry_02 1.)Valid Data Submission
2.)The user fills all the mandatory fields
with valid data and clicks the SEND
button.

TR_Enquiry_03 1.)verify page navigation

TR_Enquiry_04 1.)Invalid Email Format


2.)The user enters an invalid email
format in the "Email" field.

TR_Enquiry_05 Name Field Length Validation

The user enters an alphabetic value in


the "Name" field exceeding the
maximum limit of 30 characters.

TR_Enquiry_06 Company Name Field Length Validation

The user enters an alphanumeric value


in the "Company Name" field exceeding
the maximum limit of 100 characters.

TR_Enquiry_07 Address Field Length Validation


The user enters an alphanumeric value
in the "Address" field exceeding the
maximum limit of 500 characters.

TR_Enquiry_08 City Field Length Validation

The user enters an alphabetic value in


the "City" field exceeding the maximum
limit of 100 characters.
TR_Enquiry_09 Phone Number Field Validation

The user enters a phone number with a


format other than 10 digits in the
"Phone No" field.

TR_Enquiry_10 Message Field Length Validation

The user enters alphanumeric text with


special characters in the "Message"
field, exceeding the maximum limit of
2000 words.

TR_Enquiry_11 Clear Button Functionality

The user fills the form and clicks the


CLEAR button to erase the entered
data.
Assignment 1

Possible No. of
Type of Testing Test Case Details
TestCases
Column3 Column4 Column5
ECP 2 The application should prompt an
appropriate error message indicating that
the "Name" field is mandatory.
ECP 1 The application should display a success
message "Enquiry Sent" on the next page.

functional testing 1 The application should respond


appropriately and navigate to the next
page, displaying either a success message
or an error message.

ECP 3 The application should prompt an


appropriate error message indicating that
the entered email is in an invalid format.

ECP 3 The application should either truncate the


input to 30 characters or display an error
message indicating the character limit.

ECP 3 The application should either truncate the


input to 100 characters or display an error
message indicating the character limit.

BVA 6 The application should either truncate the


input to 500 characters or display an error
message indicating the character limit.

ECP 3 The application should either truncate the


input to 100 characters or display an error
message indicating the character limit.
ECP 4 The application should prompt an
appropriate error message indicating that
the entered phone number is invalid.

ECP 4 The application should either truncate the


input to 2000 words or display an error
message indicating the word limit.

functional testing 1 The application should clear all the entered


data in the form.
Test Case ID Test Scanario Id

<Sequence number> <test scenario id>

Column1 Column15
TC_Enquiry_01 TR_Enquiry_01

TC_Enquiry_02 TR_Enquiry_02

TC_Enquiry_03 TR_Enquiry_03

TC_Enquiry_04 TR_Enquiry_04

TC_Enquiry_05 TR_Enquiry_05

TC_Enquiry_06 TR_Enquiry_05

TC_Enquiry_07 TR_Enquiry_05
TC_Enquiry_08 TR_Enquiry_06

TC_Enquiry_09 TR_Enquiry_06

TC_Enquiry_10 TR_Enquiry_06

TC_Enquiry_11 TR_Enquiry_07

TC_Enquiry_12 TR_Enquiry_07

TC_Enquiry_13 TR_Enquiry_07

TC_Enquiry_14 TR_Enquiry_08

TC_Enquiry_15 TR_Enquiry_08
TC_Enquiry_16 TR_Enquiry_08

TC_Enquiry_17 TR_Enquiry_09

TC_Enquiry_18 TR_Enquiry_09

TC_Enquiry_19 TR_Enquiry_09

TC_Enquiry_20 TR_Enquiry_09

TC_Enquiry_21 TR_Enquiry_10

TC_Enquiry_22 TR_Enquiry_10

TC_Enquiry_23 TR_Enquiry_10

TC_Enquiry_24 TR_Enquiry_10
TC_Enquiry_25 TR_Enquiry_11
Test Scenario Pre-Requisite

<test scenario> <This cell specifies the state a system


and its environment must be in
before this specific test case can be
run>

Column2 Column3
"Name" field should be empty and The Enquiry page should be
fills all other fields before clicking available.
the SEND button.

1.)Valid Data Submission The Enquiry page should be


2.)The user fills all the mandatory available.
fields with valid data and clicks the
SEND button.

verify page navigation The Enquiry page should be


available.

1.)Invalid Email Format The Enquiry page should be


2.)The user enters an invalid available.
email format in the "Email" field.

Name Field Length Validation The Enquiry page should be


available.
The user enters an alphabetic
value in the "Name" field
exceeding the maximum limit of 30
characters.

Name Field Length Validation The Enquiry page should be


available.
The user enters an alphabetic
value in the "Name" field
exceeding the maximum limit of 30
characters.

Name Field Length Validation The Enquiry page should be


available.
The user enters an alphabetic
value in the "Name" field
exceeding the maximum limit of 30
characters.
Company Name Field Length The Enquiry page should be
Validation available.

The user enters an alphanumeric


value in the "Company Name" field
exceeding the maximum limit of
100 characters.

Company Name Field Length The Enquiry page should be


Validation available.

The user enters an alphanumeric


value in the "Company Name" field
exceeding the maximum limit of
100 characters.

Company Name Field Length The Enquiry page should be


Validation available.

The user enters an alphanumeric


value in the "Company Name" field
exceeding the maximum limit of
100 characters.

Address Field Length Validation The Enquiry page should be


The user enters an alphanumeric available.
value in the "Address" field
exceeding the maximum limit of
500 characters.

Address Field Length Validation The Enquiry page should be


The user enters an alphanumeric available.
value in the "Address" field
exceeding the maximum limit of
500 characters.

Address Field Length Validation The Enquiry page should be


The user enters an alphanumeric available.
value in the "Address" field
exceeding the maximum limit of
500 characters.

City Field Length Validation The Enquiry page should be


available.
The user enters an alphabetic
value in the "City" field exceeding
the maximum limit of 100
characters.

City Field Length Validation The Enquiry page should be


available.
The user enters an alphabetic
value in the "City" field exceeding
the maximum limit of 100
characters.
City Field Length Validation The Enquiry page should be
available.
The user enters an alphabetic
value in the "City" field exceeding
the maximum limit of 100
characters.

Phone Number Field Validation The Enquiry page should be


available.
The user enters a phone number
with a format other than 10 digits
in the "Phone No" field.

Phone Number Field Validation The Enquiry page should be


available.
The user enters a phone number
with a format other than 10 digits
in the "Phone No" field.

Phone Number Field Validation The Enquiry page should be


available.
The user enters a phone number
with a format other than 10 digits
in the "Phone No" field.

Phone Number Field Validation The Enquiry page should be


available.
The user enters a phone number
with a format other than 10 digits
in the "Phone No" field.

Message Field Length Validation The Enquiry page should be


available.
The user enters alphanumeric text
with special characters in the
"Message" field, exceeding the
maximum limit of 2000 words.

Message Field Length Validation The Enquiry page should be


available.
The user enters alphanumeric text
with special characters in the
"Message" field, exceeding the
maximum limit of 2000 words.

Message Field Length Validation The Enquiry page should be


available.
The user enters alphanumeric text
with special characters in the
"Message" field, exceeding the
maximum limit of 2000 words.

Message Field Length Validation The Enquiry page should be


available.
The user enters alphanumeric text
with special characters in the
"Message" field, exceeding the
maximum limit of 2000 words.
Clear Button Functionality The Enquiry page should be
available.
The user fills the form and clicks
the CLEAR button to erase the
entered data.
Assignme

Test Steps Test Data

<This cell describes what to test for i.e. the <This cell describes how to test i.e. the
condition which is being tested for> detailed testing procedure>

Column4 Column5
1)open Browser 1) Browser:chrome
2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: Name ->Empty
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: Name ->swet
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: valid
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data:email->swet.com
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: Name ->29 char string value
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: Name ->30 charstring value
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: Name ->31 charstring value
4)click submit button others: valid input
1)open Browser 1) Browser:chrome
2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data:company Name ->99 char string
4)click submit button value
others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data:company Name ->100 char string
4)click submit button value
others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data:company Name ->101 char string
4)click submit button value
others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data:Address Name ->499 char string
4)click submit button value
others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data:Address Name ->500 char string
4)click submit button value
others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data:Address Name ->501 char string
4)click submit button value
others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: city field ->99 char word
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: city field ->100 char word
4)click submit button others: valid input
1)open Browser 1) Browser:chrome
2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: city field ->101 char word
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: phone:123456789
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: phone:1234567891
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: phone:12345678912
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: phone:anlkjhvhj45655
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: message->1999 char data
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: message->empty field
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: message->2000 char data
4)click submit button others: valid input

1)open Browser 1) Browser:chrome


2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: message->2001 char data
4)click submit button others: valid input
1)open Browser 1) Browser:chrome
2)Enter the Url : www.enquiry.com 2.)Url:www.enquiry.com
3)Enter data 3)Data: All valid data
4)click submit button others: valid input
Assignment 1

Expected Result Actual Result PASS / FAIL

<Mention test data to be used> <Describe the expected test <Describe the actual test result
result> after execution of test cases. In
case screenshots need to be
attached to substantiate the
test result, use the references
tab.>

Column6 Column7 Column9


it should alert an error message
name cant be empty.

it should show a success message.

it should navigate on clicking


submit either success or error.

it should navigate to error page.

it should show an success message.

it should show a success message.

it should show an error message.


it should show a success message.

it should show a success message.

it should show an error message.

it should show a success message.

it should show a success message.

it should show an error message.

it should show a success message.

it should show a success message.


it should show an error message.

it should show an error message.

it should show a succsess message.

it should show an error message.

it should show an error message.

it should show a success message.

it should show an error message.

it should show a success message.

it should show an error message.


The application should clear all the
entered data in the form.
Status
Actual Result Iteration 2 Iteration 2
Defect ID (to be updated only if test case failed in (to be updated only if test
Iteration 1) case failed in Iteration 1)
Status of the test case whether it <Describe the actual test result after New status of test case after
got passed/ failed/Hold in interation execution of test cases second time. In it failed in Iteration 1.
1. case screenshots need to be attached to
substantiate the test result, use the
references tab.>

Column10 Column11 Column12


Reference ID Remarks

Column13 Column14
Defect ID Defect description Reproducible(Yes\No)

Column1 Column2 Column3


TD_Enquiry_01 1) while clicking submit Yes
button with empy name field
and valid other field.it shows
success message and page
navigates to success page.

TD_Enquiry_02 1) After filling every field ,on yes


clicking submit button ,page
is unresponsive.

TD_Enquiry_03 1)Email field accepts invalid yes


email format
Steps to Reproduce Priority Severity Reported By

Column4 Column5 Column6 Column7


1.)open the y N swet
url :www.enquiry.com
2)fill the valid data except name
field. 3)leave
name field empty 4)click
submit button

1.)open the y y swet


url :www.enquiry.com
2)fill all the field with valid data.
3)click
submit button

1.)open the N N swet


url :www.enquiry.com
2)fill all the field with valid data
except email field.
4)email: abc.com
3)click submit button
Assignment 1
Reported Date Resolution Stage / PD of Origin Cause of Defect Resolved By

Column8 Column9 Column10 Column11 Column12


27-Jul-23

28-Jul-23

29-Jul-23
Resolved Date Remarks Closed By Closed Date

Column13 Column14 Column15 Column16


Defect Status Resolution Status

Column17 Column18

You might also like