I have a line of code which I will not know the operation name until runtime when the user passes it in via a parameter.
The code example is
this.CodeAcvtivity10.Output.ResultMessage = resultMessage;
The part after Output. (ResultMessage in the example above) is what can change. Is it possible to use a variable in the line of code so it will dynamically run depending on what the user passes into the application. For example, something like below
le = resultMessage;
I hope this makes sense. Basically I'm automating some testing using UFT which is written C# and I have a common component which the users can setup there own input and output parameters. The Output parameter can be called anything so I need a way for the code to write to the output parameter entered by the user. The first code example above will write to an output parameter called 'ResultMessage'