FindAttribute Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
The Find attribute may be set on classes or test methods to define a find expression that may be used later in your code to find that element.
Inheritance Hierarchy

SystemObject
  SystemAttribute
    ArtOfTest.WebAii.TestAttributesFindAttribute

Namespace:  ArtOfTest.WebAii.TestAttributes
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public class FindAttribute : Attribute

The FindAttribute type exposes the following members.

Constructors

  NameDescription
Public methodFindAttribute
Create a new FindExpression attribute
Public methodFindAttribute(String, String)
Create a new FindParamAttribute.
Top
Properties

  NameDescription
Public propertyDefinesFrame
Gets whether the FindParam defines a Frame.
Public propertyDefinesTestRegion
Gets whether the FindParam defines a TestRegion
Public propertyFindClauses
The actualy FindParam object corresponding to this attribute.
Public propertyFrameId
Gets or sets the frame id for this findparam.
Public propertyFrameIndex
Gets or sets the frame index
Public propertyFrameName
Gets or sets the frame name for this findparam.
Public propertyFrameSrc
Gets or sets the frame src value
Public propertyKey
The friendly name to identify this FindParam and the element it will identify when using Find.All().
Public propertyParentAppKey
Gets or sets the parent application key that defines the find expression for the Silverlight application that owns this element.
Public propertyTargetType
Gets or sets the technology type of the target element of this expression
Public propertyTestRegionId
Gets or sets the TestRegion Id this FindParam belongs to.
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Top
Methods

  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
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 methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
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
Examples

[TestMethod, Find("inputButton", "id=mySubmitButton")]
public void LoginTest()
{
.
.
.
See Also

Reference