Utilities.FileExists Method

Applies to TestComplete 14.30, last modified on November 21, 2019
This method is obsolete. See the Remarks section below.

Description

Use the Utilities.FileExists method to obtain whether the file specified by the full name exists.

Declaration

Utilities.FileExists(FileName)

FileName [in]    Required    String    
Result Boolean

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

FileName

Specifies the full name of the file whose existence should be obtained.

Result Value

True if the specified file exists. Otherwise, False.

Remarks

This method is obsolete. It is supported for backward compatibility only. To check whether a particular file exists on the disk, use the aqFileSystem.Exists or aqFile.Exists method.

See Also

aqFileSystem.Exists Method
aqFile.Exists Method
aqFileSystem.FindFiles Method
aqFile.Create Method
aqFile.Delete Method
aqFileSystem.DeleteFile Method

Highlight search results