Test Case Template: Project ID Project Name

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

Test Case Template

TMT/TD02/TMP

Project ID
Project Name

Prepared/Modified by Role

Reviewed by Role

Approved by Role

Circulation List

Version Number <version no>

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
mplate

Date of Preparation

Date of Review

Date of Approval

Version no. of the template:


1.2

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
©2015 Capgemini. All rights reserved.
The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
©2015 Capgemini. All rights reserved.
The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
Test Cases
Test Case ID Test Scenario Precondition Test Condition

<Sequence <Identify test <This cell specifies the state a system and its <This cell describes what to test for i.e. the
number> scenarios> environment must be in before this specific test condition which is being tested for>
case can be run>

Eg 1 User Login User name max length is 8 chars and


password must not be greater than 8 char's and
it should be
alphanumeric.

TC_001 Get_OTP The user is already on eow portal. To validate that the user is able to get otp on
The login with phone & otp hyperlink is visble clicking the get otp
& clickable.
The phone number textbox should be visible & Mobile number should be numeric & it's
textable. maximum length should be 10

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
TC_002 Confirm_OTP The user should be on home page. To validate the entered OTP is coreect.
The confirm your mobile number textbox
should be visible. Otp should be of 4 numeric digits.
Enter confirmation code should be visible &
textable.
Then should enter the otp which is generated.
The confirm button should be visible &
clickable.

TC_003 Cancel_OTP The user should be on home page. To check the cancel button on otp mobile
Enter confirmation code textbox should be number textbox
visible & textable.
Then should enter the otp which is generated. Otp should be of 4 numeric digits.
The cancel button should be visible &
clickable.

TC_004 Resend_OTP The user should be on home page. To validate the resend button on textbox
The confirm your mobile number textbox
should be visible.
Enter confirmation code should be visible &
textable..
The resend button should be visible &
clickable.

TC_005 FreeAd_Form The user should click on Submit FreeAd button. To check the Submit Free Ad form
The Submit FreeAd hyperlink should be
clickable and visible

TC_006 FreeAd_Title The user is already on FreeAd_form page To validate the title textbox in form.
The title_ad textbox should be visible &
textable. Title _Ad should not be greater than 100 char's
and it should be alphanumeric.

TC_007 FreeAd_Category The user is already on FreeAd_form page To validate the category in freeAd_form page.
The category scrolldown should be visible &
clickable.

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
TC_008 FreeAd_Price The user is already on FreeAd_form page To validate the price textbox in form
The price textbox should be visible & textable
Price should be numeric

TC_009 FreeAd_Description The user is already on FreeAd_form page To validate the description textbox in form
The description textbox should be visible &
textable. Description_Ad should not be greater than
1000 char's and it should be alphanumeric.

TC_010 FreeAd_Uphotos The user is already on FreeAd_form page To validate the upload photos section in form.
The upload photos section should be visible &
clickable. Photo's size should not be greater than 10mb
and file format should be .png or .jpg
User can upload max 6 photos.

TC_011 FreeAd_Username The user is already on FreeAd_form page To validate the title textbox in form.
The name textbox should be visible & textable.
Title _Ad should not be greater than 30 char's
and it should be alphanumeric.

TC_012 FreeAd_Phoneno. The user is already on FreeAd_form page To validate the price textbox in form
The price textbox should be visible & textable
Phone number should be numeric.
Phone number max length should be 10

TC_013 FreeAD_City The user is already on FreeAd_form page To validate the city scrolldown menu in form
The city scrolldown menu should be visible &
textable
TC_014 FreeAD_Submit The user is already on FreeAd_form page To check the submit button.
The submit button should be visible & clickable
All mandatory filed should be filled

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
TC_015
TC_016
TC_017
TC_018
TC_019

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
Test Case Steps Test Data Expected Result

<This cell describes how to test i.e. the detailed testing procedure> <Mention test data to be used> <Describe the expected test result>

1.Enter valid username and password. 1. User should log in successful.


2.Enter Invalid username and valid password 2 Error message should be displayed in the screen 'Invalid
3.Enter valid username and invalid password user name'
4.Enter invalid username and invalid password 3. Error message should be displayed in the screen
'Invalid password'
4. Error message should be displayed in the screen
'Invalidate credentials"

1. Open browser. 1. The browser should open.


2. Enter url for the website. 2. Home page should be loaded.
3. Click on login with phone & otp. 3. The user should be able to get a textbox to enter phone
4. Enter the valid phone number in phone number textbox and click on get otp. number.
5. Enter the invalid phone number in phone number textbox and click on get otp 4.The user should get a otp after clicking on get otp.
5. Error message should be displayed in the screen
'Invalid mobile number'

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
1. Enter valid phone number in phone textbox. 1. User phone number will display.
2. Click on GET OTP button. 2. User should get a otp.
3. Enter the received OTP in the Confirm your mobile number textbox. & click on 3. The user should successfully redirect to next page after
Confirm. entering OTP and clicking on confirm button.
4. Enter the invalid OTP in the Confirm your mobile number textbox. & click on 4. Error message should be displayed in the screen
Confirm. 'Invalid otp'

