Micro Focus QTP (UFT) Forums
Calling a JS function which is externally located using a VBScript Func in QTP - 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: Calling a JS function which is externally located using a VBScript Func in QTP (/Thread-Calling-a-JS-function-which-is-externally-located-using-a-VBScript-Func-in-QTP)



Calling a JS function which is externally located using a VBScript Func in QTP - HishSingalaxana - 11-09-2010

Hi,

I need to call a JS function which is in a js file externally located on a server. This function needs to be called from a vbscript function in my function library in my QTP automation framework.

My question is, How can I write a vbscript function to call a js function in a js file which is externally located.

Thank you

Hisham