Micro Focus QTP (UFT) Forums
Writing Save As Files for PDF's - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Writing Save As Files for PDF's (/Thread-Writing-Save-As-Files-for-PDF-s)



Writing Save As Files for PDF's - scouthe2 - 06-16-2011

Good Morning.

I am using test scripts on a system that produce a PDF file, I need the ability to save the file as the test case name each time the test script is run.

Thanks for your help.
Smile


RE: Writing Save As Files for PDF's - BVVPrasad - 06-17-2011

Code:
strTestName = Environment("TestName")
strTestName Variable will have the name of the test case.
Hope this helps[Smile]