- QATestLab Blog >
- QA Basics >
- What Are Use Case Components?
The use case approach is used mostly by the members of development team. Besides that, it can be applied by testers too. Use case testing is such a software testing type that simplifies the procedure of test case creation.
The use case consists of several constituent elements which have their own defined goal. As well as test cases created by the specialists to perform mobile testing or web application testing, use cases have number/identifier, name, the main success scenario and priority.
What Are Use Case Constituents?
- Primary actor – the name of role and its description.
- Preconditions – the system state before the use case is triggered.
- Success and failed end conditions – the system states after completed use case.
- Trigger – the initiator of the use case execution (a particular action).
- Extensions – the description of conditions variations of success scenario. Sub-variations – conditions which do not affect the main scenario.
Use cases also contain the information about time needed for and the frequency of their execution, secondary actors, channels to primary and secondary actors, date due (schedule information), the levels of completeness and open issues (aspects which require further specifying and solving).
Use cases do not define the input data, and testers should select the combinations himself during functional testing. The creation of test cases begins with valid input conditions, and then invalid inputs are carefully and thoroughly checked by the specialist of software testing company.
No Comments Yet!
You can be the one to start a conversation.