Utilities.FileExists Method

Applies to TestComplete 15.45, last modified on December 01, 2022
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

Exists Method
Exists Method
FindFiles Method
Create Method
Delete Method
DeleteFile Method

Highlight search results