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: 3.3.1
Syntax
C#
public class ElementLocator

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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows 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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns 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