background image
<< Ending the Recording of a GUI Script | Testing Your Recorded Script >>
<< Ending the Recording of a GUI Script | Testing Your Recorded Script >>

Coding a GUI Script Manually

Defining Script Properties
2-23
Defining Script Properties
Script properties include:
The script's name, description, owner, purpose, and test environment.
Related assets such as test requirements.
Notes and specification files.
Custom keywords.
You can define or edit script properties after you record the script.
To define script properties:
1. Do one of the following:
If the script is open, click File
> Properties.
If the script is not open, click File
>
Open > Script. Select the script and
click the Properties button.
2. In the Script Properties dialog box, define the properties.
For detailed information, click Help.
3. Click OK.
If you record over an existing GUI script, you overwrite the script file; however, any
existing properties are applied to the new script.
Coding a GUI Script Manually
By far, the fastest and easiest way to generate a GUI script is to let Robot record your
actions and generate the script automatically. However, you can also manually code
a GUI script using the SQABasic scripting language.
To code a script manually:
1. In Robot, click File
>
New
>
Script.
2. Type a script name (40 characters maximum) and, optionally, a description of the
script.
3. Click GUI.