Testing Silverlight Applications

Applies to TestComplete 15.20, last modified on January 19, 2022

The information in this topic applies to web tests that locate web objects by using internal identification properties provided by TestComplete and run in local environments.

Silverlight applications are rich Internet applications (RIA) that can run in web browsers and on the desktop (out-of-browser). Silverlight uses a subset of .NET Framework functionality.

With TestComplete, you can record, create and run tests for Silverlight applications. This section provides detailed information about Silverlight application testing.

In This Section

Testing Silverlight Applications - Overview

Describes the specifics of working with Silverlight applications.

Testing In-Browser Silverlight Applications - Requirements

Provides information about the requirements that should be met to test Silverlight applications.

Preparing In-Browser Silverlight Applications for Testing

Explains how to make Silverlight applications testable.

Preparing a Web Browser for Testing Silverlight Applications

Describes how to prepare web browsers for testing Silverlight applications.

Addressing Objects of In-Browser Silverlight Applications

Explains how you can address Silverlight applications running on web pages and access their internal elements.

Accessing Native Properties and Methods of Silverlight Objects

Explains how to get and set native properties of Silverlight objects and call native object methods in your tests.

Support for Silverlight Applications' Controls

Describes support that TestComplete provides for the most frequently used controls in Silverlight applications.

Testing Out-of-Browser Silverlight Applications

Contains information on testing out-of-browser Silverlight applications.

Recording User Actions Over Silverlight Applications - Specifics

Provides information and tips on some specifics of test recording with Silverlight applications.

Related Topics of Interest

Preparing Web Browsers

Explains how you can prepare your web browser for testing web pages with TestComplete.

Using Microsoft UI Automation Technology

Provides information about using the UI Automation technology to test applications.

Classic Web Testing

Provides information about functional testing of web pages with TestComplete.

Access to Properties

Contains information on accessing properties and methods of Open Application objects.

Calling Methods and Properties of Open Applications' Objects

Describes the specifics of calling methods and properties of Open Applications’ objects from scripts.

Recording Automated Tests

Contains basic information on recording in TestComplete.

Running Tests

Contains general information on running tests in TestComplete.

Testing With TestComplete

Describes different testing types supported by TestComplete.

About Script Tests

Contains general information on writing scripts and on supported scripting languages.

Samples

TestComplete includes a sample project with Silverlight application tests:

<TestComplete Samples>\Web\Orders\Silverlight

Note: If you do not have the sample, download the TestComplete Samples installation package from the https://support.smartbear.com/testcomplete/downloads/samples/ page of our website and run it.

These tests work with the Orders sample application on our web site:

secure.smartbearsoftware.com/samples/testcomplete15/silverlight/orders.html

See Also

Web and RIA Testing
Applications Testing

Highlight search results