Page 1 of 1

Binding Data to a csv file

Posted: Fri Jun 22, 2012 10:39 am
by ghrkus
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,

Re: Binding Data to a csv file

Posted: Fri Jun 22, 2012 10:47 am
by Support Team
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

Re: Binding Data to a csv file

Posted: Fri Jun 22, 2012 12:04 pm
by ghrkus
Ok.Thanks for your help.