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:

  1. Open the Project Tree window if it is not already open.
  2. 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.

  3. Right-click the selected item, and click Show Script, to open the WinWrap Basic Script Editor. Alternatively, click Script Icon in the Details window caption.

    The Script Code window is displayed.

  4. Select the extraction script sheet.
  5. In the Object list, select VerificationPanel.
  6. In the Proc list, select the event you want to use.

    The code for the event is inserted into the code sheet.

  7. Define the script code for the selected event.
  8. Click Close to exit the Script Editor window and save your changes.