|
Below is a screen shot of Smartware
Mortgage, a sample GUI application which is included on the SmartTest installation CD.
This application has many fields, buttons,
etc that are found in typical GUI applications.

Smartware Mortgage (sample GUI
application)
The fields and values in Smartware Mortgage can easily be
entered into SmartTest. Below is a screen shot of the SmartTest test input
tab. Notice that each field in Smartware Mortgage is a parameter, and the
selections for the fields are the values. For example, Employment Status
is a parameter and in the GUI, the combo box has values 'Employed',
'Self-Employed', and 'Unemployed'. The parameter is shown as the column
header and the values for that parameter are entered below it in the column.
For text fields you need to create data as you normally would. Below you
can see how a few of the fields and values are entered.

GUI fields and values are entered
directly into SmartTest on the Input
tab.
Like all applications, SmartWare Mortgage
has a few business rules (or requirements). The business rules are as follows:
- Primary Applicant Age must be at least
21, and if employed the primary applicant age must be less than 65.
- Primary Applicant must be employed at
least 12 months if Self-Employed.
- Primary Applicant must be employed at
least 6 months for regular employment.
- If unemployed then deny application.
- Credit score must be greater then 550 for
loan approval.
- If property type is commercial then deny
application.
- Appraised value must be less than or
equal to $1,000,000
- Appraised value must be at least $100,000
- Loan Amount Requested must be less or
equal to 85% of Purchase Price
- Loan amount must be greater than $300,000
for 30 yr Jumbo and 5/1 ARM Jumbo
- If Single applicant, approved amount =
yearly income x 3.25
- If Joint application, approved amount =
2.75 x Joint Income.
These requirements can be entered in the Rules tab (shown
below). You can see how some of the above rules appear
after being entered into SmartTest.

Smartware Mortgage rules in the Rules tab.
The rules shown in the screen shot above we entered with
the Rules Builder (shown below). Rules can be entered manually by typing
them in or by clicking on the appropriate parameters, operators and values in
the Rules Builder to have the rules automatically built for you.

A parameter called “Expected Results” is
automatically generated for each test. With this parameter the Expected results
for each test row can be entered in the rules builder as shown in the following
example. Whenever a certain condition is true (or false) for a particular row,
an action can be created to write whatever text you want in the Expected Results
parameter. Any test meeting that condition will have the specified Expected
Result for that row. For example, the Smartware Mortgage expected results for a
row in which the Primary Applicant Age is 20 (violating business rule #1), the
expected results might be “Loan Application Denied”.
See the generated test cases and the traceability matrix on
the next page. NEXT--->
|