Options for Generating Test Data in a Separate YAML File

Modified on Fri, 21 Jun at 11:09 AM

TABLE OF CONTENTS

            1. Overview

            2. Options for Generating Test Data in an API Test Automation Process

            3. Accessing the Test Data

1.Overview

This article explains how to generate test data in a separate YAML file using different options.


2.Options for Generating Test Data in an API Test Automation Process

  1. Data Decoupling Option:
    1. Navigate to the Settings page by clicking on Settings button in the Side Panel window.
    2. In the Settings page, select the Data Decoupling option.
    3. This will trigger the generation of a separate YAML file.

  2. Data Set Option:
    1. Navigate to the Generate Scripts screen by clicking the Generate Scripts button in the Side Panel window.
    2. In this screen, you can enable the data set option by selecting the More Menu option corresponding to the Request Name.
    3. Upon selecting the data set option for the first time, a YAML file will be generated automatically.

  3. Upload Data Set Option:
    1. If you have an existing data set, upload it onto the Platform using the Upload option, the test data values will be generated in a separate YAML file.
    2. To access Upload option, in the Generate Script screen, select the More Menu corresponding to the Request Name. 

3.Accessing the Test Data

Upon generating test data in a separate YAML file, perform the following:

  1. Navigate to the Project Directory folder in the left pane and expand the Test Cases folder to access the YAML file, as shown:


A system-generated separate YAML file is as shown in the following screenshot: 




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article