AnyWin class.
Returns the identifier of the window.
sWinID = window.GetID()
Variable | Description |
---|---|
sWinID | The identifier of the window. STRING. |
GetID returns the window’s GUI-specific internal identifier as a string.
For Windows, the ID of the main window is a string containing the full path of the EXE file that invoked it. For other windows, GetID returns a string containing an integer, the control ID.
For more information, refer to Silk Test Classic Agent Rules for Object Recognition. This document is located in (in Microsoft Windows 7) or (in Microsoft Windows 10) .
STRING sWindowID = TextEditor.GetID()