RunInterfaceAttribute Class

UFT One 2022 and later: Following the discontinuance of the Silverlight development framework, UFT One 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
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.

Inheritance Hierarchy


Public Constructors

Public ConstructorRunInterfaceAttribute ConstructorDefault constructor.  

Public Properties

Public PropertyTypeId (Inherited fromSystem.Attribute)

Public Methods

Public MethodEquals (Inherited fromSystem.Attribute)
Public MethodGetHashCode (Inherited fromSystem.Attribute)
Public MethodIsDefaultAttribute (Inherited fromSystem.Attribute)
Public MethodMatch (Inherited fromSystem.Attribute)

See Also