You are on page 1of 5

6.

Test Cases

6.3.1 Field Validation Test Cases Table 6.3.1 Field Validation Test Cases

Test 1.

Expected Result On display of the Customer Company Details screen

Actual Result

Comm ent Pass

All the text fields should be blank. Same Parent Company, Country , City and State Combos should have Select one as Default Tab Order should be Same o Company Id o Company Name o Phone o E-mail o Parent Company o Address1 o Address2 o Country o State o City o Zip o Site o Fax o E-Mail o Dynamic Attributes Display the error message Please Same enter the Company Id. Focus returns to the Company id Same Field Same Display the error message All mandatory fields (Company Id, Company Name, and Email) for Same the Customer Company must be entered. Focus should be on the first Same mandatory field Same Display the error message All mandatory fields (Company Same Id, Company Name, and Email) for the Customer Company must be entered. Same Focus should be on the first mandatory field Display an error message Please enter Non-numeric value for Same Customer Company Id. Ex: exam, asd1, g1ood. Focus should return to the Same Customer Company Id field Same Display an error message Please Same

Pass

2.

Do not enter any value for Company Id and click on Save Do not enter any values in the screen and Click on Save button

Pass Pass Pass Pass Pass Pass Pass

3.

4. Enter some mandatory fields and click on Save button

5. Enter numeric in the Customer Company Id field. Ex: 124, 121.45 and tab out. 6. Enter characters alpha numeric

Pass

Pass

Pass Pass Pass

6.3.2 Screen Functionality Test Cases Table 6.3.2 Screen Functionality Test Cases Save Customer Company Details Test Expected Result Actual Result Comm ent Pass

1 For a new Customer Company . enter valid values for 1. Company Id (unique) 2. Company Name 3. Address ( Having Special Characters ex: #12-13/A, My Home, Delaware Ave., Perth) 4. Contact Number (Optional) Click on Save 2 For a new Customer Company . enter valid values for 1. Company Id (unique) 2. Company Name 3. Address 4. Contact Number Click on Save

Details should be saved to the Same database Customer Company details screen should be cleared and Customer Same Company List Should be refreshed in the Screen.

Pass

Details should be saved to the Same database Customer Company details screen should be cleared and Customer Same Company List Should be refreshed in the Screen

Pass

Pass

View Customer Company Details Test 1. Expected Result Enter a Business id existing in the database and click on Search Actual Result Comm ents Pass

Display the Customer Company Same details screen with the Customer Company details. (Verify the values with that existing in the database). Save button should be disabled. Same Cancel Button should be displayed Same Customer Company id should be read-only

Pass Pass

Clear Customer Company Details Test 1. Expected Result Enter an Customer Company id existing in the database and click on view. Actual Result Comm ent Pass

2. Click on Clear button.

Display the Customer Company Same details screen with the Customer Company details. (Verify the values with that existing in the database). Save button should be disabled. Same Modify button should be enabled. Customer Company id should be Same read-only Customer Company Details screen should be cleared. If the Company Same id field was read only, it should be cleared and made editable. Same No database operation should be performed. Focus should be in the Company id Same Field.

Pass Pass

Pass Pass Pass

Modify Customer Company Details Test 1. Expected Result Enter a Customer Company id existing in the database and click on view. Actual Result Comm ents Pass

Display the Customer Company Same details screen with the Customer Company details. (Verify the values with that existing in the database). Save button should be disabled. Same Modify button should be enabled. Customer Company id should be Same read-only

Pass Pass

2.

Enter valid values for 1. First Name 2. Last Name 3. Address 4. Contact Number Click on Modify

Customer Company details should Same be saved to the database Customer Company details screen Same should be cleared.

Pass Pass

You might also like