Ideas on how to pass parms to QTP from QUICK

Glenn Baxter Glenn at Baxterit.com.au
Tue Sep 20 18:55:57 CDT 2005


Hi Fernando, 

It's an old problem isn't it?

What about placing the screen temps etc in a USER_VARIABLES record written
to from the screen - if you have one, and linking to that/those record/s
from the Qtp run.

Sincerely

Glenn Baxter

=======================

Baxter IT Solutions Pty Ltd

456 Victoria Parade, East Melbourne

Victoria, Australia 3002

p: 03-9415-8733

m: 0412-826-503

f: 03-9415-8911

e:  <BLOCKED::mailto:glenn at baxterit.com.au> glenn at baxterit.com.au

=======================

  _____  

From: fernando.olmos at hpa.com.au [mailto:fernando.olmos at hpa.com.au] 
Sent: Wednesday, 21 September 2005 9:25 AM
To: powerh-l at lists.sowder.com
Subject: Ideas on how to pass parms to QTP from QUICK

 

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/e7b4169d/attachment.htm


More information about the powerh-l mailing list