Suppressing Unbound Variable warning
Posted: Fri Jul 08, 2011 2:05 pm
I created a variable in a Recording Module, not to bind to a data element but to use withing the Recording Module within 2 separate user code steps.
One step sets it to a filename created on the fly and saves the image. The other step calls that filename to put an image in the log.
Is there anyway I can tell Ranorex 3.0.3 that the variable is not meant to be bound? OR do I just have to make it a repository variable. I am shying away from making a repo variable because I only need to use it within a single Recording Module. But I don't want the warning to continue to pop up in my report either.
I guess my other option is make one user code module to do more steps but I would like to know if I have this option first.
Let me know
Thanks
Sierra
One step sets it to a filename created on the fly and saves the image. The other step calls that filename to put an image in the log.
Is there anyway I can tell Ranorex 3.0.3 that the variable is not meant to be bound? OR do I just have to make it a repository variable. I am shying away from making a repo variable because I only need to use it within a single Recording Module. But I don't want the warning to continue to pop up in my report either.
I guess my other option is make one user code module to do more steps but I would like to know if I have this option first.
Let me know
Thanks
Sierra