Micro Focus QTP (UFT) Forums
How to pass in Input Parameters on the command line? - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to pass in Input Parameters on the command line? (/Thread-How-to-pass-in-Input-Parameters-on-the-command-line)



How to pass in Input Parameters on the command line? - Victor Norman - 03-11-2009

I've found that I can launch a QTP script using cmdrv.exe -usr <testname.usr>

and I've read the list of command-line options for cmdrv.exe, which includes

[user parameters]

But I haven't figured out how to pass in Input Parameters.

I have my Input Parameters defined, and they do work when I run the test from within QTP. But, if I run from the command-line, they do not work.

Does anyone know?

Thanks.

Vic Norman