Friday, January 22, 2010

How to write test case for creating user,updating and deleting user?

A test case should have the following items in it:


1) Initial condition


2) Steps to execute


3) Expected results





In order to write a test cases to create a user, you will need to specify the items above:


1) Initial condition: Anything that needs to be done before the test case can be executed e.g. navigation to a particular part of the application


2) Steps to execute: The steps needed to create a user e.g. Click the button labeled ';Create New User';. Specify the user's name and so on.


3) Expected results: The results expected after executing the test case e.g. New user appears in the users list etc.





Similarly, you can create test cases for updating the user and deleting it.





Hope this helps!


Inder P SinghHow to write test case for creating user,updating and deleting user?
it easy

No comments:

Post a Comment