In some situations, such as the regulated environment, simply indicating pass or fail is not enough information about the outcome of a test case to provide adequate documentation. A customer may select one of the following options for shipping when ordering products. The shipping cost will be based on product price before sales tax and the method of shipment according to the table below. The ordering process cannot continue until the shipping option has been selected and confirmed. The table below shows how the shipping options of an e-commerce application could be independently tested.
Customer accesses secure ordering page.
Customer confirms items in shopping cart, shipping options, and transaction total. Customer accesses secure ordering page. Customer confirms items in shopping cart, shipping options, and transaction total. Specific test data is not embedded in the case. Because in these test cases the items ordered only affect the observed result as a total, not individually.