is it possible to display a variable's value into a comment (e.g. by some escape characters)?
I'm referring to the comments from the recordings, which are displayed in console when running projects
All the best,
D.
variable (value) in comment
Re: variable (value) in comment
I'm a little confused... Are you asking about (A) displaying variable values in the resulting ranorex report?
Or literally, (B) variable values in the comments in the code?
If A, something like this:
If B, well then... I'm not sure what that would mean... Since you only see comments when modifying the code and/or debugging. In which case you would have a look at the variable for its value.
Or literally, (B) variable values in the comments in the code?
If A, something like this:
Code: Select all
Report.Info("** My Report Comment: " + MyVariable + ".");
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...
Re: variable (value) in comment
HI Ciege,
and thank you for your reply!
It's (A) - only that is related to the recorder view comments (in the report I'd like to get the value); hence no code.
Please see the screenshot I've attached.
All the best,
D.
and thank you for your reply!
It's (A) - only that is related to the recorder view comments (in the report I'd like to get the value); hence no code.
Please see the screenshot I've attached.
All the best,
D.
You do not have the required permissions to view the files attached to this post.
Re: variable (value) in comment
ha ha... if I convert the recording to user code - I can use your example 

Re: variable (value) in comment
So is that you did and are you all working as expected now?dman wrote:ha ha... if I convert the recording to user code - I can use your example
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...
Re: variable (value) in comment
sure it works - once the matter goes to code, anything is possible 
thanx man!
D.

thanx man!
D.