Micro Focus QTP (UFT) Forums
send arguments to 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: send arguments to qtp (/Thread-send-arguments-to-qtp)



send arguments to qtp - hadar - 02-04-2013

Hi,

I have vb script that run qtp using
Code:
Set qtApp = CreateObject("QuickTest.Application")

I have batch file that run the this vb script.

I send arguments from the batch file to vb script and that works OK.

How can I send arguments from the vb script to the QTP ?
BTW - If I define environment variable before running the batch file QTP not recognize it. why is that ?

Thanks