| T10 - Automated Test Data Generator |
| Task Description |
To test your application, you often need large random data created in database. This example demonstrates how to use random variables to generate test data for testing.
|
| Solutions |
 |
Record a new task
- Record a task that enters a value in one of the columns in your database for e.g. Microsoft Access
|

Screenshot 1

Screenshot 2
|
 |
Create a random variable
Create a random variable using the Tools->Variable Manager.
You can generate two types of random values in Automation Anywhere
- String - Specify the length of random string you want to generate
- Numbers - Specify the lower and upper range between which you want to generate random numbers. For e.g. to generate random numbers between 4 and 10 you would specify 4 in From and 10 in To.
|
 |
Populate seed data in multiple columns
Open the recorded task in Editor and put a loop of 100 around the keystroke action that enters the value in your database. Replace the recorded keystroke action with a random variable as shown in |
| |
|
|
 |
| We started using this product to copy data from legacy system to new system. Now we use it just to do about anything automated. Countless hours saved. Thank you guys. |
- Jack Greenberg
|
| Read Customer Testimonies >> |
|