External File (.vbs) - 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: External File (.vbs) (/Thread-External-File-vbs) |
External File (.vbs) - shriqtp - 09-18-2009 Hi, VBS File path. for ex: C:\s.vbs I don't want configure the s.vbs file in File - Settings - Resources - Associate Functional Libraries. But still i want to use it in test. Can it possible to write any code/script to get external .vbs file into test withough configuring from File - Settings....? Can anyone please provide me the code for that? Thanks Shrini RE: External File (.vbs) - manabh - 09-18-2009 Hi, Use ExecuteFile(FileName) statement. In this case you don't need to add this file in resources. RE: External File (.vbs) - shriqtp - 09-18-2009 Yup.....its working ok. Thanks for the help. Shrini |