background image
<< Viewing a Baseline File | Deleting a Verification Point >>
<< Viewing a Baseline File | Deleting a Verification Point >>
Renaming a Verification Point
Editing a Verification Point
4-25
Renaming a Verification Point
Renaming a verification point involves two tasks:
þ
Renaming the verification point in the Asset pane, which renames the
verification point and its associated files in the project.
þ
Renaming all references to that verification point in the script.
When you rename a verification point in the Asset pane, Robot does not
automatically rename references to it in the script. If you play back a script that
refers to a verification point with a name that is not in the Asset pane (and therefore
not in the project), the verification point and script will fail.
To rename a verification point and its associated files:
1. Right-click the verification point name in the Asset (left) pane and click
Rename.
2. Type the new name and press
ENTER
.
3. Click the top of the script in the Script (right) pane.
4. Click Edit > Replace.
5. Type the old name in the Find what box. Type the new name in the Replace
with box.
6. Click Replace All.
Copying a Verification Point
You can copy a verification point into the same script or into another script in the
same project. Copying a verification point involves two tasks:
þ
Copying the verification point name in the Asset pane in one script, and pasting
it into the Asset pane in the same script or a different script. This puts a copy of
the verification point and its associated files in the project.
þ
Copying the verification point command from the script and pasting it into the
same script or a different script.
If you rename
the verification
point in the
Asset pane ...
... you also need
to rename
references to it
in the script.