CustomPropInterfaceAttribute 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 this is the Custom Properties interface of the custom server class.

Syntax

Visual Basic (Declaration) 
Public Class CustomPropInterfaceAttribute 
   Inherits Attribute
C# 
public class CustomPropInterfaceAttribute : Attribute  

Remarks

  • In the interface that you tag with this attribute, implement properties that retrieve the values of identification properties of the same name.
  • Implement properties for any new identification properties you defined for your test object class, or if you want to override the value retrieval implementation inherited from the base class.
  • A custom server class cannot implement more than on interface tagged with CustomPropInterfaceAttribute.

Inheritance Hierarchy

System.Object
   System.Attribute
      Mercury.QTP.Slv.CustomServer.CustomPropInterfaceAttribute

Public Constructors

 NameDescription
Public ConstructorCustomPropInterfaceAttribute ConstructorDefault constructor.  
Top

Public Properties

 NameDescription
Public PropertyTypeId (Inherited fromSystem.Attribute)
Top

Public Methods

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

See Also