AnyWin.
Returns the fully qualified tag for a window, where the tag is the one actually used to identify the window. If the window is not found, then GetTag returns an exception. If the window declaration, or the dynamically instantiated identifier, includes a multitag, GetTag returns only the portion of the multitag that first matched the window. Unlike the WindowTag function, GetTag executes on the agent machine.
sTag = window.GetTag()
Variable | Description |
---|---|
sTag | The tag for window. STRING. |
[-] testcase GetTagTest() [ ] TextEditor.Search.Find.Pick() [ ] Print(Find.CaseSensitive.GetTag()) [ ] Find.Cancel.Click() [ ] [ ] // Result: [ ] // /[MainWin]Text Editor/[DialogBox]Find/[CheckBox]Case sensitive