Forum Discussion

BjoernS's avatar
BjoernS
Occasional Contributor
14 years ago

Cant read Files with aqFile

Hi,



i want to open an xmlFile from my FileSystem and used this command:



openedFile = aqFile["OpenTextFile"](File, aqFile["faReadWrite"], aqFile["ctUTF8"]);



File is my path, this is ok (i've tested it with a TextFile direct on C:\), but every time, the message: "Unable to open the file" appears.

Yesterday i had the same problem with the aqFile.Exists()-methods. The file has a correct path, but TestComplete returns each time a "false"-value.



Can anybody help me? (Please fast, this test is very important.



Thanks from germany

Bjoern