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

Configure Web Options

Public Properties

Public Property AddToPageLoadTimeThe number of seconds to add to the page load time that is specified in each page checkpoint.
Public Property BrowserCleanupIndicates whether to close all open browsers after the current run or iteration ends.
Public Property CreateFrameUsingAdditionalInfoIndicates whether to use additional properties of the test object to identify an existing Frame test object.
Public Property CreateFrameUsingNonUserDataThe criteria for ignoring non-user-input data when checking for changes in data transfer for Frame objects.
Public Property CreateFrameUsingUserDataThe criteria for ignoring user-input data when checking for changes in data transfer for Frame objects.
Public Property CreatePageUsingAdditionalInfoIndicates whether to use additional properties of the test object to identify an existing Page test object.
Public Property CreatePageUsingNonUserDataThe criteria for ignoring non-user-input data when checking for changes in data transfer for Page objects.
Public Property CreatePageUsingUserDataThe criteria for ignoring user-input data when checking for changes in data transfer for Page objects.
Public Property EnableBrowserResizeIndicates whether to resize the browser during a record or run session in order to view both the browser and the OpenText Functional Testing window.
Public Property EnableWebRoleBasedKitEnable or disable Web Role Based Kit.
Public Property FrameCreationModeIndicates the conditions for creating a new Frame test object.

Public Property LoadChromeBrowserExtension

(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.

Public Property LoadEdgeBrowserExtension

(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.
Public Property PageCreationModeIndicates the criteria for creating a new Page test object.
Public Property RecordAllNavigationsIndicates whether to record a Navigate statement each time a Frame URL changes.
Public Property RecordByWinMouseEventsInstructs OpenText Functional Testing to use standard Windows mouse events instead of browser events for the specified events.
Public Property RecordCoordinatesIndicates whether to record the actual coordinates relative to the object for each operation.
Public Property RecordMouseDownAndUpAsClickIndicates whether to record a Click method for "MouseUp" and "MouseDown" events.
Public Property RunMouseByEventsIndicates whether to run mouse operations using browser events (True) or using mouse events (False).
Public Property RunOnlyClickIndicates whether to run Click operations on the application by sending click events only (True) or by sending mousedown, mouseup, and click events (False).
Public Property RunUsingSourceIndexIndicates 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.
Public Property UseAutoXPathIdentifiersIndicates 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.
Public Property 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.