how can u find the syntax errors or other script errors in
your test during the execution of your QTP Test - (i.e.,
not after the execution/test run finished, but before
finishing the test run)

Answer Posted / nath t

we can findout errors before finishing the test run by
using Err Object.

Example:
On Error Resume Next
Err.Raise 6 ' Raise an overflow error.
MsgBox ("Error # " & CStr(Err.Number) & " " &
Err.Description)
Err.Clear ' Clear the error.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is meant by source control?

1795


could any help me please, how to work on visual foxpro application using UFT

1863


How do you send email with attachment from outlook using qtp ?

646


Is it possible to call from one action to another action in qtp?

677


What is keyword view?

661






What is object spy in quicktest professional?

709


Without using gui map editor we can recognize the application in winrunner ?

700


Object repositories types, which and when to use?

692


who QTP recognizes the object stored in object repository?

1745


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

731


Does QTP run in any environment?

694


how did u use automating testing tools in ur job?

1574


What environment does qtp run in?

701


what is the structure for the data driven framework

1575


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

1915