<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD><TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2722" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType name="country-region"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="City"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="place"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="State"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
        FONT-WEIGHT: normal; COLOR: blue; FONT-STYLE: normal; FONT-FAMILY: Tahoma; TEXT-DECORATION: none; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-AU vLink=blue link=blue>
<DIV><SPAN class=311591000-21092005><FONT face=Arial color=#0000ff size=2>Thanks
for the suggestion Glenn, but that is what I would have preferred to do. We
don't have such a record, otherwise I would have gone that way
already.</FONT></SPAN></DIV>
<DIV><SPAN class=311591000-21092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=311591000-21092005><FONT face=Arial color=#0000ff size=2>I need
a solution that does NOT involve using record passing via an actual record/data
file. However, you did give me an idea, and that is to create environment
variables from QUICK (using RUN COMMAND "define var = 'value'") and then
interrogating the variable using GLOBAL TEMP in the QTP. Messy, but may
suffice.</FONT></SPAN></DIV>
<DIV><SPAN class=311591000-21092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=311591000-21092005><FONT face=Arial color=#0000ff
size=2>Thanks</FONT></SPAN></DIV>
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Glenn@Baxterit.com.au
[mailto:Glenn@Baxterit.com.au] <BR><B>Sent:</B> Wednesday, September 21, 2005
9:56 AM<BR><B>To:</B> Fernando Olmos<BR><B>Cc:</B>
powerh-l@lists.sowder.com<BR><B>Subject:</B> RE: Ideas on how to pass parms to
QTP from QUICK<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Hi Fernando,
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">It’s an old problem
isn’t it?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">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.<o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><STRONG><B><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Sincerely</SPAN></FONT></B></STRONG><FONT
color=blue><SPAN style="COLOR: blue"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><FONT face=Tahoma color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Tahoma">Glenn
Baxter</SPAN></FONT></B></STRONG><FONT color=blue><SPAN
style="COLOR: blue"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><FONT face=Tahoma color=teal size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: teal; FONT-FAMILY: Tahoma">=======================</SPAN></FONT></B></STRONG><FONT
color=blue><SPAN style="COLOR: blue"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><FONT face=Tahoma color=gray size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: Tahoma">Baxter IT Solutions
Pty Ltd</SPAN></FONT></B></STRONG><FONT color=blue><SPAN
style="COLOR: blue"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><FONT face=Tahoma color=gray size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Tahoma">456 <st1:State
w:st="on">Victoria</st1:State> Parade, <st1:place w:st="on">East
Melbourne</st1:place></SPAN></FONT></B></STRONG><FONT color=blue><SPAN
style="COLOR: blue"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><STRONG><B><FONT
face=Tahoma color=gray size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Tahoma">Victoria</SPAN></FONT></B></STRONG></st1:City><STRONG><B><FONT
face=Tahoma color=gray size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Tahoma">, <st1:country-region
w:st="on">Australia</st1:country-region></SPAN></FONT></B></STRONG></st1:place><STRONG><B><FONT
face=Tahoma color=gray size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Tahoma">
3002</SPAN></FONT></B></STRONG><FONT color=blue><SPAN
style="COLOR: blue"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><FONT face=Tahoma color=gray size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Tahoma">p:
03-9415-8733</SPAN></FONT></B></STRONG><FONT color=blue><SPAN
style="COLOR: blue"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><FONT face=Tahoma color=gray size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Tahoma">m:
0412-826-503</SPAN></FONT></B></STRONG><FONT color=blue><SPAN
style="COLOR: blue"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><FONT face=Tahoma color=gray size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Tahoma">f:
03-9415-8911</SPAN></FONT></B></STRONG><FONT color=blue><SPAN
style="COLOR: blue"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><FONT face=Tahoma color=gray size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Tahoma">e:</SPAN></FONT></B></STRONG><STRONG><B><FONT
face=Tahoma color=teal size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: teal; FONT-FAMILY: Tahoma"> </SPAN></FONT><FONT
color=teal><SPAN style="COLOR: teal"><A title=mailto:glenn@baxterit.com.au
href="BLOCKED::mailto:glenn@baxterit.com.au"><FONT
title=mailto:glenn@baxterit.com.au face=Tahoma size=1><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma">glenn@baxterit.com.au</SPAN></FONT></A></SPAN></FONT></B></STRONG><FONT
color=blue><SPAN style="COLOR: blue"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><FONT face=Tahoma color=teal size=1><SPAN
style="FONT-SIZE: 7.5pt; COLOR: teal; FONT-FAMILY: Tahoma">=======================</SPAN></FONT></B></STRONG><o:p></o:p></P></DIV>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN lang=EN-US style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> fernando.olmos@hpa.com.au
[mailto:fernando.olmos@hpa.com.au] <BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, 21 September 2005 9:25
AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B>
powerh-l@lists.sowder.com<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> Ideas on how to pass parms to QTP
from QUICK</SPAN></FONT><SPAN lang=EN-US><o:p></o:p></SPAN></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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?</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The
preferred method I used to get around this, was by using a "special"<B><SPAN
style="FONT-WEIGHT: bold"> PH dictionary record</SPAN></B> 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.</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ie:</SPAN></FONT>
<BR> <FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Record: PASSTHRUREC</SPAN></FONT>
<BR> <FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Schema:
TEXTLINE x(255)</SPAN></FONT>
<o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">In
quick I would have a program that would simply</SPAN></FONT><B><SPAN
style="FONT-WEIGHT: bold"> </SPAN></B><B><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">let TEXTLINE =
"do script command"</SPAN></FONT></B> <FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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).</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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.</SPAN></FONT><o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I
hope this is not too confusing.</SPAN></FONT> <o:p></o:p></P>
<P><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks in advance.</SPAN></FONT>
<o:p></o:p></P>
<P><I><FONT face=Arial color=blue size=4><SPAN
style="FONT-SIZE: 13.5pt; COLOR: blue; FONT-STYLE: italic; FONT-FAMILY: Arial">Fernando
Olmos</SPAN></FONT></I> <BR><B><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">M.I.S.</SPAN></FONT></B>
<o:p></o:p></P>
<P><B><FONT face=Arial color=blue size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">HPA</SPAN></FONT></B><FONT
face=Arial><SPAN lang=EN-US style="FONT-FAMILY: Arial"><BR></SPAN></FONT><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Direct: 03 9217
5411</SPAN></FONT><SPAN lang=EN-US><BR></SPAN><st1:City w:st="on"><st1:place
w:st="on"><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Mobile</SPAN></FONT></st1:place></st1:City><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">:
0410 382 857</SPAN></FONT><FONT face=Arial><SPAN lang=EN-US
style="FONT-FAMILY: Arial"><BR></SPAN></FONT><FONT face=Arial color=black
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Fax:
03 9217 5716</SPAN></FONT> <o:p></o:p></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><A
href="file:///H:\Appdata\Microsoft\Signatures\www.hpa.com.au"><B><FONT
face=Arial size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">www.hpa.com.au</SPAN></FONT></B></A>
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV></BODY></HTML>