background image
<< Batch Compiling Scripts | To debug a GUI script >>
<< Batch Compiling Scripts | To debug a GUI script >>
Locating Compilation Errors
Debugging GUI Scripts
5-9
Locating Compilation Errors
During compilation, the Build tab of the Output window displays compilation
results and error messages with line numbers for all scripts and library source files.
To locate compilation errors in the Script window, do one of the following:
Double-click the error or warning in the Build tab. Robot moves the cursor to
the beginning of the line and inserts an X in the left margin or highlights the line.
Click Edit > Next Error or Edit > Previous Error. Robot moves the cursor to
the beginning of the line and inserts an X in the left margin or highlights the line.
Click Edit > Go to Line, type the line number, and click OK. Robot moves the
cursor to the beginning of the line.
Debugging GUI Scripts
Robot includes a complete, built-in debugging environment to assist you during the
development phase of your GUI scripts.
Before you start to debug, you must have an open GUI script. The script can be:
A script that you have just recorded.
A script that you have opened by clicking File > Open > Script.
Build tab shows
compilation results.
NOTE: Robot does not have a debugging environment for virtual user scripts.