Returns the fully qualified tag for a window, where the tag is resolved from the window declaration or from the dynamically instantiated identifier. Note that since it uses the declaration of the window rather than the window itself, WindowTag returns a tag even if the window does not exist. If the declaration (or dynamically instantiated identifier) includes a multitag, all portions of the multitag are returned.
This functionality is supported only if you are using the Classic Agent. For additional information, refer to the Silk Test Classic Classic Agent Help.
sTag = WindowTag (wWindow [, iGuiType])
|sTag||The window tag for the window. STRING.|
|wWindow||The window whose window tag to return. WINDOW.|
|iGuiType||Optional: The GUI you want the tag to be valid for. INTEGER.|
[-] window MainWin ProgMan [ ] tag "Program Manager" [-] testcase WindowTagExample () [ ] Print (WindowTag (ProgMan)) [ ] // prints: /[MainWin]Program Manager