WebOptions Object
Description
Represents options in the GUI Testing tab > Web node of the Options dialog box, which enable you to configure how OpenText Functional Testing records and runs steps on Web-based applications.
Remarks
This object is supported only when the OpenText Functional Testing Web Add-in is installed and loaded.
Tip: You can click the Generate Script button in the General pane of the GUI Testing tab in the Options dialog box to automatically generate an automation script containing the current global testing options, including those represented by the WebOptions object.
Example
Public Properties
AddToPageLoadTime | The number of seconds to add to the page load time that is specified in each page checkpoint. |
BrowserCleanup | Indicates whether to close all open browsers after the current run or iteration ends. |
CreateFrameUsingAdditionalInfo | Indicates whether to use additional properties of the test object to identify an existing Frame test object. |
CreateFrameUsingNonUserData | The criteria for ignoring non-user-input data when checking for changes in data transfer for Frame objects. |
CreateFrameUsingUserData | The criteria for ignoring user-input data when checking for changes in data transfer for Frame objects. |
CreatePageUsingAdditionalInfo | Indicates whether to use additional properties of the test object to identify an existing Page test object. |
CreatePageUsingNonUserData | The criteria for ignoring non-user-input data when checking for changes in data transfer for Page objects. |
CreatePageUsingUserData | The criteria for ignoring user-input data when checking for changes in data transfer for Page objects. |
EnableBrowserResize | Indicates whether to resize the browser during a record or run session in order to view both the browser and the OpenText Functional Testing window. |
EnableWebRoleBasedKit | Enable or disable Web Role Based Kit. |
FrameCreationMode | Indicates the conditions for creating a new Frame test object. |
(Versions 24.2 and later) | Indicates whether to temporarily load the OpenText UFT Agent extension on the browser when OpenText Functional Testing launches a Chrome browser instance. |
(Versions 24.2 and later) | Indicates whether to temporarily load the OpenText UFT Agent extension on the browser when OpenText Functional Testing launches an Edge browser instance. |
PageCreationMode | Indicates the criteria for creating a new Page test object. |
RecordAllNavigations | Indicates whether to record a Navigate statement each time a Frame URL changes. |
RecordByWinMouseEvents | Instructs OpenText Functional Testing to use standard Windows mouse events instead of browser events for the specified events. |
RecordCoordinates | Indicates whether to record the actual coordinates relative to the object for each operation. |
RecordMouseDownAndUpAsClick | Indicates whether to record a Click method for "MouseUp" and "MouseDown" events. |
RunMouseByEvents | Indicates whether to run mouse operations using browser events (True) or using mouse events (False). |
RunOnlyClick | Indicates whether to run Click operations on the application by sending click events only (True) or by sending mousedown, mouseup, and click events (False). |
RunUsingSourceIndex | Indicates whether to learn and store the source index value when learning Web test objects, and to use that value during a run session to increase performance capabilities. |
UseAutoXPathIdentifiers | Indicates whether to generate and store an XPath value when learning Web test objects, and to use that value during a run session to improve object identification reliability. |
WebFastRunMode | Tech preview in version 15.0.2. Fully supported in versions 2021 and later. Indicates whether to use the web acceleration mechanism. This mode runs tests faster on half of the web test objects when running test on Chrome, Chromium-based Edge, and Firefox. |