SlApplication Object Properties

Applies to TestComplete 14.20, last modified on September 11, 2019

Since the SlApplication object is a wrapper to a Silverlight application’s class that encapsulates the main application-specific functionality (the class that inherits from the System.Windows.Application class), SlApplication contains all the members of the application’s class. In addition to them, SlApplication provides a number of properties added to the object by TestComplete:

Property List   | View

Name Description
SlClasses Provides access to namespaces and classes defined within assemblies included in the Silverlight application package (the .xap file). Using this property you can access static non-visual objects, their public members and even create class instances directly from your script code.
SlClassName Returns the short class name of the application’s class to which the SlApplication object corresponds (that is, the class that inherits from the System.Windows.Application class and encapsulates application-specific functionality).
SlFullClassName Returns the full class name of the application’s class to which the SlApplication object corresponds (that is, the class that inherits from the System.Windows.Application class and encapsulates application-specific functionality).
Silverlight

This category includes properties that TestComplete provides for Silverlight objects.

Name Description
SlClasses Provides access to namespaces and classes defined within assemblies included in the Silverlight application package (the .xap file). Using this property you can access static non-visual objects, their public members and even create class instances directly from your script code.
SlClassName Returns the short class name of the application’s class to which the SlApplication object corresponds (that is, the class that inherits from the System.Windows.Application class and encapsulates application-specific functionality).
SlFullClassName Returns the full class name of the application’s class to which the SlApplication object corresponds (that is, the class that inherits from the System.Windows.Application class and encapsulates application-specific functionality).
Other Categories

See Also

SlApplication Object

Highlight search results