*If the error is predicted, then we can use "On error resume next" and it the error is unpredictable then we can use recovery scenarios.*
*Thanks,* *Prasad G* *http://qaonlinetrainings.webs.com* On Thursday, February 13, 2014 12:58:12 PM UTC+5:30, Shantanu Joshi wrote: > > Hi All, > > One interview question related to error handling: > > Question : There is a 50 lines of code in vb script in one of my actions > in qtp. The probable error is going to occur in between line 11 to 20. You > dont know what the exact line no where the error is going to occur. How > would you handle this situation in vb script through error handling? > > Thanks in advance!! > > Regards, > Shantanu > -- -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
