GetEverything Function

Class

AnyWin class.

Action

Captures information about an object in a list of strings.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

lsValues = window.GetEverything ([iLevel])
Variable Description
lsValues Values describing the object. LIST OF STRING.
iLevel Optional. Used internally to control indentation of the values. INTEGER.

Notes

GetEverything creates a list that contains information about all the attributes of a window. You usually use the list to verify that the window has the expected contents and settings. The attributes of window classes are defined within the window class declaration using the attribute keyword. For a list of the attributes defined for the built-in classes, see the file winclass.inc. GetEverything replaces the TextCapture and Query methods.

The list created by GetEverything is independent of the platform under which the application is running.

GetEverything is not supported in Web (browser) applications.

Example

list of string lsData
lsData = MyApp.MyDialog.GetEverything()
ListWrite(lsData, "MyDialog.txt")
//...
ListRead(lsData, "MyDialog.txt")
MyApp.MyDialog.VerifyEverything(lsData)