Class UiElement

    • Field Detail

      • properties

        protected UiElementProperties properties
        Actual property names and values to match
      • log

        protected org.apache.log4j.Logger log
    • Method Detail

      • getUiDriver

        public UiDriver getUiDriver()
      • getElementProperty

        public String getElementProperty​(String name)
      • logAction

        protected void logAction()
      • getPropertyNamesToUseForMatch

        public String[] getPropertyNamesToUseForMatch()
      • checkTypeAndRules

        public void checkTypeAndRules​(String userTypePrefix,
                                      String... rules)
                               throws ErrorMatchingElementRules
        Check against passed rules and return first (largest in number of properties assumed) matching
        Parameters:
        userTypePrefix - component type prefix like Swing, Html ...
        rules - array of rules( of properties) valid for UiElement identification
        Throws:
        ErrorMatchingElementRules