background image
<< Specifying a Required String Case | The StringCases dialog box >>
<< Specifying a Required String Case | The StringCases dialog box >>

Specifying the Entry Data

Automatically Generating Scripts
5-52
2. Change the values for the following Pilot properties to No:
UseStringCases
UseMaskCases
UseIntegerValues
UseFloatValues
UseStringValues
Specifying the Entry Data Used to Test Input Controls
In addition to the RequiredStringCase property, UI objects and components that
represent input controls have several Pilot properties that you can modify to specify
the entry data used to test an input control. These Pilot properties parallel the data
entry settings in the Edit Data Entry Style dialog box.
If you change the Pilot properties values for a UI object to which you have assigned
a data entry style, the changes are applied as overrides of the selected style. If you
open the Edit Data Entry Style dialog box after you change the Pilot properties in the
Property List dialog box, you can see that the data entry settings reflect the changes
you made to the Pilot properties.
If you change the values of Pilot properties for a UI object that has no data entry style,
and you later assign a style to that UI object, the data entry settings of the assigned
style override the changes that you made to the Pilot properties.
If you change data entry settings for a component by changing the values of Pilot
properties in the Property List dialog box, the changes are applied as overrides of the
selected style for the component. If you open the Edit Data Entry Style dialog box
after you change the Pilot properties in the Property List dialog box, you can see that
the data entry settings reflect the changes to the Pilot properties.
Specifying String Cases to Use During Testing
To specify string cases used to test an input control, you can use the StringCases
property. During a Pilot run, TestFactory randomly enters one of the string cases in
the input control.
To specify string cases for a UI object or component:
1. In the Properties view or Property List dialog box, expand the Pilot
properties group.
2. If the value for UseStringCases is set to No, change the value to Yes.
3. To open the StringCases dialog box, double-click the Value field for
StringCases.