You can create only one instance of this object. Use this object to return other UFT One objects and to perform application level operations such as loading add-ins, creating or opening tests, and launching or closing the UFT One application.
When designing and running UFT One automation scripts in a tool that supports the loading of type libraries for editing and running scripts, you can use the new operator to load the UFT One type library before creating the QuickTest Application object.
Dim app as Application
Set app = new Application
or, if other type libraries are loaded in your tool, specify the UFT One type library as follows:
Dim app as QuickTest.Application
Set app = new QuickTest.Application
When designing or running UFT One automation scripts in a tool that does not support the loading of type libraries, use the CreateObject() function to create the QuickTest Application object.
Set app = CreateObject("QuickTest.Application")
In a UFT One test run, do not watch or evaluate a QuickTest.Application object. UFT One's attempt to watch itself may cause unexpected behavior.
|ActivateView||This value can be set only before UFT One is started (before the Application.Launch statement).|
|CurrentLicenseType||The type of license (unified or non-unified) that is currently in use.|
Retrieves the list of Add-ins associated with a Business Component.
Retrieves the list of Add-ins associated with a Business Process Test.
Retrieves the list of Add-ins associated with a test.
|GetConsumedLicenses||Returns the list of licenses consumed by UFT One application.|
|GetStatus||The current status of the UFT One application.|
|Launch||Opens the UFT One application.|
|New||Creates a new test.|
|NewBusinessComponent||Creates a new business component.|
|Open||Opens an existing test.|
|OpenBusinessComponent||Opens an existing business component.|
|OpenBusinessComponentFromBaseline||Opens an existing business component from the specified ALM baseline.|
|OpenTestFromBaseline||Opens an existing test from the specified ALM baseline.|
|Quit||Closes UFT One.|
Specify the Add-ins to load in UFT One.
|ShowPaneScreen||This method takes effect only when Application.Visible=True.|
|UseLicenseOfType||Uses a license of the specified license type (unified or non-unified) if it is available.|
|Addins||Returns the Addins collection-- a collection of Addin objects.|
|BusinessComponent||Returns a Test object representing the currently open business component.|
|CurrentDocumentType||Indicates the type of the currently open document (test or business component).|
|Folders||Returns the Folders collection object--a collection of folder paths used to resolve relative paths.|
|Launched||Indicates whether UFT One is currently open.|
|Options||Returns an Options object, which enables you to set options that apply to all tests and business components.|
|TDConnection||Returns the TDConnection object, which manages the connection to ALM.|
|Test||Returns a Test object, which represents the currently open test.|
|UI||This property is obsolete and should be removed from automation scripts.|
|Version||The current version of the open UFT One application.|
|Visible||This value can be set before or after UFT One is started (before or after the Application.Launch statement). Default=False.|
|WindowState||The state of the UFT One main window.|