Testing black box test Case Design Method (Scene method)

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.