UITestActionFilter.ProcessRule Method
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.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public MustOverride Function ProcessRule ( _
actionStack As IUITestActionStack _
) As Boolean
public abstract bool ProcessRule(
IUITestActionStack actionStack
)
public:
virtual bool ProcessRule(
IUITestActionStack^ actionStack
) abstract
abstract ProcessRule :
actionStack:IUITestActionStack -> bool
public abstract function ProcessRule(
actionStack : IUITestActionStack
) : boolean
Parameters
- actionStack
Type: Microsoft.VisualStudio.TestTools.UITest.Common.IUITestActionStack
An IUITestActionStack object.
Return Value
Type: System.Boolean
true if aggregation should stop.
Remarks
If the actionStack contains the following action results
Activate Window 1
Click on text box 1
Type 'm' in text box 1
Type 'y' in text box 1
Click on OK button
you can use this method to aggregate the action results for text box 1:
Activate Window 1
Type 'my' in text box 1
Click on OK button
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.Common Namespace