You can call methods, retrieve properties, and set properties on controls that Silk Test Classic does not expose by using the dynamic invoke feature. This feature is useful for working with custom controls and for working with controls that Silk Test Classic supports without customization.
Call dynamic methods on Silverlight objects with the DynamicInvoke method. To retrieve a list of supported dynamic methods for a Silverlight control, use the GetDynamicMethodList() method.
Call multiple dynamic methods on objects with the DynamicInvokeMethods method. To retrieve a list of supported dynamic methods for a Silverlight control, use the GetDynamicMethodList() method.
Retrieve dynamic properties with the GetProperty method and set dynamic properties with the SetProperty() method. To retrieve a list of supported dynamic properties for a Silverlight control, use the GetPropertyList() method.
The correct value for all built-in Silk Test Classic types.
All methods that have no return value return NULL.
A string for all other types.
To retrieve this string representation, call the ToString() method on returned .NET objects in the application under test.
A TabItem in Silverlight, which is an item in a TabControl.
tabItem.DynamicInvoke("SelectionItemPattern.Select") mySilverligtObject.GetProperty("IsPassword")