Share this page

# nca_set_window

Example: nca_set_window | Window Object Functions

Indicates the name of the active window.

    int nca_set_window( LPCSTR window );

window | The logical name of the window.

The nca_set_window function indicates the name of the active window.

During recording, a nca_set_window statement is automatically generated whenever you perform an operation on a control that belongs to a window different from the previously active window. All subsequent actions are performed on this window until the next nca_set_window statement is interpreted. This function allows you to better understand the steps in the script. It does not, however, add any functionality to the script.

## Return Values

Oracle NCA Error Codes

## Parameterization

The following variable can be parameterized using standard parameterization: window

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: