TABLE OF CONTENTS
Data Decoupling Overview
The concept of Data Decoupling in the context of the test case generation involves separating the test data used in test cases from the detailed implementation of the application under test.
When using Data Decoupling option, the data entered by the user will be generated in the Feature File's examples table. If Data Decoupling option is chosen, the user-fed data will be stored in a separate YAML (YML) file.
Accessing Data Decoupling Option
The Data Decoupling option is available in the Project Settings page. To view the test data file, follow the steps:
- Create an offline model for a given scenario, record a scenario, and generate a test case by selecting the Data Decoupling option.
- Selecting the Data Decoupling option
- Navigate to Project Settings Page, choose the Data Decoupling option.
- Click Submit.
- Accessing the Test Data YML file.
- Navigate to the Project Explorer pane, search for your project.
- Expand the Project Name by clicking the plus icon and then expand Test Cases folder to view the Test Data YML file.
- Open the TestData.yml file. Values generated for keys are stored in the TestData File. If any test data value is changed, the details will be updated in this file. Feature Files contain keys, and the corresponding values are stored in the TestData file. Test cases are downloaded and these test cases are used to generate Test Scripts.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article