com.rational.test.ft.script

Class Value

  • Direct Known Subclasses:
    Area, Header, Href, Image, Link, Name, Text, ToolTipText


    public class Value
    extends Subitem
    Acts as a common base class for several other Subitem-based classes. This common heritage allows the framework to interact with these subitem types in the same way.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected static com.rational.test.ft.util.FtDebug debug 
      protected java.lang.Object value 
    • Constructor Summary

      Constructors 
      Constructor and Description
      Value(java.lang.Object value) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object value)
      Overrides Object.equals with class-specific comparison.
      java.lang.Object getValue()
      Accesses the text value.
      java.lang.String toString()
      Sets toString to the value that this class represents.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        protected java.lang.Object value
      • debug

        protected static com.rational.test.ft.util.FtDebug debug
    • Constructor Detail

      • Value

        public Value(java.lang.Object value)
    • Method Detail

      • getValue

        public java.lang.Object getValue()
        Accesses the text value.
      • equals

        public boolean equals(java.lang.Object value)
        Overrides Object.equals with class-specific comparison.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        value - the right side of the comparison
        Since:
        RFT1.0
      • toString

        public java.lang.String toString()
        Sets toString to the value that this class represents.
        Overrides:
        toString in class java.lang.Object