1. Enter valid phone number in phone textbox. 1. User phone number will display.
2. Click on GET OTP button. 2. User should get a otp
3. Enter the received OTP in the Confirm your mobile number textbox. 3. User entered otp will display.
4. Click on Cancel 4. The cancel button should decline the entered otp and
displqay message as otp is cancelled.

1. Enter a valid mobile number. 1. User phone number will display


2. Click on get otp. 2. User should get a otp
3. If otp is not entered in a valid time period, then click on resend otp. 3. The user should receive new otp after clicking on
resend otp button.

1. Click on Submit Free Ad text button. 1. The user should successfully redirected to the posting
2. Fill out all the mandatory fields in the form. FreeAd_form page.
2. User will asked to fill out all the details.

1. Open the submit freeAd__form 1. FreeAd_form page should open.


2. Enter the char's in Form_Ad title textbox. 2. The user enetered details will display.
3. Enter invalid char's in Form_Ad title textbox. 3. Error message should be displayed in the screen
'Invalid credentials' after clicking on submit button.

1. Open the submit freeAd__form 1. FreeAd_form page should open.


2. Click on category option and enter your category. 2. The user enetered category will display.

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
1. Open the submit freeAd__form 1. FreeAd_form page should open.
2. Enter the numeric digits in Price_Ad textbox 2. The user enetered amount will display.
3. Enter invalid digits in Price_Ad textbox 3. Error message should be displayed in the screen
'Invalid credentials' after clicking on submit button.
1. Open the submit freeAd__form 1. FreeAd_form page should open.
2. Enter the char's in Description_Ad textbox. 2. The user enetered details will display.
3. Enter invalid chars 3. Error message should be displayed in the screen
'Invalid credentials' after clicking on submit button.

1. Open the submit freeAd__form 1. FreeAd_form page should open.


2. Click on upload photo section. 2. The user uploaded photo will display.
3. Click on upload photo with invalid format 3. Error message should be displayed in the screen
'Invalid photo format' after clicking on submit button.

1. Open the submit freeAd__form 1. FreeAd_form page should open.


2. Enter the char's in username textbox. 2. The user enetered details will display.
3. Enter invalid chars. 3. Error message should be displayed in the screen
'Invalid credentials' after clicking on submit button.

1. Open the submit freeAd__form 1. FreeAd_form page should open.


2. Enter the numeric digits in phone textbox. 2. The user enetered details will display.
3. Enter invalid data 3. Error message should be displayed in the screen
'Invalid credentials' after clicking on submit button.

1. Open the submit freeAd__form 1. FreeAd_form page should open.


2. Click on city scrolldown option and choose your city. 2. The user enetered city will display.

1. Open the submit freeAd__form 1. FreeAd_form page should open.


2. Fill out all mandatory fileds in form & click on submit button. 2. The user will successfully redirected to page where user
3. Do not fill all mandatory fileds in form & click on submit button. need to enter received otp & then submit.
3. Error message should be displayed in the screen, 'Fill
out mandatory fields'.

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
©2015 Capgemini. All rights reserved.
The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
Actual Result Iteration 1 Status Actual Result Iteration 2 Status Comments
Iteration 1 (to be updated only if test case Iteration 2
<Describe the actual test result Status of the test case whether failed in Iteration
<Describe 1) test result (to
the actual Newbestatus
updated onlycase
of test if test case
after it
after execution of test cases. In it got passed/ failed/Hold in after execution of test cases failed in Iteration 1)
failed in Iteration 1.
case screenshots need to be interation 1. second time. In case
attached to substantiate the test screenshots need to be attached
result, use the references tab.> to substantiate the test result,
use the references tab.>

1. User logged in successfully. Failed Passed


2 Displayed error message in
the screen 'Invalid user name'
3. Displayed error message in
the screen 'Invalid password'
4. Displayed error message as
'Invalidate credentials"

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
©2015 Capgemini. All rights reserved.
The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
©2015 Capgemini. All rights reserved.
The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
Passed

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
Req: Reference

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
©2015 Capgemini. All rights reserved.
The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
©2015 Capgemini. All rights reserved.
The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
©2015 Capgemini. All rights reserved.
The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
References - Optional

Screen shots

Report Layouts

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2
REVISION HISTORY OF WORK PRODUCT (to be maintained by projects)

# Date Version # Section Changed Details of changes made Approved By

©2015 Capgemini. All rights reserved.


The information contained in this document is proprietary and confidential. For Capgemini only. |
TMT/TD02/TMP 21 January 2016 | Version 1.2

You might also like