Public Sub Save()
Use this method to save existing tests and components. To save an untitled test or component, use the Test.SaveAs method.
If UFT One is Visible, and the open test or component 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 or component is untitled, then the Test.Save statement fails and returns error code: 1013 qtErrSaveFail.