Environment("ERROR_NUMBER") = Err.Number On Thu, Mar 26, 2009 at 11:20 AM, kart <karthikv...@gmail.com> wrote:
> > Hi guys, > > I have an issue here. See if you guys can help me out. > > I am trying to catch Error Number of the "Test Run Error" that can > occur in a Script having various functions ( assuming that "Test Run > Error" can occur in any of the functions) and pass it to a different > script. > The Error Number is stored in a variable "Err.Number". When the > control goes from the script in which the error occured to a different > script the value stored in "Err.Number" is setting to "0" where as i > want the actual Err.Number. > > Any suggestions towards this issue > > Regards > > Karthik V > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---