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 Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
![]() | Equals(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() | (Inherited from Object.) |
Inheritance Hierarchy| Object | |
![]() | ElementFinder |
Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)




