Forum Discussion

harsh_chhibber's avatar
harsh_chhibber
Contributor
10 years ago

How to read .ics file with Test complete.Please suggest solution for same.

How to read .ics file with Test complete.Please suggest solution for same.

1 Reply

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    Not sure what do you mean as "read", but if you need to open the file using the default program, then something like (VBScript)

    CreateObject("WScript.Shell").Run "AFileName.ics", 1, True

    should to it.

    If you need to read the file as a binary/bytes stream, then OpenBinaryFile/OpenTextFile methods of the aqFile object should be considered.