Groups
A group defines one or more unrelated tables that you want to copy to a subset database. Create a group to add unrelated tables to a plan, or to copy unfiltered data to a target.
When you add tables to a group, you can include residual tables in the group. A residual table is a table that has not been added to a group or entity. Select residual tables when you want to include all the tables in a source in a data subset plan.
When you edit a group, you can add or remove tables from the group.
You create, edit, and delete groups in the Define view of an application.
Creating a Group
To create a group, select the tables that you want to add to a data subset plan.
1. On the Define | Data Subset view in the project, click Actions > New > Groups.
2. In the Create Group dialog box, enter a name for the group and optional description for the group. Click Next.
3. To select one or more tables for the group, click Add Tables.
4. Optionally, you can filter the list of tables to search for.
5. Click Save.
Editing a Group
You can edit a group to change its description, tables, and tables.
1. In a project, click Define | Data Subset.
The Groups panel shows a list of the groups in the project.
2. Click the group name to open the group.
3. Click Actions > Edit.
The Edit dialog box appears.
4. On the group General tab, edit the group name or the description.
5. On the Tables tab, change the tables in the group.
6. Click Save.
A list of any plans that the group is included in appears. To update the changes in the plans, generate and run the plans again.
7. Optional. To download the list of plans in a .csv file, click Export.
The file contains a list of the plans with the description and the project information.
8. Click Continue.
Copying a Group
You can create a group by copying a group. When you copy a group, Test Data Manager copies the tables in the original group to the new group.
1. Open a project and click Define > Data Subset to view a list of objects in the project.
2. Click a group description to select the group.
Do not open the group.
3. Click Actions > Duplicate.
The Copy <Group Name> dialog box appears.
4. Change the name and description of the group. Click Save.
Exporting a Group
You can export a group to an XML file and import the XML file to another TDM repository.
1. Click Projects to open the Projects view.
A list of projects appears.
2. Open the project that contains the group to export.
3. Click the Define view.
The list of entities, groups, and templates in the project appear.
4. Select group to export.
Use the checkbox to select the entity.
5. Click Actions > Export.
6. Choose the name and path of the XML file to create.
The default name is a string that contains "Group_" and the current date and the time.
7. Click OK.
Importing a Group
You can import a group from an XML file that was exported from another TDM repository.
1. To open the Projects view, click Projects.
2. Click the project description to select a project to import the group into.
Do not open the project.
3. Click Actions > Import.
4. Browse for the XML file that contains the group to import.
The XML file has a default name similar to Group_130315081854.xml.
5. To import the group, click Finish.
Deleting a Group
If you do not use a group in a project, you can delete it.
1. In a project, click Define | Data Subset.
The Groups panel shows a list of the groups in the project.
2. Click a group name to select a group.
Do not open the group.
3. Click Actions > Delete.
4. In the Delete Group message box, click OK.
A list of any plans that the group is included appears. To update the changes in the plans, generate and run the plans again.
5. Optional. To download the list of plans in a .csv file, click Export.
The file contains a list of the plans with the description and the project information.
6. Click Continue.