Package org.testng

Interface IAttributes

    • Method Detail

      • getAttribute

        Object getAttribute​(String name)
        Parameters:
        name - The name of the attribute to return
      • setAttribute

        void setAttribute​(String name,
                          Object value)
        Set a custom attribute.
      • getAttributeNames

        Set<String> getAttributeNames()
        Returns:
        all the attributes names.
      • removeAttribute

        Object removeAttribute​(String name)
        Remove the attribute
        Returns:
        the attribute value if found, null otherwise