Open topic with navigation
Like most automation object models, the root object of the UFT automation object model is the Application object.
The Application object represents the application level of UFT. You can use this object to return other elements of UFT such as the:
You can also use the Application object to perform operations like loading add-ins, starting UFT, opening and saving tests or components, and closing UFT.
Each object returned by the Application object can return other objects, perform operations related to the object and retrieve and/or set properties associated with that object.
Every automation script begins with the creation of the UFT Application object. Creating this object does not start UFT. It simply provides an object from which you can access all other objects, methods and properties of the UFT automation object model.
You can create only one instance of the Application object. You do not need to recreate the UFT Application object even if you start and exit UFT several times during your script.
Note: You can also optionally specify a remote UFT computer on which to create the object (the computer on which to run the script). For details, see How to Run Automation Scripts on a Remote Computer.