Page 1 of 1

Creating a Data Connector Vs Data Binding

Posted: Thu Oct 02, 2014 10:45 am
by Fergal
What is the difference between (1) connecting a data source to a Test Case (as outlined in Creating Test Data, Lesson 3, of the Ranorex Test Automation Guide) and (2) Data Binding (Combining Variables with Test Data, Lesson 3)?

From what I can understand, the purpose of both (1) and (2), is to "combine your Excel file with the current test case". Why are both needed?

Thanks!

Re: Creating a Data Connector Vs Data Binding

Posted: Thu Oct 02, 2014 6:44 pm
by krstcs
The Data Connector is what GETS the data from the data source (database, Excel, CSV, or simple data table).

The Data Binding is how you tell Ranorex which fields in the data source go with which variables in your test.


They work together. You need to do both.


Data Source -> Data Connector -> Data Binding -> Test Variable

Re: Creating a Data Connector Vs Data Binding

Posted: Fri Oct 03, 2014 9:27 am
by Fergal
Thanks krstcs, that's exactly the straight-forward explanation I needed!

Re: Creating a Data Connector Vs Data Binding

Posted: Fri Oct 03, 2014 1:13 pm
by krstcs
You're welcome!