This is a migrated thread and some comments may be shown as answers.

DATA BOUNDED TO TEST SCRIPT IS NOT WORKING WHEN ' INHERITPARENT DATA SOURCE ' OPTION IS SET

1 Answer 8 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sasikanth
Top achievements
Rank 1
Sasikanth asked on 20 Mar 2014, 10:33 PM
Hi, I am new to test studio,I am having a scenario where the child test  script should be able to access the data bounded to the parent test script  along with data bounded to the child test , so for the child script I had enabled the 'inheritparentdatasource' option , but when I am running the child script as a test step from the parent test script , I am getting the error ( Ex : If I am using the field  name 'col1' in the csv bounded to the child test script , then test is getting failed with the following error 'col1' does not exist ), when I am running it individually it's getting passed .Does test studio supports the scenario mention above .If not is there any work around for that . Thanks in advance .

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 25 Mar 2014, 02:27 AM
Hi Sasikanth,

I am sorry but Test Studio doesn't work that way. The data for your test can come from either the parent test or from the data bound to the test. They are mutually exclusive. The only workaround I can think of is to use code to read data and set variables

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Sasikanth
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or