Table of Contents

Search

  1. Preface
  2. Introduction to Test Data Management
  3. Test Data Manager
  4. Projects
  5. Policies
  6. Data Discovery
  7. Data Subset
  8. Data Masking
  9. Data Masking Techniques and Parameters
  10. Data Generation
  11. Data Generation Techniques and Parameters
  12. Data Sets
  13. Plans and Workflows
  14. Monitor
  15. Reports
  16. ilmcmd
  17. tdwcmd
  18. tdwquery
  19. Data Type Reference
  20. Data Type Reference for Test Data Warehouse
  21. Data Type Reference for Hadoop
  22. 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
    .