Page 1 of 1

Multiple data sources in same test case

Posted: Mon Aug 19, 2019 1:45 pm
by theraviz
Hello,

I have a test case with multiple recordings. For this test case my input needs to be retrieved from 2 different data sources and then pass to the recordings as test data.

Now the issue is I am not able to retrieve data from different data sources at the same time. Only one data source will be working at a time.

Re: Multiple data sources in same test case

Posted: Mon Aug 19, 2019 2:00 pm
by odklizec
Hi,

There is currently no way to use multiple data sources in the same test case/smart folder at the same time. You must either merge the two data sources or somehow redesign your test suite, e.g. by adding a nested Smart Folder, from which will be obtained data from second data connector. Here is how it could look:

Code: Select all

[Test Case] <- data connector 1
|_[Smart Folder] <- data connector 2
    |_recording_a
    |_recording_b
    |_recording_c
However, this approach could be problematic, if either (or both) connector contains multiple rows.

Re: Multiple data sources in same test case

Posted: Mon Aug 19, 2019 2:21 pm
by theraviz
Thank you Sir, yes this is not a feasible way but for the time being it solved my issue. Thanks again :)

Re: Multiple data sources in same test case

Posted: Fri Sep 13, 2019 2:43 pm
by qa-auto
I just ran into this issue also. Great info. Thanks.

Re: Multiple data sources in same test case

Posted: Sun Dec 27, 2020 8:28 am
by theraviz
theraviz wrote:
Mon Aug 19, 2019 1:45 pm
Hello,

I have a test case with multiple recordings. For this test case my input needs to be retrieved from 2 different data sources and then pass to the recordings as test data.

Now the issue is I am not able to retrieve data from different data sources at the same time. Only one data source will be working at a time.