Ideas on how to pass parms to QTP from QUICK
fernando.olmos at hpa.com.au
fernando.olmos at hpa.com.au
Tue Sep 20 18:25:16 CDT 2005
Anyone have a good programming model on how to call a QTP program from
within QUICK, but passing to it parameters (temporaries) from the
calling QUICK program?
The preferred method I used to get around this, was by using a "special"
PH dictionary record that would write text to a DAT file. I would then
rename the DAT file to BAT or COM (in VMS land) to run the batch script.
Effectively the program was building a batch script on-line and
submitting it into the queue to run.
ie:
Record: PASSTHRUREC
Schema: TEXTLINE x(255)
In quick I would have a program that would simply let TEXTLINE = "do
script command" and then I would use the RUN COMMAND to call the
appropriate batch submit command (in UNIX it's "at", in VMS it's
SUBMIT).
Unfortunately, in my new role, management won't allow me to go this way
(we don't have the PH Architect license !!) so I need to look for
alternatives. I was hoping I could use the run command with some sort of
parm passing via the QTP command, but there is no parms that allow you
to pass a value into the called QTP program.
I hope this is not too confusing.
Thanks in advance.
Fernando Olmos
M.I.S.
HPA
Direct: 03 9217 5411
Mobile: 0410 382 857
Fax: 03 9217 5716
<file:///H:/Appdata/Microsoft/Signatures/www.hpa.com.au> www.hpa.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20050921/d3ee10ab/attachment.html
More information about the powerh-l
mailing list