RunInterfaceAttribute Class
This attribute, applied to an interface, indicates that it is the Run Interface of the custom server class.
Visual Basic (Declaration) | |
---|---|
Public Class RunInterfaceAttribute Inherits Attribute |
C# | |
---|---|
public class RunInterfaceAttribute : Attribute |
- In the interface that you tag with this attribute, implement methods that perform test object operations on the control.
- Each method you design must have the same signature as the test object operation that it implements (as defined in the test object configuration file).
- Implement methods for any new test object operations you defined for your test object class, or if you want to override the operation implementation inherited from the base class.
- A custom server class cannot implement more than on interface tagged with RunInterfaceAttribute.
System.Object
System.Attribute
Mercury.QTP.WPF.CustomServer.RunInterfaceAttribute
Name | Description | |
---|---|---|
RunInterfaceAttribute Constructor | Default constructor. |
Name | Description | |
---|---|---|
TypeId | (Inherited fromSystem.Attribute) |
Name | Description | |
---|---|---|
Equals | (Inherited fromSystem.Attribute) | |
GetHashCode | (Inherited fromSystem.Attribute) | |
IsDefaultAttribute | (Inherited fromSystem.Attribute) | |
Match | (Inherited fromSystem.Attribute) |