Micro Focus QTP (UFT) Forums

Full Version: How to import/include other scripts files in QTP script?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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,
Yes, We can do the similar thing using ExecuteFile statement in QTP
ExecuteFile (<<your file Path>>)