Set Up a Script Event for a Folder Field
If you want to add customized behavior for a folder field in Verification, you can add a script event. This script event is executed during Verification depending on how it was scripted. You can set up a folder field script event by following these steps:
- Open the Project Tree window if it is not already open.
-
On the
Project Tree, select the
Project Folder or expand
it and select the desired child folder.
The selected Folder properties are displayed in the Details window.
-
Right-click the selected item, and click
Show Script, to open the WinWrap Basic Script Editor. Alternatively, click
in the Details window caption.
The Script Code window is displayed.
- Select the extraction script sheet.
- In the Object list, select VerificationPanel.
-
In the
Proc list, select the
event you want to use.
The code for the event is inserted into the code sheet.
- Define the script code for the selected event.
- Click Close to exit the Script Editor window and save your changes.