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)

Answers were Sorted based on User's Feedback



how can u find the syntax errors or other script errors in your test during the execution of your ..

Answer / 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

how can u find the syntax errors or other script errors in your test during the execution of your ..

Answer / gabbar singh

CTRL+F7 SYNTAX CHECK. or click on syntax check icon

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More QTP Interview Questions

On what document base Descriptive programming is written if build is not yet ready ?

0 Answers  


where we are going to write the descriptive programming.for example we are invoking qtp application where we are going to write that code

3 Answers  


what is vmodel?advantages and disadvantages of vmodel?

3 Answers   AZTEC, scintel,


How many add-ins comes by default with qtp?

0 Answers  


Why qtp the best testing tool?

0 Answers  


What are "Ordinal Identifiers" and where it is used in QTP. AS FAR AS i KNOW, its is used to identify the object. but i want clarity regarding this.

2 Answers  


There is an excel file of 1 to 100 sheets how you will iterate through it?

0 Answers  


The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open user which i have created its in hurry.....

1 Answers  


When to use descriptive programming?

0 Answers  


object types is used for what?

1 Answers  


If I change the property value at runtime is it effect is object repository?

0 Answers  


How many types of parameters are available in quicktest professional?

0 Answers  


Categories