Click or drag to resize

MSAASettingsAddWindow Method

Adds a window type to the list of MSAA window types.

Namespace:  SmartBear.TestLeft.Options
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
public void AddWindow(
	string wndType
)

Parameters

wndType
Type: SystemString
A window definition in the format "WndClass" or "WndClass;@text=WndCaption", where WndClass is the window's class, and WndCaption is the window's caption.

Both WndClass and WndCaption can include wildcards, * and ?, to match multiple window types based on some common pattern. The asterisk (*) matches a string of any length, including an empty string. The question mark (?) matches any single character or no character.

Examples:

Window TypeDescription
NetUIHWNDObjects with the window class "NetUIHWND".
Vfp*Objects whose window class begins with "Vfp".
XTPReport;@text=My ReportObjects with the window class "XTPReport" and caption "My Report".
*;@text=My ReportObjects with the caption "My Report" and any window class.
*;@text=*ReportObjects whose caption ends with "Report".
*All objects. (Not recommended for performance reasons. Consider using specific object types instead.)
See Also