Class Automation


  • public final class Automation
    extends java.lang.Object
    Supports UI automation by providing a means to obtain a reference to a component via an automation ID. Allows Enum values as IDs also.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static <E extends java.lang.Enum<E>>
      void
      add​(E enumID, Component component)  
      protected static void add​(java.lang.String automationID, Component component)  
      static <E extends java.lang.Enum<E>>
      Component
      get​(E enumID)  
      static Component get​(java.lang.String automationID)  
      protected static <E extends java.lang.Enum<E>>
      void
      remove​(E enumID)  
      protected static void remove​(java.lang.String automationID)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • get

        public static Component get​(java.lang.String automationID)
      • get

        public static <E extends java.lang.Enum<E>> Component get​(E enumID)
      • add

        protected static void add​(java.lang.String automationID,
                                  Component component)
      • add

        protected static <E extends java.lang.Enum<E>> void add​(E enumID,
                                                                Component component)
      • remove

        protected static void remove​(java.lang.String automationID)
      • remove

        protected static <E extends java.lang.Enum<E>> void remove​(E enumID)