Micro Focus QTP (UFT) Forums
How to import/include other scripts files in QTP script? - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: How to import/include other scripts files in QTP script? (/Thread-How-to-import-include-other-scripts-files-in-QTP-script)



How to import/include other scripts files in QTP script? - Star - 07-28-2009

How to import files in QTP script?
Hi,

How to import files in QTP script? like we can import/include different files in other tools like in C, we use #include to include files. How can we do this in QTP? Is it possible to import/include files(QTP script files) in QTP?

Thanks,


RE: How to import/include other scripts files in QTP script? - Saket - 07-28-2009

Yes, We can do the similar thing using ExecuteFile statement in QTP
ExecuteFile (<<your file Path>>)