Test Object Interface Summary

Test Object Based on ElementProxy


  • Supported Canonical Properties:
    PropertyUsage
    .bounds A rectangle representing the bounding rectangle of the object in screen coordinates.
    .class This is the  test object class name, for example "HtmlTable" for a <Table> element.
    .id This is the value of the id attribute of an element.
    .offsetHeight The height of the element.
    .offsetLeft The offset of the element from its offset parent in the DOM.
    .offsetTop The offset of the element from its offset parent in the DOM.
    .offsetWidth The width  of the element.
    .screenLeft Upper left corner of bounding rectangle in screen coordinates, x component.
    .screenTop Upper left corner of bounding rectangle in screen coordinates, y component.
    .tag This is the Html tag for the element
    .text This is the text inside of the HTML tags for bounding the element.  For example, <A>This is an Anchor<IMG src=map.gif></a>   the text property will return "This is an Anchor.   All white space are combined and reduced to a single a blank character if consecutive white space characters are found.
    .title This is the value of the title attribute of an element.  This is frequently the text displayed when hovering over the element with the mouse.