Click or drag to resize

ElementLocator Class

Framework to automate tests using Selenium WebDriver
Class that helps to define Kind and value for html elements.
Inheritance Hierarchy
SystemObject
  Ocaramba.TypesElementLocator

Namespace: Ocaramba.Types
Assembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax
C#
public class ElementLocator
Request Example

The ElementLocator type exposes the following members.

Constructors
 NameDescription
Public methodCode exampleElementLocator Initializes a new instance of the ElementLocator class.
Top
Properties
 NameDescription
Public propertyKind Gets or sets the kind of element locator.
Public propertyValue Gets or sets the element locator value.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodCode exampleFormat Formats the generic element locator definition and create the instance.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodCode exampleToBy From the locator to selenium by converter.
(Defined by LocatorExtensions)
Top
See Also