Saving test scripts and files
You can save a functional test script or file in several ways: save the current test script or file, save all test scripts and files, save a functional test script or file with another name in a different location.
- To save the current test script of file, click File > Save from the Functional Tester menu or click the Save button on the Functional Tester toolbar.
- To save all the test scripts and files, click File > Save All.
- To save a test script with another name, click File > Save Script scriptname As from the Functional Tester menu.
Related reference
Saving a test script with another name
To save a functional test script with another name:
Procedure
- Click File > Save Script scriptname As from the Functional Tester menu to open the Save Functional Tester Script As dialog box.
- In the Select a folder field, use the navigation buttons ( Home , Back , and Go Into ) to select the appropriate path to the folder you want to use.
- In the Script name field, enter a name that conforms to the Java naming conventions for the new script.
- Click Finish . Functional Tester saves the script and all its related files, such as the helper script files, the private object map, and any verification point files using the new name.
Saving a file with another name
Do not use this procedure to save a primary script class. A script is a collection of files that include the primary script class, verification point files, helper class, and possibly a private object map. If you save only the primary script class by using this procedure, the other files included in the script are not renamed and Functional Tester cannot play back the resulting file. To save a script and its related files, use the Save Script As dialog box
Procedure
- Click File > Save As in the Functional Tester menu to open the Save As dialog box.
- In the Enter or select the parent folder field, use the navigation buttons to select the appropriate path to the folder you want to use.
- In the File name field, enter the name for the new file.
- Click OK . Unlike the Save Script As dialog box, the Save As dialog box saves only the current file and not any related files.