Adding test results automatically

Rather than manually adding test results to a repository, you can have TestArchitect store them automatically, based on pre-defined conditions.

Important: Note that, if you add test results to the repository automatically, all unverified picture checks will be totally discarded. Whereas, adding test results to the repository manually preserves all picture checks.
Perform the following steps:
  1. Select the test module you want to execute.
    Note: The test module can be executed normally, in a serial run, or from another test module using the run test built-in action.
  2. Click Execute on the toolbar. The Execute Test dialog box appears.
  3. Click the Advanced Setting tab.
  4. Select the Automatically add result(s) to repository check box.
  5. Specify which types of test results are to be automatically stored to the repository after execution completes.
    • By result: Limit the results stored to the repository in accordance with the following check box selections:
      • Passed: Passed test results are stored.
      • Passed with Warnings/Errors: Passed test results with warnings/errors status are stored.
      • Failed: Failed test results are stored.
      • Passed with known bug: Test results which passed, but with marked known bugs whose outcomes have been ignored, are stored.
    Tip: If you select more than one check box, the conditions will be OR'd together. For example, by selecting the Passed and Passed with Warnings/Errors check boxes, the repository receives all the results with Passed and Passed with Warnings/Errors outcomes, and no others.


  6. Click next to the Select a repository destination field to specify where the test results are to be stored. The Select a Destination dialog box appears.
  7. Select a location, and then click OK.
  8. Click Execute to begin the execution. The selected test modules are executed. Once execution completes, the test results that match the specified conditions are automatically stored to the specified repository location.

When generating a batch file, the above selected conditions are written as new parameters (see Executing tests from the command line for details).

The two parameters, /uploadresultcond and /uploadresulttorepos, are written to the batch file in a manner similar to the following:

Note:
  • If no result conditions are specified, the /uploadresultcond parameter is not written to the batch file.
  • In the batch file, the selected conditions are specified as a comma-delimited list, e.g., /uploadresultcond "Passed, Passed with Warnings/Errors".
Important: Note that, if you add test results to the repository automatically, all unverified picture checks will be totally discarded. Whereas, adding test results to the repository manually preserves all picture checks.