LLMOptions Object
(Versions 26.3 and later)
Description
Represents the LLM settings configured in the UFT Aviator Configuration dialog box. UFT Aviator is an embedded AI assistant, providing support for generative AI capabilities.
Remarks
Using these settings requires a valid UFT Aviator add-on license.
Only LLMs based on the OpenAI protocol with chat completion endpoints are supported. Refer to the Support Matrix for a list of supported models.
You can click the Generate Script button in the GUI Testing tab > General pane of the Options dialog box to automatically generate an automation script containing the current global testing options, including those represented by the LLMOptions object.
Public Properties
ApiKey | The API key used to access the LLM provider, in encoded format. |
CustomEndpoint | The URL to use for the LLM provider. |
Model | The exact model name to use for LLM requests. |
Provider | The LLM provider. |
ApiKey Property
Description
The API key used to access the LLM provider, in encoded format.
Syntax
Public Property ApiKey As String
Remarks
To encode the API key, use the Password Encoder Tool installed with OpenText Functional Testing.
Return Type
String
CustomEndpoint Property
Description
The URL to use for the LLM provider.
Syntax
Public Property CustomEndpoint As String
Remarks
Enter only the API base path up to and including the API version. Do not include the model name, endpoint path, or operation suffix. For example, use: https://generativelanguage.googleapis.com/v1 or https://api.openai.com/v1
Return Type
String
Model Property
Description
The exact model name to use for LLM requests.
Syntax
Public Property Model As String
Return Type
String
Provider Property
Description
The LLM provider.
Syntax
Public Property Provider As String
Return Type
String
Possible Values
OpenAI, Google, Custom

