How to link test data to Smart folders and respective tests

Ask general questions here.
tejas.deshpande
Posts: 32
Joined: Fri May 20, 2016 9:43 am

How to link test data to Smart folders and respective tests

Post by tejas.deshpande » Thu Mar 01, 2018 9:38 am

Following is my test suite structure:

Smart Folder
-Test Case 1
-Test Case 2
-Test Case 3

I could link a data source to the smart folder.
How do I bind the variables in the respective test cases to the data source linked to the smart folder?

I cannot use global variables since I have multiple smart folders and multiple cases under them requiring different test data.

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: How to link test data to Smart folders and respective tests

Post by krstcs » Thu Mar 01, 2018 5:12 pm

In order to bind the data source in the smart folder to the test cases, all of the test cases must be children of the smart folder. Then you would need to right-click on each test case and select Data Binding and bind the data from there (the top half of the data bind screen is for data sources, the bottom is for parameters, either test case or global).
Shortcuts usually aren't...