Академический Документы
Профессиональный Документы
Культура Документы
Scenario Number: S2
T2 IRA (Individual Retirement Account) Savings Account,
Business Scenario depositor < 70 1/2 years old
Type:
Prerequisite Test C6
Case Numbers:
C9
C5
C18
C19
C20
C21
C22
TEST SCRIPT
later include various test conditions. The business scenario types are identified uniquely using a T and
consecutive numbers.
T4 IRA Timed Deposit - depositor is 59 1/2 years old - term deposit within
91 days through 10 years
T5 IRA Timed Deposit - depositor is less than 59 1/2 years old - term
deposit within 91 days through one year
T6 IRA Timed Deposit - depositor is less than 59 1/2 years old - term
deposit > one year < or = two years
T7 IRA Timed Deposit - depositor is less than 59 1/2 years old - term
deposit > two years < or = 10 years
Identifying Business Scenario Types
One method of identifying the business scenario types to supplement the customer's list (or create it, if none is
supplied), is to determine the business scenario types using a table. First, identify important scenario headings,
(e.g., IRA (Individual Retirement Account) Savings Account and IRA Timed Deposit). Then, add further
important characteristics, (e.g., age and term of deposit).
A test case includes a condition required to test the requirement, including the type of test data
required to create the condition, and the expected result. Each test case is uniquely identified,
(e.g., assigned a number).
Use the Traceability Matrix to identify the requirements and their source. To create the test case,
first use the applicable specification, such as the Functional Design Specification, to identify the
conditions to test. For example, consider the requirement that each new applicant must be
screened to determine if they are already known to the customer's business. The Functional
Design Specification identifies a function called Verify New Applicant. The conditions to test
within the function are:
For the condition new applicant applies for a new account, the expected result is the person is
identified as one who is not known to the system. The condition and expected result compose
the test case. For this particular requirement there are three test cases, one for each condition.
Use the Black-Box Testing technique to assist with the development of the test cases. Consider the
following principles when developing the test cases:
• The optimum test case is one with the highest chance of detecting an error.
• Prepare test cases for invalid and unexpected situations as well as valid and
expected ones.
• Define separate test cases to satisfy each test objective to ensure that the
purpose of the test is not confused. For example, define functional test cases separate
from performance test cases.
Define test cases to test the access of and error handling for data and processes distributed
across the network. Define test cases to test the synchronization of updates to data distributed
across the network. Consider the complexities added by a graphical user interface environment
and define test cases to test the ability of the application to manage such things as multiple open
windows.
A sample illustrates the process of defining test cases for each requirement. A template can be
used for the creation of the test cases.
The test process encompasses a number of areas. Create test cases for each of the areas. The
testing of the business processes and functionality is the focal point of the test, therefore, many of
the areas are tested with the functionality.
For example, interface testing is incorporated into the testing of the functionality. Process testing,
which ensures that edits, calculations, and database updates are performed correctly, is a by-
product of functionality testing. Conversion is tested as a function, though it is not a function that
will be needed after the system is fully implemented. Security is tested by incorporating security
levels into the test case conditions where it is applicable. Human Interface and Usability testing
are evaluated while the functionality is tested, but need to have identifiable test cases. Standard
human interface and usability tests may be added to each scenario, (e.g., for human interface
testing, a standard test is an access key is assigned for each function available through a mouse
key, and for usability testing, a standard test is edit messages explain the cause of the error).
The use and evaluation of documentation, such as user aids, and the use of forms is also
incorporated into the testing of the functionality. Performance is tested by monitoring response
times while functionality is being tested.
Volume testing, stress testing, storage testing, and recovery testing are conducted separately
from the functionality testing. Test cases are created for these tests, but they are not
incorporated into the business scenarios.
Use the Traceability Matrix to cross reference the requirements to the test cases to ensure each
requirement is addressed. Add a column to a copy of the matrix and identify the test case for
each requirement by number or name. Complete the matrix as test cases are created.