Testing Scripts Using the Interactive Reporting Execution Window

You can test scripts you are working on by copying and pasting them into the Interactive Reporting Execution window. For example, instead of closing and reopening a document to test the OnStartup script, copy and paste the script into the Execution window and press Enter. In Interactive Reporting, select View, then Execution Window.

Note:

This example assumes that Sample1.bqy, used in Using a Sample JavaScript Script is open.

  To test a document script without closing and reopening the document:

  1. From Sections, select Dashboard.

  2. Select View, then Execution Window.

    Execution is displayed

  3. Press Ctrl+D to enter Design mode, or click Design Mode icon.

  4. Select File, then Document Scripts to open the script created earlier, and copy and paste the script into the Execution Window.

  5. Press Enter to test that the SalesResults section is displayed.