QTP return codes.
Chris Sharman
chris.sharman@ccagroup.co.uk
Mon, 6 Jan 2003 11:20:52 -0000
> -----Original Message-----
> From: ashley.dawkins@wincanton.co.uk
> [mailto:ashley.dawkins@wincanton.co.uk]
> Sent: 06 January 2003 10:17
> To: powerh-l@lists.swau.edu
> Subject: QTP return codes.
>
>
> Hi all, can anyone tell me if there is a list of return codes
> that QTP uses;
Yes. The handbook details error/exit statuses (stati?) - separate lists for
VMS & Unix in my handbook, pages 68 & 71.
> 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 ?
The request statement allows you to specify actions to take on some
conditions:
request ... on {calculation|edit|exception} errors {report|terminate
{request|run}}
(with the proviso that you can't just report exception errors).
This would allow you to put the requests together into one run, and have qtp
handle the errors.
Chris
>
> I am using Powerhouse 7.33.D3 on AIX running on rs6000's.
> Thanks in advance
>
> Ashley Dawkins.
-----------------------------------------------------------------------
Any views expressed in this message are those of the sender and not
necessarily those of CCA Group. The unauthorized use, disclosure,
copying or alteration of this message is forbidden. The contents of
this message may be confidential and/or privileged, copyright CCA Group
and are intended solely for the use of the individual or entity to whom
they are addressed. Whilst this message has been scanned, CCA Group
cannot guarantee that it is virus free or compatible with your systems
and accepts no responsibility for any loss or damage arising from its
use. The recipient is advised to run their own anti-virus software. If
you receive this message in error please contact
postmaster@ccagroup.co.uk immediately, destroy any copies and delete it
from your computer systems.