Thursday, August 21, 2014

Usecase Test Scenorio and Test Cases

Usecase:
The functions performed by different entities(Customer, Staff, Manager) is mentioned in Usecase. a) Staff enters customer information .
1. Use case:
It will be developed by Business Analyst based on the requirement specification.
It is a detailed description of the Specification in a simplified version with realtime scenarios.
Based on Use case, test cases will be written by the testers.

Test Scenario:
Test cases are written based on scenario. Test scenarios are very brief.
a)Staff enters customer information
b)Customer returns a book
While writing a test case for a module, you write different tests for that module say, Creating a user.
There may be several ways to create a user like, creating a user thru wizard or thru uploading set of users.
These are all the things we can call as a scenario. This is the literal meaning.

Test Cases:
Test cases are derived from scenarios. They are step by step instructions. They are very detailed and also contains actual results and expected results along with other fields
a. Enter customer information(Name, address, ph no)
b. Click on save.

What are all the steps we should follow for creating a user using a wizard and
What are all the steps we should follow for creating a user using upload are called as test case.

Use Case:
Use case are the documents that are made by the business analyst. In this document business analyst describes all the requirements on the basis of business needs.
Test scenario:
Test scenario specify all the functionality of the application that need to be tested
Test Case:
Test case specify all the steps that are need to test the functionality
Test Suite:
Group of test cases are called test suite.

Requirement : It is the changing need of the stakeholders which is tried to fulfill by the development team at the time of developing the product
Use case : After the requirements are clear, then the use cases can be designed/decided which will clear the overall flow of the system to developers first and then they can design the system accordingly. Once the flow is clear to them, then it becomes somehow simple to test the system by QA.
Scenario : It is the real life situation in which the end-user/customer uses/interacts with the system and came across various failures(if there are any). Hence we generally used to say Real world scenario.
Example: For a particular project the requirements are first being made clear by the Business Analyst. In the documentation and SRS part the Use cases can be found out and the development tasks can be alloted to various developers according to that. When user uses the system, then it becomes a scenario.

Test Case: A software test case is a set of steps and expected results used to test an application. It is created from the software requirements. Well-written test cases can make the testing cycle smooth and efficient. It is imperative to write clear, understandable test cases that can be run against new functionality and regression testing, as well. A good test case is easy to run, consistent in the time it takes to run, and it is easy to maintain. 

Use Case: In software engineering, a use case is a technique for capturing the potential 
requirements of a new system or software change. Each use case provides one or more scenarios that convey how the system should interact with the end user or 
another system to achieve a specific business goal. Use cases typically avoid 
technical jargon, preferring instead the language of the end user or domain expert. 
Use cases are often co-authored by Business Analysts and end users.

2 comments:




  1. This post will be very useful to us....i like your blog and helpful to me....nice thoughts for your great work...
    Software Estimation Techniques Training in Chennai

    ReplyDelete