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. There's another reason to keep specific data separate from the test case. That is to reduce the amount of maintenance to the test cases should either the test procedure or test data change.