WebLauncher Object

Description

Represents the Web tab of the Record and Run Settings dialog box, which determines which Web browser and URL to open (if any) when a record or run session begins.

Example

Configure Recording on a Web Application

Public methods

Public Method SetLabInstructs OpenText Functional Testing to use a local browser for the test.

Public properties

Public Property ActiveIndicates whether to record and run on any open browser (False) or to open a specified browser and URL (True) when a record or run session begins.
Public Property AddressThe URL address to open.
Public Property BrowserThe Web browser to open.
Public Property BrowserParameterNameThe name of the parameter that defines the browser to use.
Public Property CloseOnExitIndicates whether the browser that was opened by the launcher should be closed when the test is closed.
Public Property Env

Returns the value of the Use combo-box in the Web tab of the Record and Run Settings dialog.

Public Property ParameterizationTypeDefines the type of parameter used to define the web browser.
Public Property RuntimeParameterizationIndicates whether the Parameterize runtime web settings option is used.

Example

Desktop web testing code sample