Share via


UITestActionFilter Class

Contains methods and properties to aggregate similar action results into a single result.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Common.UITestActionFilter

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public MustInherit Class UITestActionFilter
public abstract class UITestActionFilter
public ref class UITestActionFilter abstract
[<AbstractClass>]
type UITestActionFilter =  class end
public abstract class UITestActionFilter

The UITestActionFilter type exposes the following members.

Constructors

  Name Description
Protected method UITestActionFilter Initializes a new instance of the UITestActionFilter class.

Top

Properties

  Name Description
Public property ApplyTimeout Gets a value that indicates whether to apply aggregator time-out limits.
Public property Category Gets the category to use to group the filtered list of actions.
Public property Enabled Gets a value that indicates whether this filter is enabled.
Public property FilterType Gets the type of this filter.
Public property Group Gets the name of the group to which this filter belongs.
Public property Name Gets the name of this filter that is included in log messages.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ProcessRule When implemented in a derived class, processes your custom rule for aggregating several action results into one result, and returns a value that indicates whether to end aggregation or to continue aggregating actions.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

When you inherit this class, you must implement the ProcessRule method.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

ProcessRule

Other Resources

Enable Coded UI Testing of Your Custom Controls

Creating Custom Test Types in Visual Studio Team System