Data Driven Testing - Use of different input for each test

Ask general questions here.
karthikprs
Posts: 6
Joined: Wed Jul 12, 2017 11:25 am

Data Driven Testing - Use of different input for each test

Post by karthikprs » Fri Sep 01, 2017 10:13 am

Hi,

I have a excel / CSV file which contains the input data directory location for each test.
For example:
ColTestID ColFolderLocation
TC_Sw_0101 C:\TestInput\Input\TC1
I connected this Excel data in the ranorex test case and bound it to a variable.Now, Ranorex runs the single test which is connected with this data source for several iterations. But, I would like to set it in such a way that each test takes input for the test input location from the excel file.

Is it possible to create a variable to a test suite and bind the data source to the whole test suite.
Please help on this issue.

Thank you,
Karthik

McTurtle
Posts: 191
Joined: Thu Feb 23, 2017 10:37 am
Location: Benedikt, Slovenia

Re: Data Driven Testing - Use of different input for each test

Post by McTurtle » Tue Sep 05, 2017 12:44 pm

Hello Karthik,

I am afraid that the issue is not entirely clear from your post. Could you please describe your issue in more detail with screenshots and attach the compressed Ranorex solution to your next post?

If I understand you correctly, you have one data source that has only the path to a folder. In this folder there is all the other input information for the respective test case. Why not have the information in the 1st data source instead of referring to some folder that contains the information?

Regards,
McTurtle