Scenario Method: A method of improving the test result by using the scene to describe the function point or business process of the system. Use-case scenarios to test requirements are those that simulate the boundaries of a particular scene, trigger an action by an event, observe the end result of an event, and use it to identify problems in the requirements. We usually start with the normal use case scenario analysis and then proceed to the other scenario analysis. Scenario law typically consists of basic and alternate streams, starting with a process that describes the process that is determined by the path that passes through, traversing all the basic and alternate streams to complete the scene. The scenario consists of 4 main types: The normal use case scenario, the alternative use case scenario, the exception case scenario, and the hypothetical scenario.
Example: In an online shopping example, the user enters an online shopping site for shopping, purchase items, the online purchase, the need to use the account login, after successful landing, to pay the transaction, the successful transaction, the purchase order, the completion of the entire shopping process.
| Basic flow |
Login to the online shopping website, select the product login payment account, pay the transaction, generate the order form |
| Alternate Stream 1 |
Payment account does not exist |
| Alternate Stream 2 |
Incorrect payment of account or password |
| Alternate Stream 3 |
Insufficient user account balance |
| Alternate Stream 4 |
User Account no Money |
| Alternate Stream X |
User exits the system |
Complete.