Configuring a test machine for Silverlight

Preparing your test machine to ensure the testability of your Silverlight application.

Warning:
Microsoft ceased development of Silverlight. However, Silverlight continues working in TestArchitect.

Ensure the following requirements are met:

Carry out the following procedures:

  1. Close all running web browsers as well as Silverlight desktop-based applications.

  2. Run the StartSilverlight.bat file by doing the following:.

    1. Go to location TA_INSTALL_DIR\binclient\agents\Silverlight.

    2. Double-click the StartSilverlight.bat file.

    This batch file executes two files, TAPr0xy.exe and TASilverlightAgentServer.exe.

    • TAPr0xy changes your current proxy setting, which is essential for testing Silverlight applications.

      Note:
      This change affects every web browser on the machine including Internet Explorer, Mozilla Firefox and Google Chrome. If you no longer need to test Silverlight applications, it is highly recommended that you reset the proxy server settings.

    • TASilverlightAgentServer injects some essential libraries into the application to make it testable. (Note, however, that it does not change the Silverlight application’s source code.)

    • These two files can be found at the following locations:

      • TA_INSTALL_DIR\binclient\agents\Silverlight\Proxy\TAPr0xy.exe
      • TA_INSTALL_DIR\binclient\agents\Silverlight\SilverlightAgentServer\TASilverlightAgentServer.exe

    Tip:
    To verify that the TASilverlightAgentsServer.exe and TAPr0xy.exe processes are running, do the following:

    1. Launch Windows Task Manager.
    2. Under the Processes tab, verify the presence of TASilverlightAgentsServer.exe and TAPr0xy.exe.

TestArchitect is now able to access Silverlight’s UI controls and their properties. Use TestArchitect’s Interface Viewer to capture the controls of the Silverlight AUT and generate your interface definitions.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400