com.rational.test.ft.domain.html

Class TextNodeProxy

  • All Implemented Interfaces:
    com.rational.test.ft.domain.IChannelObject, com.rational.test.ft.domain.IDataDriven, com.rational.test.ft.domain.IGetInterestingRecogProsForDynFind, com.rational.test.ft.domain.IHtmlCustomDomainEnablement, com.rational.test.ft.domain.IInternalObjectStatus, com.rational.test.ft.domain.IProxyBase, com.rational.test.ft.domain.IQuickFind, com.rational.test.ft.domain.IXPathFind, com.rational.test.ft.object.interfaces.IGraphical


    public class TextNodeProxy
    extends HtmlGuiProxy
    The base class for proxies for supported HTML text nodes.
    • TestObject Interface: GuiTestObject

      *
    • Supported Test Data Types:
      TypeDesciption
      text Visible Text ITestDataText

    • Default Recognition Properties:
      • .class
      • .classIndex
      • .text

    • 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.
      .length The value of the length attribute of an element.  For a text node this indicates the number characters in the text.
      .text This is the text for this text node.

    Since:
    RFT1.0
    • Constructor Detail

    • Method Detail

      • shouldBeMapped

        public boolean shouldBeMapped()
        Always returns true, because all HTML GUI objects are interesting.
        Overrides:
        shouldBeMapped in class HtmlProxy
        Returns:
        false
        Since:
        RFT1.0
      • getRole

        public java.lang.String getRole()
        Description copied from class: HtmlProxy
        Returns TestObjectRole.ROLE_HTML.
        Overrides:
        getRole in class HtmlProxy
        Returns:
        A brief type name that describes the role this object plays in the UI.
      • getMappableChildren

        public com.rational.test.ft.domain.ProxyTestObject[] getMappableChildren()
        Uses getChildrenEnumeration to implement.
        Overrides:
        getMappableChildren in class HtmlProxy
        Returns:
        null, if no known children.