Description
The FullNameGen Generator generates a full name consisting of a first, middle, and last name with an optional title and suffix. The percentage values in the parameters can be adjusted to include or omit the title, suffix, and middle name.
In This Article
- Generator Parameters
- Example 1 - Generate First and Last Name Only
- Example 2 - Generate Full Name with Middle Spelled Out
- Example 3 - Generate Full Name with Middle Initial
- Example 4 - Generate Full Name with Titles
Generator Parameters
The following parameters may be configured for the FullNameGen Generator. Items with an asterisk* are required.
- prcntTitle* - Defines the percentage of time a title is included. The default is 100.
- prcntFemale* - Defines the percentage of time the first name is female. The default is 50.
- prcntMiddle* - Defines the percentage of time the middle initial is included. The default is 100.
- percntSuffix* - Defines the percentage of time a suffix is included. The default is 100.
- caseType*- Determines how the characters in each name will be cased. The choices are: capitalize, upperCase, or lowerCase.
- sortOrder- Determines the order in which the names will be generated. The choices are: randomize, ascending, or descending.
- seed - Defines an optional seed for randomization. Using the seed ensures that the same random data is generated each time data is generated.
- waitAmount * - Defines the number of iterations the generator should wait before moving on to the next value in the list.
- middleName* - Determines whether to use abbreviated names, male names, female names, or both male and female names for middle names.
- includePeriod* - Determines whether to include the period in the Middle Name. If true, the period will be included.
Example 1 - Generate First and Last Name Only
A tester wants to generate a full name (first and last).
The following parameters have been changed:
- prcntTitle = 0, no title will be generated
- prcntMiddle = 0, no middle name or initial will be generated
- prcntSuffix = 0, no suffixes will be generated
Example 2 - Generate Full Name with Middle Spelled Out
A tester wants to generate a full name with the middle name spelled out.
The following parameters have been changed:
- prcntTitle = 0, no title will be generated
- prcntSuffix = 0, no suffixes will be generated
- middleName = femaleOrMale
Example 3 - Generate Full Name with Middle Initial
A tester wants to generate a full name that includes the middle initial.
The following parameters have been changed:
- prcntTitle = 0, no title will be generated
- prcntSuffix = 0, no suffixes will be generated
- middleName = abbreviated
Example 4 - Generate Full Name with Titles
A tester wants to generate a full name (first and last) with the title.
The following parameters have been changed:
- prcntTitle = 100, a title will be generated each time
- prcntMiddle = 0, a middle name will not be generated
- prcntSuffix = 0, no suffixes will be generated