Options for Generating Test Data in a Separate YAML File

Modified on Thu, 7 Aug at 3:07 PM

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 >> Feature File Settings.
    2. In the Feature File Settings, select the Data Decoupling option and click on update.
    3. This will trigger the generation of a separate YAML file.

  2. Data Set Option:
    1. Navigate to the Generate Script screen.
    2. In this screen, you can enable the data set option by selecting the More Menu (3 dots) 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. For the script to be generated click on Generate Scripts.



3.Accessing the Test Data

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

  1. Navigate to the Test Cases and expand the respective Test Case folder to access the YAML file.


A system-generated separate YAML file can be viewed and downloaded from here.




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