Forum Discussion
dpirs
14 years agoOccasional Contributor
Thanks,
so, how can user specify the test parameter as the operation parameter? I can have an edit box in my form that is used for configuration of my keyword operation where user can enter the test parameter name, whose value should be used as a operation parameter, but how can I get the test parameter value from the code?
I don't know if it is clear. I have one operation parameter, let us say 'UpperLimit'. In the configuraion dialog user can enter the value for the parameter (some number like '5') or enter the name of the test parameter whose value should be used for the 'UpperLimit'. During execution, I have to get the value of the test parameter somehow.
Another example - built in operation 'Compare Properties' has operational parameter 'Value'. Using configuration dialog, user can select the Mode for operation parameter: it can be a 'Constant' or 'Test Parameter'. If user selects the 'Test Parameter' he can select which test parameter is used for 'Value' operational parameter. So if I do the same, I have to access the value of selected 'Test Parameter' in my code during the execution to get its value.
Regards,
Daniel
so, how can user specify the test parameter as the operation parameter? I can have an edit box in my form that is used for configuration of my keyword operation where user can enter the test parameter name, whose value should be used as a operation parameter, but how can I get the test parameter value from the code?
I don't know if it is clear. I have one operation parameter, let us say 'UpperLimit'. In the configuraion dialog user can enter the value for the parameter (some number like '5') or enter the name of the test parameter whose value should be used for the 'UpperLimit'. During execution, I have to get the value of the test parameter somehow.
Another example - built in operation 'Compare Properties' has operational parameter 'Value'. Using configuration dialog, user can select the Mode for operation parameter: it can be a 'Constant' or 'Test Parameter'. If user selects the 'Test Parameter' he can select which test parameter is used for 'Value' operational parameter. So if I do the same, I have to access the value of selected 'Test Parameter' in my code during the execution to get its value.
Regards,
Daniel