Test Object > Methods > Save Method
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 or component, use the Test.SaveAs method.

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

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

Example
See Also