[Collapse]TestComplete/viewarticle/63445/
 [Expand]General Information/viewarticle/63445/
 [Expand]Using Help System/viewarticle/55799/
 [Expand]Getting Started Tutorial/viewarticle/56246/
 [Collapse]Using TestComplete/viewarticle/57875/
  [Expand]TestComplete User Interface, Projects and Settings/viewarticle/57876/
  [Collapse]Creating, Recording and Running Tests/viewarticle/56646/
   [Expand]Naming Objects/viewarticle/56265/
   [Expand]Creating Tests/viewarticle/57373/
   [Expand]Managing Tested Applications/viewarticle/57435/
   [Expand]Checkpoints and Stores/viewarticle/56266/
   [Collapse]Running Tests/viewarticle/56462/
     Running Tests - Overview/viewarticle/56553/
     Terminating Tests on Timeout/viewarticle/56564/
     Scheduling TestComplete Runs/viewarticle/56555/
     Creating Batch Runs/viewarticle/56561/
    [Collapse]Running Tests via Remote Desktop/viewarticle/55606/
      Running Tests via Remote Desktop - Overview/viewarticle/56549/
      Running Tests in Minimized Remote Desktop Windows/viewarticle/56551/
      Disconnecting From Remote Desktop Session While Running Automated Tests/viewarticle/56552/
      Smart Resizing of Remote Desktop Windows/viewarticle/56548/
     Running Tests on Locked Computers/viewarticle/56550/
     Shutting Down and Restarting Computer After Test Run/viewarticle/55428/
     Rebooting Computer and Continuing Testing/viewarticle/55089/
     Using TestComplete Indicator/viewarticle/55569/
    [Expand]Running Tests - Tips/viewarticle/56534/
   [Expand]Handling Playback Errors/viewarticle/56641/
   [Expand]Keyword Testing/viewarticle/55462/
   [Expand]Scripting/viewarticle/56245/
   [Expand]Test Visualizer/viewarticle/55007/
   [Expand]Exploring Applications/viewarticle/55055/
   [Expand]Debugging Tests/viewarticle/56567/
  [Expand]Test Results/viewarticle/55010/
  [Expand]Enhancing Tests/viewarticle/56964/
  [Expand]Teamwork and Integration Into QA Process/viewarticle/57266/
  [Expand]Extending TestComplete/viewarticle/57655/
  [Expand]Automating TestComplete/viewarticle/57438/
   TestComplete Tips/viewarticle/57877/
 [Expand]Testing Types/viewarticle/62721/
 [Expand]Applications Testing/viewarticle/62606/
 [Expand]Working With Application Objects and Controls/viewarticle/55815/
 [Expand]Samples and Tutorials/viewarticle/56239/
 [Expand]References/viewarticle/57878/
 [Expand]Other Tools That Help You Test Better/viewarticle/63442/
 [Expand]TestComplete Licensing Guide/viewarticle/63451/
Updated: 3/11/2014 Applies To: TestComplete 10 Rating: No votes Click to rate: PoorNot badAverageGoodExcellent
Running Tests via Remote Desktop

Running Tests via Remote Desktop - Overview

The Remote Desktop is a built-in Windows feature that lets you access a Windows session running at one computer from another computer. In order to use the Remote Desktop, the workstation on which TestComplete or TestExecute will be running must have special server-side software. This software may be included in the operating system (like it is included in Windows XP), or it can be a third-party software like VNC, DameWare or NetOp.

The Remote Desktop feature lets you perform a variety of tasks. For example, you can use the Remote Desktop if you need to:

  • Observe the tested application’s behavior on remote computers.

  • Run tests on remote computers.

  • Run tests on computers that are locked due to security purposes (see Running Tests on Locked Computers).

  • View and analyze results on test runs on one or several remote computers, and save them to a local computer.

  • And so on.

To run tests on Remote Desktop, follow these steps:

  1. If needed, lock the computer where TestComplete (TestExecute) is installed.

  2. Log on to the TestComplete (TestExecute) workstation via the Remote Desktop Connection from another computer.

  3. Start running tests with TestComplete (TestExecute).

TestComplete (TestExecute) will run tests in the Remote Desktop session, the same way as if they were running from the remote computer itself.

Some important notes:

  • When running GUI tests via Remote Desktop, do not disconnect from the Remote Desktop Connection session or lock the computer. Otherwise, the tests will fail. Also keep in mind that if you minimize the Remote Desktop window, the operating system switches the Remote Desktop session to the GUI-less mode and does not draw the GUI. In this case, TestComplete fails to interact with the GUI and the test fails.

    For information on how to run GUI tests while the Remote Desktop window is minimized, see Running Tests in Minimized Remote Desktop Windows. For information on how to disconnect from the remote desktop session, see Disconnecting From Remote Desktop Session While Running Automated Tests.

    These restrictions apply only to tests that involve interaction with the GUI. As for other kinds of tests, they can be successfully run if the Remote Desktop window is minimized or if you disconnect from the Remote Desktop.

  • If you need to resize the Remote Desktop window, you can do this by setting certain values for the connection properties. For more information on how to do this, see Smart Resizing of Remote Desktop Windows.

  • When running tests on a remote computer that participates in distributed testing, TestComplete creates a Remote Desktop session and automatically sets the master computer's screen resolution on the remote computer. This is done to avoid possible problems with test running.

  • You open several user sessions to the same server computer. The number of TestComplete instances that can work concurrently in sessions depends on your license.

    If you have a Node-Locked license, then only one TestComplete instance can run on the server computer at a time. That is, you can use TestComplete in one user session only.

    If you have a Floating User license, then the number of TestComplete instances that can run concurrently is determined by the license key. That is, the number of user sessions, in which you can use TestComplete, cannot exceed the limit set by the license.

    If you want to use TestComplete in several user sessions connected to the same server, we recommend that you install and use a TestComplete Floating User license for the desired number of instances on the server. Alternatively, to run tests in user sessions, you can install and use TestExecute.

See also
Running Tests via Remote Desktop | Running Tests in Minimized Remote Desktop Windows | Smart Resizing of Remote Desktop Windows | Disconnecting From Remote Desktop Session While Running Automated Tests | Running Tests | Running Tests on Locked Computers


© 2014 SmartBear Software. All rights reserved.
Email Send feedback on this document