RunInterfaceAttribute Class
OpenText Functional Testing 2022 and later: Following the discontinuance of the Silverlight development framework, OpenText Functional Testing no longer supports the Silverlight Add-in by default.
If you need to use and extend the Silverlight Add-in, contact OpenText Support.
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).
- Tag each one of the methods that you design with the Microsoft Silverlight ScriptableMember attribute.
- 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.Slv.CustomServer.RunInterfaceAttribute
| Type | Name | Description |
|---|---|---|
![]() | RunInterfaceAttribute Constructor | Default constructor. |
| Type | Name | Description |
|---|---|---|
![]() | TypeId | (Inherited fromSystem.Attribute) |
| Type | Name | Description |
|---|---|---|
![]() | Equals | (Inherited fromSystem.Attribute) |
![]() | GetHashCode | (Inherited fromSystem.Attribute) |
![]() | IsDefaultAttribute | (Inherited fromSystem.Attribute) |
![]() | Match | (Inherited fromSystem.Attribute) |




