Specifying a Mix of Random Entries
Automatically Generating Scripts
To limit the entry data to the specified string case during testing:
1. Under Settings, clear the Use random entries, Use mask cases, and Use
string cases check boxes.
2. To save your style changes and close the Edit Data Entry Style dialog box,
Specifying a Mix of Random Entries for a Style
All of the data entry styles that TestFactory provides specify random data entry for
testing controls. The random data used to test controls can include integer values,
float values, and string values.
In the Base style that TestFactory assigns to input-type components in interaction
objects, Use random entries is the only data entry setting selected. If you keep this
style for a component, 100% of the data entry used to test the input control is
randomly generated, with integer values, float values, and string values equally
represented in the mix.
If you use a style other than the Base style, or you create a new style for a UI object
or component, we recommend that you set the percent for Use random entries to
a low value such as 3% as you start running Pilots to test the control. This approach
allows TestFactory to generate a small number of negative test cases during a Pilot
run, but limits the number of defects that script segments are likely to encounter.
Later, you can increase the percent value to uncover more defects.
To modify the mix of random entries for the style, do one or more of the following:
To set the percentage of data entry that is represented by randomly-generated
integer values, float values, and string cases:
Under Settings, enter a percent value in the % box next to
Use random entries.
To exclude a specific type of randomly-generated value from the mix of random
entries, clear the corresponding Integer values, Floating point values, or
String values check box.
To remove random entries from the data entry style entirely, clear the
Use random entries check box.