Page 1 of 1

Absolute paths in .rxtst files for CSV's

Posted: Tue Jan 22, 2013 2:01 pm
by atam
Hi,

We have a problem when one user adds a new data source. Problem is that all users do not have same path to a trunk in SVN, forcing other users to re-point the correct path to the CSV files.

in the .rxtst file:

prereg_chassis_ids 
</column>
</fallbackcolumns>
<file>
C:\repos\regressiontest\regressiontest-ranorexnew\RegressionTest\RegressionTest\Data\VehicleCommunication\Truck88Tgw2Tea2Plus.csv
</file>
</dataConnector>
</datasources>

Is it possible to use relative paths? This would eliminate the problems, or at least be given the option to use relative paths.

Thanks!

Re: Absolute paths in .rxtst files for CSV's

Posted: Wed Jan 23, 2013 4:16 pm
by Support Team
Hello,

You could use relative paths in the rxtst file.
The example below searches the csv file in a folder 'datasource' in the project folder.
In Ranorex Studio, you only need to use this relative path in 'Manage Data Sources'.

Code: Select all

datasource\datasource.csv
In the rxtst-file it is converted into:

Code: Select all

..\..\datasource\datasource.csv
Regards,
Markus (T)