TEOptions Object
TEOptions Object
Description
Represents the GUI Testing tab > Terminal Emulator pane of the Options dialog box, which enables you to configure how UFT records and runs steps on terminal emulator applications.
Remarks
Before you can run an automation script containing steps using the TEOptions object, you must make sure that a supported terminal emulator application is installed on the computer on which you want to run the script. Otherwise UFT will fail to create the TEOptions object and will report a runtime error.
Example
Public Methods
Public Method UseKeyEvent Instructs UFT to perform SendKey commands using keyboard events rather then the corresponding HLLAPI function.
Public Properties
Public Property AutoAdvance Indicates whether auto-advance fields are supported by the emulator.
Public Property AutoSyncKeys The keyboard keys after which UFT enters Sync steps.
Public Property BeepOnSync Indicates whether UFT beeps after performing each Sync function during a run session.
Public Property BlankLines The number of blank lines the emulator reserves at the bottom of the screen.
Public Property CodePage The code page number for the language used by the emulator (IBM PCOM only).
Public Property CurrentEmulator The current selected terminal emulator.
Public Property HllapiDllName The HLLAPI dll file used to connect to the emulator and retrieve data on its current status.
Public Property HllapiProcName The HLLAPI function used by the emulator as the entry point for all HLLAPI calls.
Public Property PropertyPatternsFile The property pattern configuration file used to record regular expressions in test object properties.
Public Property Protocol The protocol used by the current terminal emulator.
Public Property RecordCursorPosition Indicates whether UFT uses TeTextScreen.ClickPosition or TeField.SetCursorPos to record the cursor position when recording in a text screen or field.
Public Property RecordMenusAndPopups Indicates whether UFT records operations on emulator menus and dialogs.
Public Property ScreenLabelUseAllChars Indicates whether UFT captures all characters in the label area for the label property value.
Public Property ScreenTitleCol The column coordinate that marks the beginning of the emulator screen label property.
Public Property ScreenTitleLength The size of the emulator screen label (in characters).
Public Property ScreenTitleRow The row coordinate that marks the beginning of the emulator screen label property.
Public Property SyncTime The period of time UFT waits before checking the emulator status (in milliseconds).
Public Property TrailingFieldLength The minimum field length from which to trim white characters.
Public Property TrailingMode Indicates whether UFT trims white characters when recording in context-sensitive mode.
Public Property UsePropertyPattern Indicates whether property patterns are used to record regular expressions in test object properties.
Public Property VerifyHllapiDllPath Indicates whether UFT displays a warning message when the HLLAPI dll file for the current configuration cannot be found.
Public Property WindowTitlePrefix The title bar prefix used by UFT to identify the emulator window.
See Also