Issue with execution when Data Source is from parent

Bug reports.
solovengo
Posts: 24
Joined: Mon Dec 19, 2011 8:14 pm

Issue with execution when Data Source is from parent

Post by solovengo » Fri May 31, 2013 11:03 pm

Hello,
I am encountering an issue with Data Binding when the Data Source I want to bind with is in the parent test case.

MY SCENARIO: I have TestCase_1 with a Data Source. And there are recordings that are bound to that Data Source. Then I also have a nested TestCase_1_1 within it that has its own Data Source also. The recordings in this nested TestCase_1_1 bind to its own Data Source, and also bind to the parent's Data Source in TestCase_1. Is this ok to do? I am presuming that it is ok because the Data Binding dialog allows me to bind the variables in TestCase_1 to the columns in the Data Source of TestCase_1_1.

However, when I right click on TestCase_1_1 and select "Run Selected Test Case", it fails with the error:
"The column 'abc.xyz' does not exist in any data source"

The column in the error message is from TestCase_1 Data Source.

Is this a limitation when running a nested test case using "Run Selected Test Case"?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Issue with execution when Data Source is from parent

Post by Support Team » Tue Jun 04, 2013 2:03 pm

Hello,

Yes, it is okay to bind the variables of a nested module to a parent test case.

This is some kind of a limitation since the data source connector of the parent test case, where the values are stored, are not loaded if you just execute the specific child test case.

Regards,
Markus
.
Image