During recording or editing, you can insert lines of comment text into a GUI script.
Comments are helpful for documenting and editing scripts. Robot ignores
comments at compile time.
To insert a comment into a script during recording or editing:
1. Do one of the following:
If recording, click the Display GUI Insert Toolbar button on the GUI
If editing, position the pointer in the script and click the Display GUI Insert
Toolbar button on the Standard toolbar.
2. Click the Comment button on the GUI Insert toolbar and then do the
Robot inserts the comment into the script (in green by default) preceded by a
single quotation mark. For example:
'This is a comment in the script
To change lines of text into comments or to uncomment text:
1. Highlight the text.
2. Click Edit > Comment Line or Edit > Uncomment Line.
Inserting Log Messages
During recording or editing, you can insert a log message, description, and result
into a GUI script. During playback, Robot inserts this information into the log. You
can use log messages to document your script for the playback process.
Type a comment
(60 characters maximum).
Click OK to continue
recording or editing.