Write Procedure

Applies to TestComplete 15.42, last modified on September 08, 2022

The Write procedure writes the specified text to the desired file.

Declaration

Write(FileVarVar) Parameters
FileVar [in] Required Variant
Var [in] Required String
Result     None  

Description

Writes text that holds the specified variable to the file associated with the file variable. If the procedure is called more than once, the variables are written one by one. See also WriteLn.

Note: The specified file must be open for output.

Parameters

The procedure has the following parameters:

FileVar

Specifies the file variable, which is associated with an external file by calling the AssignFile procedure.

Var

Specifies the variable that holds the text to be added to the specified file.

See Also

DelphiScript - List of Supported Routines and Variables
Read
ReadLn
WriteLn

Highlight search results