Anshul Gupta
Answered On : Sep 22nd, 2011
Hi krishna, I m explaining it with the functionality of the OK button for login.
"test case ID number" : TC1
"test case name" : Login module for OK button
"test objective" : To check the functionality of OK button
"test conditions/setup : Login page should be opened (it is a precondition as well)
"input data requirements/steps: 1. enter the correct user name in "user name" field.
2. enter the correct password in "password" field.
3. click on "OK" button.
"expected results" : user should be able to log in with correct user name and password .
Note: in the same way we can write other test cases as well for the buttons like "cancel", "reset" etc to check the functionality of them. These are usually appeared on the login page hence I just took these as the example.
hope it will helps

1 User has rated as useful.
Login to rate this answer.