Managing the Test Data Panel
Use the Test Data panel to add the test data values. Value types include string, numbers, Boolean, JSON, and null. Following are the options for values when you select String or Number:
- none
- StringEpochToDate
- generateRandomNumber
- generateRandomNumberOfLength
- getCurrentDate
- getFormattedCurrentDate
- generateUUID
- useEmptyString
- getFutureDate
- getFormattedFutureDate
When you select generateRandomNumberOfLength you can decide the number of random digits between 1 and 13 to be generated. The default value is 5.
After you add the test data, you can download the same in Excel for future use. The file naming convention is "TestData-<TestCaseName>". For example, "TestData-Verify Addition Of Standalone Product.xlsx".
- In the Test Data panel, enter the variable name.
- Select the value type from the drop-down list.
- Enter a value.
- Select a function from the drop-down list if required for string and number type of value.
- Click the plus (
) icon to add a new row of test data if required.
- Click Next to proceed with the test step configurations.