Calling a QTP process from a screen - Axiant 2.03

Chris Sharman Chris.Sharman@ccagroup.co.uk
Wed, 15 Sep 1999 16:07:23 +0100


>I have a process with a CHOOSE which prompts for two items.  Is it 
>possible to call the same or slightly modified run from a screen which 
>passes a value for each item?  If so, how would one go about doing 
>this.  I'm running a thick client against Interbase 5.5 on HP-UX.

Use systemvalue rather than parm.
Either have two different .qtc's (compiled from two .qts's, or one with
conditional compilation), or just one, and move the prompts to a shell script
(a .com in vms terms, don't know on hp-ux).

Invoke from Quick with:

 if setsystemval("PARM1",...) and &
	setsystemval("PARM2",...)
  then run command "qtp auto=myprog"
  else error "Can't set parameters - call IT"

>From the command line use a shell script to prompt for & define the same
values.
_______________________________________________________________________
Chris.Sharman@CCAgroup.co.uk		http://www.ccastat.demon.co.uk/
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.