Parameters of the Name generator
After you add the Name generator in a field of a Data definition, you can customize the existing configurations of the field.
When you click the Name generator of a specific field in the Data definition in the edit branch, the unique parameters of the Name generator that contains the existing configuration details for that field are displayed in the Name dialog.
The following table provides the list of UI elements of the Name dialog with their default parameters, and the actions that you can perform in the dialog to customize the parameters for the selected field:
UI element | Description | Default feature | Action |
---|---|---|---|
The Generator field | Displays the name of the selected generator, that is, Name. | The name is not editable. | NA |
The Distribution field | Determines if the names are randomly generated or not in the corresponding column of the test data. Contains the Random option. | The Random option is selected. |
|
The Duplicates field | Determines if duplicate or unique names are present in the generated data. Contains the Allowed option. | The Allowed option is selected. |
|
The Blank percentage field | Determines the frequency of blank names in the generated data. | Displays 0 and is editable. | Enter a number from 0 to 100. For example, if you enter 10, approximately 10% of the names in the generated data will be blank. |
The Name field | Displays the custom name of the selected configuration. | Displays Default and is editable. | Enter an identifiable name to the selected configuration, if required. |
The Percentage field | Determines the proportion of the generated names when you do not select the Random option. | Editable when Random is not selected. |
If you did not select the Random option for distribution, enter a number from 0 to 100 in the Percentage field to set the percentage of names to be generated. For example, if you enter 50, the generated data will display the names column with a 50% occurrence rate. |
The Title option | Determines whether the generated names include the title. | The Title option is selected. |
|
The First Name option | Determines whether the generated names include the first name. | The First Name option is selected. |
|
The Last Name option | Determines whether the generated names include the last name. | The Last Name option is selected. |
|
The Add new configuration tab | You can add additional name configurations with specific components and settings, if required. |
|
Click the tab and then add the required components for the additional configuration. For example, you can have one configuration for names with titles and another configuration for names without titles. You can similarly customize the values, distribution, and percentage as required. Note: You can click the delete icon to delete any additional configuration that you do not
need.
|
The Save to catalog option | After the customization of the Name generator is complete, you can use the Name generator as the base generator to create a new custom generator. | NA |
Click the Save to catalog icon . You can reuse the same configuration at a later time in different scenarios without having to set it up again from the scratch. See Creating custom generators and categories from Data definitions. |
The preview icon | The preview icon is available for each configuration of a generator. | NA | Click the preview icon to view the sample test data for the selected configuration of a generator. |
The close icon | NA | NA | Click the icon to exit the Name generator dialog. |