| || |
Running VBScripts from Notepad
I am having a problem. I wrote a script in notepad and want to import that script to QTP and run it from there. But its giving a run time error. If I copy and paste the same script to QTP, it runs successfully. What can be the problem and how can I run it without pasting the script in QTP
Re: Running VBScripts from Notepad
Save this script as "Name.vbs"
and call it from QTP:
x = FunctionFromYourScript("param")
SubFromYOurScript ' call Sub