ArtOfTest, Inc. - WebAii 1.1 Automation Infrastructure reference library
ElementFinder class
Provides infrastructure for accessing elements defined by FindParamAttribute on test methods and classes. Replaces the Find.Elements dictionary which has been obsoleted.
Syntax
C#
[DefaultMemberAttribute("Item")]
public class ElementFinder
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
Item(String)
Get an element object defined by a FindParam attribute on the test method or test class.
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ReturnElementProxyWhenNotFound
Gets or sets a flag that indicates to the ElementFinder to return an ElementProxy object when the element is not found instead of null or an exception. The Element proxy object is an Element object that is only initialized with the FindParam object it needs to use. You can then call Element.Wait.ForExists() on it to wait for it to be found. You can check whether an Element is a proxy element by checking the Element.IsProxy
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
ElementFinder

Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)