Error Checking on UNIX

Rohde, Dirk Dirk.Rohde at vpgroup.com
Mon Feb 6 13:36:56 CST 2006


Checking for the Unix environment variable not equal to zero after
running a qtp program indicates some kind of qtp failure:

qtp auto=someprogram.qtc
if [[ $? != 0 ]]
then
        echo 'QTP Error - Program someprogram Aborted'
fi

-----Original Message-----
From: powerh-l-bounces+dirk.rohde=vpgroup.com at lists.sowder.com
[mailto:powerh-l-bounces+dirk.rohde=vpgroup.com at lists.sowder.com] On
Behalf Of Blair Combs
Sent: Monday, February 06, 2006 11:26 AM
To: Powerhouse Listserv
Subject: Error Checking on UNIX

We are migrating to UNIX from MPE.

On MPE we use a combination of JCWs and VARs in command files to
determine if a Quiz or Qtp completed successfully before continuing.

What is the best approach to determine successful completing on UNIX?

-- 

Blair Combs
Idaho State University

-- 

= = = = = = = = = = = = = = = = = = = = = = = = = = = = Mailing list:
powerh-l at lists.sowder.com
Subscribe: "subscribe" in message body to
powerh-l-request at lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.



More information about the powerh-l mailing list