Hi Team,
Could you please explain the difference between Variable binding and parameter tab.
Please see the attachment for reference.
and Which one is best supported for Data driven test case.
Regards,
Manish
Difference between Variable Binding and Parameter binding,
-
- Posts: 16
- Joined: Wed Aug 17, 2016 9:26 am
Difference between Variable Binding and Parameter binding,
- Attachments
-
- Ranorex.JPG (46.45 KiB) Viewed 1875 times
Re: Difference between Variable Binding and Parameter binding,
I use the Variable Binding list to bind data values from the Data Source IFF I'm using one to iterate a Test Case multiple times. My Parameters tend to come from the Test Case itself and any parent Test Cases e.g. constants or global parameters.
Sometimes I use a mix of both. I might iterate a Test Case with a set of data, but they might use some common constant from the Test Case or its parents.
Sometimes I use a mix of both. I might iterate a Test Case with a set of data, but they might use some common constant from the Test Case or its parents.
-
- Posts: 254
- Joined: Tue Mar 24, 2015 5:05 pm
- Location: Des Moines, Iowa, USA
Re: Difference between Variable Binding and Parameter binding,
I too would like a full detailed explanation of the expected use. A also agree with Stub's utilization. I tend to direct people to only use the "variable binding" if they plan on creating a data driven test otherwise just use parameters.
I'll also use parameters for environmental/configuration data such as user name & passwords that don't change between iterations, URLs, and whatever else hits me at a given moment.
I'll also use parameters for environmental/configuration data such as user name & passwords that don't change between iterations, URLs, and whatever else hits me at a given moment.
Doug Vaughan
Re: Difference between Variable Binding and Parameter binding,
Actually, the "Variable binding" area is probably misnamed. It is actually the area where you bind variables to a data connector's columns, so it really should be "Data Connector Binding" as opposed to the "Parameters" binding area at the bottom.
A variable is in a module (recording or user-code) and can be bound to either a data connector (using the "Variable bindings" section) or to a parameter (using the bottom "Parameters" section).
A variable is in a module (recording or user-code) and can be bound to either a data connector (using the "Variable bindings" section) or to a parameter (using the bottom "Parameters" section).
Shortcuts usually aren't...
-
- Posts: 254
- Joined: Tue Mar 24, 2015 5:05 pm
- Location: Des Moines, Iowa, USA
Re: Difference between Variable Binding and Parameter binding,
All good points. The way Ranorex uses terminology around "variables" can be very confusing for non-programmers and extremely annoying to experience programmers. I'd like to see some clarification or increased usability around the whole variable binding process. I don't know what it'd look like, but something to think about I guess.krstcs wrote:Actually, the "Variable binding" area is probably misnamed. It is actually the area where you bind variables to a data connector's columns, so it really should be "Data Connector Binding" as opposed to the "Parameters" binding area at the bottom.
A variable is in a module (recording or user-code) and can be bound to either a data connector (using the "Variable bindings" section) or to a parameter (using the bottom "Parameters" section).
Doug Vaughan
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Difference between Variable Binding and Parameter binding,
Hi all,
In order to request a re-work of the variable binding-dialog, I would suggest adding an entry to our UserVoice. This would allow other customers, to vote for your idea.
Thank you for your understanding.
Sincerely,
Matthias
In order to request a re-work of the variable binding-dialog, I would suggest adding an entry to our UserVoice. This would allow other customers, to vote for your idea.
Thank you for your understanding.
Sincerely,
Matthias