uiName - web automation propety

Retrieves the text name of the web automation Element object.

Applies to:
Element
  var t = elementObj.uiName;
Arguments:
None.
Remarks:
Unlike the native innerText property, the text property can be also used on some non-block HTML elements, like <input>.
Example:
// Display the whole text of a HTML document.
var coreObj = new ActiveXObject("OpenTwebst.Core");
var browser = coreObj.FindBrowser("url=http://www.codecentrix.com");
var body    = browser.FindElement("body", "");

WScript.Echo(body.uiName);
		
See also:
Element | nativeElement

© 2017 CodeCentrix Software. All rights reserved.