This topic explains how to configure an automated nightly testing process and reporting.

To automate the nightly testing process:

  1. In the GUI, define the preferences you want to apply across multiple test scenarios.
    • For automated reporting, be sure to define Preferences for E-mail, Reports, Reports> E-mail Notifications, DTP (or the deprecated Team Server).
    • Automated task assignment additionally requires Preferences for Authors, Scope and Authorship, Scope and Authorship> Authorship Mappings.
  2. Define the command line arguments required to achieve your objectives. You can use settings to override the GUI preferences.
    • Use the -report switch to generate a report.
    • Use the -publish switch to send the report to DTP.
  3. Develop a script or batch file to invoke your command line interface commands and perform any additional operations you want to automate.
  4. Use a scheduling utility (such as cron or the Windows scheduling program) to run the test at a specified time each night.


  • No labels