Monday, 17 May 2021

Test Case-1

Test Case Id:

TCLogin1

Test Case Name:

Test case for Login

Pre-Requisites:

Browser should be open with url: http://localhost/Archana/loginForm.html

Step No.

Steps to be executed

Expected Result

Actual Result

Pass/Fail

Remarks

Defect ID

1.

Enter a valid Username and click on Password field E.g. Enter “admin”

Valid user entered

Cursor should be transferred to the Password field.

Pass

Valid Username is checked

NIIL

2.

Type a right password in the field and click on Submit. E.g. “admin”

Valid Password entered

Focus should be transferred to submit button

Pass

Valid Password is checked

NIIL

3.

Enter special character “-, _, /” E.g. “admin_s”

Not allowing username

Cursor should be transferred to password field

Pass

Special characters are checked

NIIL

4

 

Enter any special character other than “-, _’ /”

Eg:-Enter “admin,1”

Invalid username entered message should be displayed.

Invalid username entered  message should be displayed

pass

Special characters other than -,_,/ are checked

NIL

4.

Click on cancel button

Current page should be close on when click on OK

Current tab closes on click on close

Pass

Cancel button operation is checked

NIIL