background image
<< Switching to Low-Level Recording | Coding a GUI Script Manually >>
<< Switching to Low-Level Recording | Coding a GUI Script Manually >>

Ending the Recording of a GUI Script

Recording GUI Scripts
2-22
When you switch to low-level recording mode, Robot does the following:
¾
Records low-level actions in a binary script file that cannot be edited and stores
this file in the project.
¾
Adds a
PlayJrnl
command to your script that references the low-level script
file.
Robot gives each low-level script a consecutive number. These numbers appear in
the Asset pane in the Script window, under Low-Level Scripts.
To view the contents of the low-level
binary file, double-click the file in the Asset
pane. This displays an ASCII version of the binary file in Notepad. The file lists the
actions that occurred during low-level
recording. (For more information, see
Working with Low-Level Scripts on page 5-3.)
Ending the Recording of a GUI Script
You should finish recording by returning the application-under-test to the same state
it was in when recording began. This lets you play back the script without manually
resetting the environment.
If you started recording from the Windows desktop, stop recording at the desktop. If
you started recording from the main window of the application, stop recording at
the main window, making sure that the window is in the same state is was in when
you started recording. For example, if the application is an editor and it had no
documents open when you started recording, make sure that no documents are open
when you stop recording.
To end the recording of a script, click the Stop Recording button on the GUI
Record toolbar.
Low-level
script 001in
project
PlayJrnl command
referencing
low-level script 001