Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 9

Test Case

Project Name
Testing Objectives
Prepared by
Review By
Testing Environment

Test Case ID Objective/Description


TC_AddLocations_01 To verify that existence of the fields on Add
Locations screen

TC_AddLocations_02 To verify that user is able to add location with all


mandatory details

TC_AddLocations_03 To verify that user is able to add location with all


details

TC_AddLocations_04 To verify that user should be able to add


location with valid Name less than 100 char
TC_AddLocations_05 To verify that user should be able to add
location with valid Name 100 char

TC_AddLocations_06 To verify that user shouldn't be able to add


location with Invalid Name more than 100 char

TC_AddLocations_07 To verify that user shouldn't be able to add


location with Invalid Name Blank

TC_AddLocations_08 To verify that user should be able to add


location be selecting valid Country

TC_AddLocations_09 To verify that user shouldn't be able to add


location with blank Country

TC_AddLocations_10 To verify that user should be able to add


location be selecting valid Time Zone

TC_AddLocations_11 To verify that user shouldn't be able to add


location with blank Time Zone

TC_AddLocations_12 To verify that user should be able to add


location with valid State/Province less than 50
char
TC_AddLocations_13 To verify that user should be able to add
location with valid State/Province 50 char

TC_AddLocations_14 To verify that user shouldn't be able to add


location with Invalid State/Province more than
50 char

TC_AddLocations_15 To verify that user shouldn't be able to add


location with Invalid State/Province Blank

TC_AddLocations_02 To verify that user is able to add location with all


mandatory details
Test Case

Prepared on
Review Date

Pre-Condition Steps
1. User should be logged in with valid 1. Click on + (Add Location) icon
user role and credentials 2. Observe the availability of following fields
2. User should be navigated to to on the screen
Admin -> Organization -> Locations Name - Textbox
Country - Dropdown
Time Zone - Dropdown
State/Province - Textbox
City - Textbox
Zip/Postal Code - Textbox
Phone - Textbox
Fax - Textbox
Address - Textbox
Notes - Textbox
Cancel - Button
Save - Button

1. User should be logged in with valid 1. Enter or select valid value for below fields
user role and credentials Name
2. User should be navigated to to Country
Admin -> Organization -> Locations City
-Add Locations State/Province
2. Leave all other field blank or as default
3. Click on save Button

1. User should be logged in with valid 1. Enter or select valid value for below fields
user role and credentials Name
2. User should be navigated to to Country
Admin -> Organization -> Locations City
-Add Locations State/Province
2. Enter or select valid vaule for all other
fields
3. Click on save Button

1. User should be logged in with valid 1. Enter or select valid value for below fields
user role and credentials Name - Less than 100 char
2. User should be navigated to to Country
Admin -> Organization -> Locations City
-Add Locations State/Province
2. Enter or select valid vaule for all other
fields
3. Click on save Button
1. User should be logged in with valid 1. Enter or select valid value for below fields
user role and credentials Name - 100 char
2. User should be navigated to to Country
Admin -> Organization -> Locations City
-Add Locations State/Province
2. Enter or select valid vaule for all other
fields
3. Click on save Button

1. User should be logged in with valid 1. Enter value in Name field more than 100
user role and credentials char
2. User should be navigated to to
Admin -> Organization -> Locations
-Add Locations

1. User should be logged in with valid 1. Leave Name field blank


user role and credentials 2. Enter or select valid value for below fields
2. User should be navigated to to Country
Admin -> Organization -> Locations City
-Add Locations State/Province
3. Enter or select valid vaule for all other
fields
4. Click on save Button

1. User should be logged in with valid 1. Select valid value Country for below fields
user role and credentials 2. Enter or select valid vaule for all other
2. User should be navigated to to fields
Admin -> Organization -> Locations 3. Click on save Button
-Add Locations

1. User should be logged in with valid 1. Leave Country field blank


user role and credentials 2. Enter or select valid vaule for all other
2. User should be navigated to to fields
Admin -> Organization -> Locations 4. Click on save Button
-Add Locations

1. User should be logged in with valid 1. Select valid value Time Zone for below
user role and credentials fields
2. User should be navigated to to 2. Enter or select valid vaule for all other
Admin -> Organization -> Locations fields
-Add Locations 3. Click on save Button

1. User should be logged in with valid 1. Leave Time Zone field blank
user role and credentials 2. Enter or select valid vaule for all other
2. User should be navigated to to fields
Admin -> Organization -> Locations 4. Click on save Button
-Add Locations

1. User should be logged in with valid 1. Enter Valid value for State/Province field
user role and credentials less the 50 char
2. User should be navigated to to 2. Enter or select valid vaule for all other
Admin -> Organization -> Locations fields
-Add Locations 3. Click on save Button
1. User should be logged in with valid 1. Enter Valid value for State/Province field
user role and credentials 50 char
2. User should be navigated to to 2. Enter or select valid vaule for all other
Admin -> Organization -> Locations fields
-Add Locations 3. Click on save Button

1. User should be logged in with valid 1. Enter Valid value for State/Province field
user role and credentials more than 50 char
2. User should be navigated to to
Admin -> Organization -> Locations
-Add Locations

1. User should be logged in with valid 1. Don't enter Valid value for State/Province
user role and credentials field
2. User should be navigated to to 2. Enter or select valid vaule for all other
Admin -> Organization -> Locations fields
-Add Locations 3. Click on save Button

1. User should be logged in with valid 1. Enter or select valid value for below fields
user role and credentials Name
2. User should be navigated to to Country
Admin -> Organization -> Locations City
-Add Locations State/Province
2. Leave all other field blank or as default
3. Click on Cancel Button
Input data
Expected Result
(Test Data) Status
1. Add Locations screen should appears
2. Below fields should be available on the
screen
Name - Textbox
Country - Dropdown
Time Zone - Dropdown
State/Province - Textbox
City - Textbox
Zip/Postal Code - Textbox
Phone - Textbox
Fax - Textbox
Address - Textbox
Notes - Textbox
Cancel - Button
Save - Button

1. Location should be addded successfully .


2. User should be Navigated to Locations
screen

1. Location should be addded successfully .


2. User should be Navigated to Locations
screen

1. Location should be addded successfully .


2. User should be Navigated to Locations
screen
1. Location should be addded successfully .
2. User should be Navigated to Locations
screen

1. Error message for name field "Should not


exceed 100 characters" should appear

1. Error message for name field "Required"


should appear

1. Location should be addded successfully .


2. User should be Navigated to Locations
screen

1. Error message for Country field "Required"


should appear

1. Location should be addded successfully .


2. User should be Navigated to Locations
screen

1. Error message for Time Zone field


"Required" should appear

1. Location should be addded successfully .


2. User should be Navigated to Locations
screen
1. Location should be addded successfully .
2. User should be Navigated to Locations
screen

1. Error message for State/Province field


"Should not exceed 50 characters" should
appear

1. Location should be addded successfully .


2. User should be Navigated to Locations
screen

1. Location shouldn't be addded .


2. User should be Navigated to Locations
screen

You might also like