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

Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

1524


How does quicktest professional (qtp) identifies the object in the application?

790


How do client side image and server side image work?

1617


What are the features supported by UFT?

866


Explain hybrid framework with advantages and disadvantages?

784


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

1964


HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...

2635


What is the difference between byref and byval in qtp?

812


How can i initiate the objects to find uniquely in OR

1698


Limitations in QTP?

1939


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

749


How to break the object spy ?

902


How to use conditional loops in qtp ?

802


banking project description for software tester

7249


How to find array size in qtp?

788