IEFrame Method

Applies to TestComplete 15.70, last modified on December 17, 2024
This method is obsolete. See the Remarks section below.

Description

The IEFrame method lets you access Internet Explorer browser windows. As such, the method is only added to Internet Explorer processes (the process name is iexplore).

Declaration

TestObj.IEFrame(Index)

TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Index [in]    Required    Integer    
Result A window object

Applies To

The method is applied to the following object:

View Mode

To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Parameters

The method has the following parameter:

Index

A zero-based index of the desired Internet Explorer window among windows belonging to the same process instance. If there is only one opened Internet Explorer window, Index is 0.

Result Value

A window object that corresponds to the specified Internet Explorer window.

Remarks

The IEFrame method is obsolete and is supported for backward compatibility only. To access browser windows, use the cross-browser BrowserWindow method instead.

The IEFrame method is available only if the Web Testing plugin is installed and enabled in File | Install Extensions. Otherwise, the method is absent in the method list of the Process object.

See Also

BrowserWindow Method
WaitBrowserWindow Method
Page Method (Browser and Process Objects)
Classic Web Testing

Highlight search results