Objective: To test the data validations of Country Master Table
TC ID Test Case Validation Test Data
check field CountryID for Should allow only entry to 1 data validation. numeric data (0-9) enter A-Z Should allow entry to only 1 numeric data (0-9) enter a-z Should allow only entry to 2 numeric data (0-9) enter special characters check field CountryID for new 3 key generation CountryID should be unique insert a new row in table delete an existing row and insert a 4 CountryID should be unique new row check for referential integrity CountryID should follow try to delete a row having a linking 5 of CountryID Referential integrity row in StateMaster Table CountryID should follow 6 Referential integrity Modify an existing CountryID Should allow any alphanumeric Should allow any alphanumeric check field CountryName for characters except any special characters except any special 7 data validation. characters characters CountryName should not be enter any name exceeding 100 8 more than 100 characters chars CountryName is mandatory and Insert a new row in table leaving 9 cannot be NULL CountryName as NULL CountryName is mandatory and Insert a new row in table leaving 10 cannot be blank CountryName as blank spaces
insert a new row with CountryName
check field CountryID for new = 'India'. Now insert another new 11 key generation CountryName should be unique row with CountryName = 'India' Should allow any alphanumeric enter any special characters other Check field Currency for data characters except any special than (A-Z, a-z, 0-9, space and 12 validations characters single quote check for referential integrity of Curreny should not be more try to delete a row having a linking 13 CountryID than 5 characters row in CityMaster Table check field AppName for data 14 validation should allow any data check field HostName for data 15 validations should allow any data 16 should allow any data check field CreateDate for data try to enter any data not in date 17 validations format
insert a new row in table to check if
this field should trac which the field automatically takes the check field AppName for application inserted the new row name of the application, using what 18 functional validation or modified the existing row the row has been inserted
modify an existing row in table to
check if the field automatically this field should trac which takes the name of the application, application inserted the new row using what the row has been 19 or modified the existing row modified insert a new row in table to check if this field should trac from which the field automatically takes the check field HostName for computer the new row has been name of the computer from which 20 functional validation inserted or modified the row has been inserted
modify an existing row in table to
check if the field automatically this field should trac from which takes the name of the computer computer the new row has been from which the row has been 21 inserted or modified modified
insert a new row in table to check if
this field should trac the user the field automatically takes the check field UserName for name who has inserted the new name of the user who inserted the 22 functional validation row or modified an existing row new row
modify an existing row in table to
this field should trac the user check if the field automatically name who has inserted the new takes the name of the user who 23 row or modified an existing row modified the existing row insert a new row in table to check if this field should trac the date on the field automatically takes the check field ModifyDate for which the new row has been date on which the row has been 24 functional validation inserted inserted Modify an existing row in table to this field should trac the date on check if the field automatically which the new row has been takes the date on which the row has 25 inserted been Modified 26 27 28 29 30 31 Remarks
should not accept the test data
should not accept the test data
should not accept the test data
should generate a new CountryID
the deleted row's CountryID should not be repeated Should not allow to delete the record Should not allow to modify the record
should not accept the test data
should not accept data more than 100 chars
should not allow to insert a new row
should not allow to insert a new row
should not accpet same country
name twice
should not accept the test data
should not accept data more than 5 chars
should allow any data
should allow any data
should allow any data
should not accept the test data
on a new row entry, this field
should automatically take the name of application using what the row has been inserted e.g. if a new row has been inserted using MySQL query browser, this field should show 'My SQL query browser'
on modifying the row, this field
should automatically take the name of application using what the row has been modified e.g. if the row has been modified using c# application Vista NE-DSS, this field should show 'Vista NE-DSS' on a new row entry, this field should automatically take the name of computer from which the row has been inserted e.g. if a new row has been inserted from COMP1, this field should show 'COMP1'
on modifying the row, this field
should automatically take the name of computer from which the row has been modified e.g. if the row has been modified from SERVER1, this field should show 'SERVER1' on a new row entry, this field should automatically take the name of the user who inserted the new row e.g. if a new row has been inserted by User1, this field should show 'User1' on modifying the row, this field should automatically take the name of the user who has modified the row e.g. if user User2 has modified the row this field should show 'User2'
on a new row entry, this field
should automatically take the date on which the row has been inserted on modifying an existing row entry, this field should automatically take the date on which the row has been modified TC NAME : STATE MASTER TABLE
OBJECTIVE : TO TEST THE FUNCTIONALITY OF THE STATE MASTER TABLE
TC ID TEST CASE VALIDATION TEST DATA
check state id field for data Should allow entry to only 1 validation numeric data (0-9) enter A-Z Should allow only entry to 2 numeric data (0-9) enter a-z Should allow only entry to 3 numeric data (0-9) enter special characters Should allow any alphanumeric characters Should allow any alphanumeric check state name field for except any special characters except any special 4 data validation characters characters CountryName should not be more than 100 enter any name exceeding 100 5 characters chars CountryName is mandatory and cannot be Insert a new row in table leaving 6 NULL CountryName as NULL CountryName is mandatory and cannot be Insert a new row in table leaving 7 blank CountryName as blank spaces check field CountryID for data Should allow only entry to 8 validation. numeric data (0-9) enter A-Z Should allow only entry to 9 numeric data (0-9) enter a-z Should allow only entry to 10 numeric data (0-9) enter special characters check field CountryID for new CountryID should be 11 key generation unique insert a new row in table CountryID should be delete an existing row and insert a 12 unique new row check for referential integrity CountryID should follow try to delete a row having a linking 13 of CountryID Referential integrity row in CityMaster Table CountryID should follow 14 Referential integrity Modify an existing CountryID Should allow any alphanumeric characters Should allow any alphanumeric check field CountryName for except any special characters except any special 15 data validation. characters characters CountryName should not be more than 100 enter any name exceeding 100 16 characters chars CountryName is mandatory and cannot be Insert a new row in table leaving 17 NULL CountryName as NULL CountryName is mandatory and cannot be Insert a new row in table leaving 18 blank CountryName as blank spaces insert a new row with CountryName = 'India'. Now insert Check field CountryName for CountryName should be another new row with 19 unique key constraint unique CountryName = 'India' check field AppName for data 20 validation should allow any data check field HostName for 21 data validations should allow any data check field UserName for 22 data validations should allow any data check field CreateDate for try to enter any data not in date 23 data validations format
insert a new row in table to check
this field should trac which if the field automatically takes the application inserted the name of the application, using check field AppName for new row or modified the what the row has been inserted 24 functional validation existing row but not more then 45 VARCHAR
modify an existing row in table to
this field should trac which check if the field automatically application inserted the takes the name of the application, new row or modified the using what the row has been 25 existing row modified
insert a new row in table to check
this field should trac from if the field automatically takes the which computer the new name of the computer from which check field HostName for row has been inserted or the row has been inserted and 26 functional validation modified not more then 45 VARCHAR
modify an existing row in table to
this field should trac from check if the field automatically which computer the new takes the name of the computer row has been inserted or from which the row has been 27 modified modified
insert a new row in table to check
this field should trac the if the field automatically takes the user name who has name of the user who inserted the check field UserName for inserted the new row or new row & not more then 45 28 functional validation modified an existing row VARCHAR
this field should trac the modify an existing row in table to
user name who has check if the field automatically inserted the new row or takes the name of the user who 29 modified an existing row modified the existing row insert a new row in table to check this field should trac the if the field automatically takes the check field ModifyDate for date on which the new row date on which the row has been 30 functional validation has been inserted inserted
Modify an existing row in table to
this field should trac the check if the field automatically date on which the new row takes the date on which the row 31 has been inserted has been Modified REMARKS/SUGGES EXPECTED RESULTS ACTUAL RESULT SUCCESS/FAILURE SIONS
should not accept the test data
should not accept the test data
should not accept the test data
should not accept the test data
should not accept data more
than 100 chars
should not allow to insert a new
row
should not allow to insert a new
row
should not accept the test data
should not accept the test data
should not accept the test data
should generate a new CountryID the deleted row's CountryID should not be repeated Should not allow to delete the record Should not allow to modify the record
should not accept the test data
should not accept data more
than 100 chars
should not allow to insert a new
row
should not allow to insert a new
row
should not accpet same country
name twice should allow any data
should allow any data
should allow any data
It should not be accepted
on a new row entry, this field
should automatically take the name of application using what the row has been inserted e.g. if a new row has been inserted using MySQL query browser, this field should show 'My SQL query browser' And it should not accept more then 45 V ARCHAR
on modifying the row, this field
should automatically take the name of application using what the row has been modified e.g. if the row has been modified using c# application Vista NE- DSS, this field should show 'Vista NE-DSS'
on a new row entry, this field
should automatically take the name of computer from which the row has been inserted & it should not accept more then 45 VARCHAR e.g. if a new row has been inserted from COMP1, this field should show 'COMP1' on modifying the row, this field should automatically take the name of computer from which the row has been modified e.g. if the row has been modified from SERVER1, this field should show 'SERVER1'
on a new row entry, this field
should automatically take the name of the user who inserted the new row & should not accept more then 45VARCHAR e.g. if a new row has been inserted by User1, this field should show 'User1' on modifying the row, this field should automatically take the name of the user who has modified the row e.g. if user User2 has modified the row this field should show 'User2' on a new row entry, this field should automatically take the date on which the row has been inserted on modifying an existing row entry, this field should automatically take the date on which the row has been modified TC NAME : CITY MASTER TABLE
OBJECTIVE: TO TEST THE FUNCTIONALITY OF THE CITY MASTER TABLE
TC ID TEST CASE VALIDATION TEST DATA EXPECTED RESULT
Should allow only Check the chain id for entry to integer should not accept the 1 data validation data (0-9) Enter A-Z,a-z,) test data Should allow only entry to integer It should accept the 2 data (0-9) Enter (0-9) integer value check for referential integrity of state master 3 table 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 REMARKS/SUGGESS ACTUAL RESULT SUCCESS/FAILURE IONS