QTP return codes.
David Morrison - Corporate
dmorrison@mcbrideelectric.com
Fri, 3 Jan 2003 15:04:08 -0800
Ashley,
I haven't seen anyone answer this one, so I'll put my 2 cents. I don't know how it works on your platform, but I can get the ball rolling here.
On the AS/400, any QTP error is placed in a data area that can be retrieved. There are 6 possible error conditions. We trap for this data area every time we run QTP in Production. We do the same for QUIZ, too.
The QTP errors are
1. Parser error
2. Exception error
3. Calculation error
4. Execution error
5. File output error
6. Terminate condition error.
Good luck, and enjoy your weekend.
David Morrison
McBride Electric
-----Original Message-----
From: ashley.dawkins@wincanton.co.uk [mailto:ashley.dawkins@wincanton.co.uk]
Sent: Fri 1/3/2003 12:58 PM
To: powerh-l@lists.swau.edu
Cc:
Subject: QTP return codes.
Hi all, can anyone tell me if there is a list of return codes that QTP uses;
i.e. if QTP detects a data conversion error does it return the same as a
deadlock for example. To enlighten you to the overall scenario, I have a number
of QTP that I wish to execute from a Korn shell script and I am trying to trap
any errors before I execute the next QTP. Alternatively is there a better,
cleaner way to achieve the same ?
I am using Powerhouse 7.33.D3 on AIX running on rs6000's.
Thanks in advance
Ashley Dawkins.
______________________________________________________
Support Programmer
Wincanton Ltd, Shires House, Bythesea Road, Trowbridge, Wiltshire, BA14 8HS.
****************************************************************
Wincanton plc - delivering supply chain solutions
Wincanton plc designs, implements and operates creative solutions for
complex supply chains. Our business is based on long-term partnerships
with a broad range of customers and an in depth knowledge of their markets
and business processes. We add value to our customers operations through
our leading-edge systems expertise, a relentless focus on the highest standards
of operational performance and the skills and commitment of all our people.
www.wincanton.co.uk
****************************************************************
This e-mail and any files transmitted with it are confidential
and intended solely for the use of the individual(s) to whom it
is addressed. If you have received this e-mail in error please
contact Network Security on (44) 01454 338254 or e-mail
web.access@wincanton.co.uk
Any views or opinions expressed are solely those of the author
and do not necessarily represent those of Wincanton plc
or any of its subsidiary companies. Unauthorised publication,
use, dissemination, forwarding, printing or copying of this
e-mail and its associated attachment(s) is strictly prohibited.
Wincanton plc, Cale House, Station Road,
Wincanton, Somerset BA9 9AD.
****************************************************************
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
_________________________________________________
Scanned for viruses on 03 Jan 2003 13:23:29
No viruses found.
Virus scanning by http://erado.com