Testing Life Cycle - Test Case Development
Testing Life Cycle - Test Case Development
Phase Entry Criteria: 1) Requirement Document ho hamaray pas 2) Effort estimation &
Plan
Phase Activities: Preparation of Test Cases
Two types of scenarios
1) Manual Test case 2) Automated Test cases
Test data Preparation also going on with test case development.
Phase Exit Criteria: we will obtain Test Cases, Test Automation scripts, Test data (will be
used in Testing)
Test Case #1
Test Case ID: Search01 (search functionality ka pehla test case hai - ID should be
unique you can add use case with it like searh01)
Description: User can search a book ( a brief description of your test)
Pre-Condition: Search field is available/enabled ( very close condition dekhni hai,
immediate ho)
Post-Condition: User can view books in search results
Test Steps: 1. User Enters a valid book name "Data Mining" in search field ( Must give
valid Book name because it is Test Data, Test case mein test data hota hai... hona chahye )
2. User clicks search button/option.
Test Case#2
Test Case#3
Test ID: Search03
Description: User when wants to search a book can view search field
Pre-Condition: Search Page is available
Post-Condition: User can view the search field
Test Steps: 1. User view search page
Expected Result: Search field is available
Actual Result:
Test Case#4
Test ID: Search04
Description: Search Button Spelling are correct i-e "Search"
Pre-Condition: Search Page is available
Post-Condition: "Search" is written on Search Button
Test Steps: 1. User view search page
2. User views search field
Expected Result: Search button has spelling "Search"
Actual Result:
First three test cases testing functionality, the 4th one is checking spelling only not function.
One use case has more than one test cases.
More can be : Proper message is displayed to user in case no book is found or when incorrect
spelling given these two can also be test cases;
Expected Result will be like, Proper message is displayed to the user " no search results"