What is a Test Case?
“A test case has components that describes an input, action or event and an expected response, to determine if a feature of an application is working correctly.”
“A test case has components that describes an input, action or event and an expected response, to determine if a feature of an application is working correctly.”
Levels:
There are levels in which each test case will fall in order to avoid duplication efforts. - Level 1: In this level you will write the basic test cases from the available specification and user documentation.
- Level 2: This is the practical stage in which writing test cases depend on actual functional and system flow of the application.
- Level 3: This is the stage in which you will group some test cases and write a test procedure. Test procedure is nothing but a group of small test cases maximum of 10.
- Level 4: Automation of the project. This will minimize human interaction with system and thus QA can focus on current updated functionalities to test rather than remaining busy with regression testing.
Why we write Test Cases?
The basic objective of writing test cases is to validate the testing coverage of the application. If you are working in any CMMi company then you will strictly follow test cases standards. So writing test cases brings some sort of standardization and minimizes the ad-hoc approach in testing.
The basic objective of writing test cases is to validate the testing coverage of the application. If you are working in any CMMi company then you will strictly follow test cases standards. So writing test cases brings some sort of standardization and minimizes the ad-hoc approach in testing.
How to write Test Cases?
there are some fields to write test cases
1. Test Objective
2. Pre-conditions
3. Test data
4. Data base statemnts(SQL/Mysql/any)
5. Test Steps
6. Expected Result
using these feilds u can write but main thing u should understand the Requirement i mean u should under stand the whole Application wat u r going to test then only u can come to know the how to write steps n all.
there are some fields to write test cases
1. Test Objective
2. Pre-conditions
3. Test data
4. Data base statemnts(SQL/Mysql/any)
5. Test Steps
6. Expected Result
using these feilds u can write but main thing u should understand the Requirement i mean u should under stand the whole Application wat u r going to test then only u can come to know the how to write steps n all.