Forum Discussion

Kanwar's avatar
Kanwar
Occasional Contributor
5 years ago

How to open any file from desktop in keyword test

Hi, I want to open a PDF file from desktop using keyword test operation. For this which operation can I use? I tried aqFile.OpenTextFile and it ran without an error but file didn't open.

TanyaYatskovska Marsha_R 

 

thanks

 

  • Can you get a text version of the document and save it in the same place as the pdf?  That way you can still make sure that the storage area is accessible to TC and you can compare a text file rather than a pdf.  It's not exactly the same test, but I'm guessing that you are more interested in the content of the document rather than the fact that it's stored as a pdf.