Table of Contents

Search

  1. Preface
  2. Introduction to Test Data Management
  3. Test Data Manager
  4. Projects
  5. Policies
  6. Data Discovery
  7. Creating a Data Subset
  8. Performing a Data Masking Operation
  9. Data Masking Techniques and Parameters
  10. Data Generation
  11. Data Generation Techniques and Parameters
  12. Working with Test Data Warehouse
  13. Analyzing Test Data with Data Coverage
  14. Plans and Workflows
  15. Monitor
  16. Reports
  17. ilmcmd
  18. tdwcmd
  19. tdwquery
  20. Appendix A: Data Type Reference
  21. Appendix B: Data Type Reference for Test Data Warehouse
  22. Appendix C: Data Type Reference for Hadoop
  23. Appendix D: Glossary

Applying Data Generation Rules to XML Elements and Attributes

Applying Data Generation Rules to XML Elements and Attributes

Apply data generation rules to XML elements and attributes to generate test data in an XML file.
  1. In a project, click
    Discover
    Files
    .
    A list of XSD files in the project appears.
  2. Click the XSD file.
    The XSD file opens in a separate tab.
  3. Select the elements and attributes on which you want to apply the generation rule.
  4. In the
    Details
    pane, click
    Edit
    in the
    Data Generation
    section.
  5. Assign a data generation rule to the selected element or attribute. You can also create and assign an ad hoc generation rule.
    The following image shows a sample data generation rule assignment to an XML element:
    The Edit dialog box shows the Data Generation tab. A list of applicable data generation rules are displayed.
  6. To save the assignment, click
    OK
    .
  7. To assign default rules to multiple objects, click
    Default Assignment
    .
  8. To clear rule assignments, click
    Clear Assignment
    .
  9. If you select a link between the attributes or elements, click
    Edit
    from the
    General Properties
    section. Enter the minimum and maximum number of child records, and click
    OK
    .
    If you specify the range of child records for each link, TDM prioritizes the parent child ratio configured at the individual relationship level over the plan-level configuration.

0 COMMENTS

We’d like to hear from you!