Binding Data to a csv file

Ranorex Spy, Recorder, and Studio.
ghrkus
Posts: 14
Joined: Mon Apr 09, 2012 12:35 pm

Binding Data to a csv file

Post by ghrkus » Fri Jun 22, 2012 10:39 am

Hi

I am unable to Binding Data from a CSV file in a Code Based Test Case(C# code only, Not using recorder).
I am able to Manage Data Source and attach my CSV file to Ranorex and can get data but how to bind those values with the variables using in my code or with the UI elements of my application? Is it possible??

In repository, using Edit Path, I assigned a variable to UI elements of my App but cant bind data from a CSV file to that.

If there is any other proedure or If I am wrong, plz let me know.

thanks,

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

Re: Binding Data to a csv file

Post by Support Team » Fri Jun 22, 2012 10:47 am

Hi,
ghrkus wrote:I am able to Manage Data Source and attach my CSV file to Ranorex and can get data but how to bind those values with the variables using in my code or with the UI elements of my application? Is it possible??
You can add varibables to user your user code modules which can be bound to your data source.
Therefore please have a look at Using Variables with Code Modules.

Regards,
Tobias
Ranorex Team
.
Image

ghrkus
Posts: 14
Joined: Mon Apr 09, 2012 12:35 pm

Re: Binding Data to a csv file

Post by ghrkus » Fri Jun 22, 2012 12:04 pm

Ok.Thanks for your help.