aqFile Object Methods

Applies to TestComplete 15.62, last modified on March 14, 2024

The aqFile object contains the following methods:

Method List

Name Description
Compare Compares two specified files.
Copy Copies the specified file to a new location.
Create Creates a new file with the specified name.
Delete Deletes the specified file.
Exists Indicates whether the specified file, folder or drive exists.
GetCreationTime Returns the time when the specified file was created.
GetFileAttributes Returns the attributes of the specified file.
GetLastAccessTime Returns the time when the specified file was last accessed.
GetLastWriteTime Returns the time when the specified file was last modified.
GetSize Returns the size of the specified file.
Move Moves the specified file to a new location.
OpenBinaryFile Opens the specified file in binary mode.
OpenTextFile Opens the specified file in text mode.
ReadWholeTextFile Reads the whole contents of the specified text file into a single string.
Rename Renames the specified file.
SetCreationTime Sets a new creation time for the specified file.
SetFileAttributes Assigns new attributes to the specified file.
SetLastAccessTime Sets a new time when the file was last accessed.
SetLastWriteTime Sets a new time when the file was last written to.
WriteToTextFile Writes a string to the specified text file.

See Also

aqFile Object

Highlight search results