Data binding at recording module level
Posted: Tue Aug 12, 2014 12:24 pm
Hi,
I have global parameters and recording level parameters for my repositories and recordings.
I bind the variables to global variables by right clicking Data Binding on my recordings.
When I put my recording inside a test case and call test case from the console, everything is ok, parameters are used. But If I call it from directly as a module using the mo: option with the following command
myexe /pa:varClient=john27 /pa:bType=Chrome /mo:Login
it is not working, in the console it gives the following error
The following module variables are not bound to a data column:
varClient, bType
When I right click on Data Binding on my recording , it shows all variables are bound in "Parameters" panel -lower side of Data Binding tab-.
but in same window,variable Binding in-upper side of Data Binding tab- I see that variable binding panel is empty (shows no entry in Data Column and Module Variable columns)
I mean they are realy not bound to a data column (only bound in Parameters panel)
You can see it in ten screenshot I send.
Also I get confused at one point that, as shown in page http://www.ranorex.com/support/user-gui ... dules.html
If there is not a binding for my module-variables, why it is working fine when I call test cases instead of modules from the console ??
How can I succesfuly bind my varibles and call my modules with parameter from the console ? How can I achieve this ?
PS:When I have put it inside any test case and bind variables again, still not working using mo, only works if I call the tc.
I am sending a screenshot for my variales
Thanks.
I have global parameters and recording level parameters for my repositories and recordings.
I bind the variables to global variables by right clicking Data Binding on my recordings.
When I put my recording inside a test case and call test case from the console, everything is ok, parameters are used. But If I call it from directly as a module using the mo: option with the following command
myexe /pa:varClient=john27 /pa:bType=Chrome /mo:Login
it is not working, in the console it gives the following error
The following module variables are not bound to a data column:
varClient, bType
When I right click on Data Binding on my recording , it shows all variables are bound in "Parameters" panel -lower side of Data Binding tab-.
but in same window,variable Binding in-upper side of Data Binding tab- I see that variable binding panel is empty (shows no entry in Data Column and Module Variable columns)
I mean they are realy not bound to a data column (only bound in Parameters panel)
You can see it in ten screenshot I send.
Also I get confused at one point that, as shown in page http://www.ranorex.com/support/user-gui ... dules.html
If there is not a binding for my module-variables, why it is working fine when I call test cases instead of modules from the console ??
How can I succesfuly bind my varibles and call my modules with parameter from the console ? How can I achieve this ?
PS:When I have put it inside any test case and bind variables again, still not working using mo, only works if I call the tc.
I am sending a screenshot for my variales
Thanks.