Skip to main content

Command: Export Test Script

Function: The command exports one or more test scripts as files to a folder in the file system. You can use the Install Test Script command to take over the exported test scripts into another test repository or into the same one.

Call: Context menu of a test script in the Test Manager view, Test Scripts tab

Requirement: One or more test scripts from the same test repository are selected on the Test Scripts tab.

. Sequence
  1. The standard Find Folder dialog is displayed. The folder to which you last exported is preselected.

  2. Select the target folder and click OK.

  3. Each selected test script is written as a file to the target folder.

The version which is displayed on the Test Scripts tab is exported. The file name has the scheme <Name><Version>.tsd.xml. The name is the full name of the test script including the folders, for example Examples.Counter_ApplicationTest (5.2.0.0).tsd.xml. The Install Test Script command uses this scheme to recognize the name and version again. Therefore, do not rename the file.

If the selection also contains folders, then only the selected test scripts are exported, not the contents of the folders.

Important

Existing files in the target folder are not overwritten. If a file with the same name already exists, then the respective test script is not exported. After the process, an error message is displayed with a list of all test scripts which could not be exported. All other test scripts are exported anyway.

You can also export test scripts from the command line.

For more information, see the following: Command: Install Test Script, Tab: Test Scripts