TestedApplication.Default

Syntax:

New TestedApplication(<ComputerName>, <Port>, <ClientID>)

Parameters:

<ComputerName> (optional)

Type: String.
Name or IP address of the computer where the tested application is running. Example: TEST1 or 165.15.27.11.
Default value: 127.0.0.1.

<Port> (optional)

Type: Number.
Specifies if an object will be initialized by default proxy settings.
If the parameter value is True, initialization of the object with the values from the file inetcfg.xml is attempted. If no such file exists, the values are taken from the system settings.
In Windows OS, the system settings input through Internet Explorer are used.
In Linux OS, the settings are taken from the following environment variables:
  • http_proxy
  • https_proxy
  • ftp_proxy
  • ftps_proxy
If no values of a variable were set, an attempt is made to obtain the proxy settings for the corresponding protocol from the environment variable all_proxy.
If environment variables contain incorrect strings, their value is ignored (the exception is not raised).
In the compatibility mode Version8_3_5 and below, no environment variable values are used.
Default value: 1538.

<ClientID> (optional)

Type: String.
The string identifying the web client on the server side.
Is not used for thin client.

Description:

Creates a new object based on the received parameters.

    

1C:Enterprise Developer's Community