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

Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

0 Answers   ABC, scintel,


How many ways we can parameterize data in quicktest professional (qtp)?

0 Answers  


what is the another name for blackbox testing?

7 Answers  


tell me the script for envirnment value parameeter with an example. which situation envirnment valu parameter is used

2 Answers   HCL,


in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser

4 Answers   Verizon,






What are main panes available in qtp test browser?

0 Answers  


What is the use of Testing framework in Automated testing..what are different kinds of Testing frameworks available in Automated testing...

1 Answers   IBM,


When i use paramateriztion for tickets in flight reservation application , the tes'll run for first iteration but for the second iteration it'll give this details, but the second iteration is failed. Pls anyone clarify it. Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.

2 Answers  


Hi all, Recently i faced this question in infosys What is QTP architecture?? Is Architecuture and Framework are same?? Can someone please give clear understanding of this.

3 Answers   Infosys,


Hi, My Application in Microsoft Dynamic Navision, is it compitibale with QTP? if yes then let me know...and also let me know is there any other automation tool availabe to automate Microsoft Dynamic Navision. Thanks Sandip. +91-9714177088

1 Answers  


I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?

0 Answers  


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

0 Answers  


Categories