How to generate test data in powerdesigner

Source: Internet
Author: User
Tags powerdesigner

After the design table is complete, we need to generate some test data, which can be directly updated to the database. Next let's try:

Step 1: create the required profiles test file, [model] -- [test data profiles ],:

Step 2: Open the Properties window. The following describes in detail.

If you select different data sources, the detail tab is different,

There are three data types: Number, character, and data. Generally, only these three data types are supported.

There are four data sources:

Automatically generate test data for the automatic Automatic Generation of automation;

List generate test data using the Value List of test data

Use ODBC data sources to Generate Test Data

File: use an external file to generate test data, such as an Excel file.

 

Step 3: select the table for which you want to automatically generate data, select a column, and open the attribute,

 

Step 4: Generate Test Data. [database] -- [Generate Test Data]

Number of rows is the number of test records to be generated:

Seelction is used to select which tables need to generate test data.

 

Now, the test data can be completely generated.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.