GetSettingsValue Method

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.

Returns the Parameter value from the control's Settings element in the toolkit configuration file.

Remarks

The ability to fetch user-defined attributes enables you to change the run-time behavior without programming. If your application uses a custom Settings format, use GetSettingsXML.

Syntax

Visual Basic (Declaration) 
Overridable Function GetSettingsValue( _
   ByVal strAttribute As String _
) As String
C# 
virtual string GetSettingsValue( 
   string strAttribute
)

Parameters

strAttribute
The Parameter Name from the configuration file.

See Also