Sie sind auf Seite 1von 3

7.

2 Test Designs
Today, software testing has become very systematic and standard testing techniques are available. Testing activity has also become all-encompassing in the sense that test cases are being developed right from the requirements specification stage. The developer has decided to design the test cases in design phase. The following diagram represents the format of unit testing that will be used to test. Project Title Test Case Name Conducted By Description Online Case tool for code generation for WebML Name of the test case Developer Description of the test case. MODULE EXECUTION No Steps (Inputs Module) Result Expected to The developers expectations from the testing Outputs from Module Actual output provided by System Result (Pass/Fail) Corrective Actions Date Test ID Mention the date T01

Serial No.

Steps to be executed by tester

Whether the test Actions to be taken if actual output fails or pass doesnt meet expectations.

Conclusion: Whether after corrective actions module works fine or not? The developer has decided to provide following test-cases:1. Login- It is for user authentication through username & password. 2. Register-Storing user details, so that user can login into the system. 3. Home page- Users can find different entities through which they can generate various models of the different web sites. 4. Hypertext model: The option is provided for creating a hypertext model. 5. Structural Model - The option is provided for creating a hypertext model. 6. Save Code: User can click the save button and get the XML code generated.

TEST CASE - 1
Project Title Test Case Name Description No Steps Online Case tool for code generation for WebML Login Testing Date Test Case ID 27/02/2013 CTCGWM01

This module deals with user authentication through username & password. Result Expected Corrective Actions Not Required

Outputs Result from (Pass/Fail) Module 1.1 1. Run the system System should System Pass 2. Fill the username= open login screen, must open admin & password = It must take home page 12345 username & 3. click submit button password to login & if username & password matches in the database then open home page. 1.2 Run the system User should get User get sql Fail Fill the blanks in username, message that please query error password provide username that query click submit button & password contains blank field related error Conclusion: After all corrective actions, the module worked correctly.

Exception handling will be provided to handle blanks and proper error message will be shown.

Project Title Test Case Name Description No 2.1

Online Case tool for code generation for WebML Hypertext Model

Testing Date Test Case ID

27/02/2013 CTCGWM02

This module deals with user registration for logging into the system to Result Expected Outputs from Module Result (Pass/Fail) Pass Corrective Actions Not Required

Steps (Inputs Module) Select Module.

Registration System should Registration open user screen opened registration screen

2.2

Enter following User should be New user registered added informations successfully successfully User Name = admin@gmail.com First Name = Anuja Last Name = Sharma Password = 12345 & other details Enter same login name System should display User for different user already exists Login Name = admin First Name = abc Last Name = xyz Password = 23456

Pass

Not Required

2.3

System Fail displayed New user added successfully

The username must be a primary key in the database and exception handling must be provided to handle same username in the primary key.

Conclusion: After all corrective actions, the module worked correctly.