background image
<< Coding a Script Manually | Managing Scripts and Sessions >>
<< Coding a Script Manually | Managing Scripts and Sessions >>

How to Define Script Properties in Robot

Recording Sessions
7-22
3. Click OK. Robot creates an empty script with the appropriate scripting language
headers.
4. Add the code to the script.
Creating Library Files for VU Scripts
Scripting language libraries are packaged in DLLs. You create dynamic-link library
(DLL) files using a development tool such as Microsoft Visual Studio. For
information about making the DLLs that you create available to VU scripts, see the
VU Language Reference.
Defining Script Properties
A script can have properties associated with it in addition to the script name.
Examples of script properties include a description of the script, the purpose of the
script, and any test requirements associated with the script.
Defining script properties is an important part of the test planning process. For that
reason, you typically define a script's properties in TestManager before you record
the script. But you can also define a script's properties after you record the script, as
described in the following section.
How to Define Script Properties in Robot
To define properties for a script that is open for editing in Robot, click
File > Properties.
If the script exists but is not open:
1. Click File > Open > Test Script to open the Open Test Script dialog box.
2. Click the script you are defining properties for.
3. Click Properties.
4. Define the script's properties, and then click OK.
For information about the properties that you can define, see the Editing Test Scripts
section of the Rational TestManager User's Guide.