Absolute paths in .rxtst files for CSV's

Bug reports.
atam
Posts: 15
Joined: Wed Jan 16, 2013 2:58 pm
Contact:

Absolute paths in .rxtst files for CSV's

Post by atam » Tue Jan 22, 2013 2:01 pm

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!

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

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

Post by Support Team » Wed Jan 23, 2013 4:16 pm

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)
.
Image