Micro Focus QTP (UFT) Forums

Full Version: External File (.vbs)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Hi,
Use ExecuteFile(FileName) statement. In this case you don't need to add this file in resources.
Yup.....its working ok.

Thanks for the help.

Shrini