| || |
use of SYS_FileOpen silktest to open a file.
hi can anybody tell me how to open the pdf/word/text file in Silk test using "SYS_FileOpen" in silk script....please help me.
OutputFileHandle = SYS_FileOpen ("C:\saveask.pdf", FM_WRITE)
i tried the above script line to open but it doesn't work.
Re: use of SYS_FileOpen silktest to open a file.
You're opening the file for writing. If the file does not exist, it will be created. If the file exists, it will be truncated to zero bytes, so you need to change FM_WRITE to FM_READ.
PDFs and Word docs are held in proprietary formats so you can't process them in the same manner as you would text files.