NetworkSuite.SharedPath Property

Applies to TestComplete 15.47, last modified on January 20, 2023
The Network Suite functionality is deprecated. We don’t recommend using it for distributed testing. Consider using a CI/CD system for managing distributed tests. See Migrating Distributed Tests to CI/CD Systems for details. In case you need to run web tests on multiple environments in parallel, you can also try using your project’s Execution Plan.

Description

The SharedPath property specifies the local path to the master computer's folder that you want to be shared during the test run.

Once the network suite is initialized, the specified folder becomes shared and the read and write permissions are set for it. Shared access to the folder is canceled once the master project is closed in TestComplete, or once the value of the Shared Path property of the master’s network suite is changed. If the network suite run is interrupted, the folder remains available on the network.

Note: We do not recommend that you use the property to share resources or projects located on the master computer among slave computers. This approach is obsolete.

If the projects to be run on slave computers or the resources used by slave projects reside on the master computer, you can configure TestComplete to copy them to the slave computers automatically once the test starts. You can also copy them manually from the TestComplete IDE or from tests by using the Hosts.CopyProjectToSlave method. For more information, see Copying Slave Projects to Remote Computers.

Declaration

NetworkSuite.SharedPath

Read-Write Property String

Applies To

The property is applied to the following object:

Property Value

A string that represents the path to the local folder to be shared.

See Also

Distributed Testing
NetworkSuite.ProjectType
NetworkSuite.Tag
Host.CopyProjectToSlave
Editing Task Properties
Copying Slave Projects to Remote Computers

Highlight search results