Save Method

Description

Saves the test or business component.

Syntax

Visual Basic
Public Sub Save() 

Remarks

Use this method to save existing tests and components. To save an untitled test, use the Test.SaveAs method.

If UFT One is Visible, and the open test is untitled, the Save <Document> or Save <Document> As dialog box opens in UFT One and prompts you to specify a file name.

If UFT One is in minimized mode (Visible=False) and the test is untitled, then the Test.Save statement fails and returns error code: 1013 qtErrSaveFail.

Example

Save a Test While Working with ALM  | Save a Test  | Save a Test with Associated Library Files  | Convert a Set of Tests from an Older QuickTest Version to the Current Version

See Also

Test Object  | Test Members  | SaveAs Method