we have 10 more actions in our test and we are using exit
action command to come out from the action if any error s
occured.In action 1 if any error occurs control is moving
to second action but if we get error in second action
exitaction is throwing general run error.

Please give a idea to overcome .



we have 10 more actions in our test and we are using exit action command to come out from the acti..

Answer / d

General Error occurs whenever QTP intercepts any object
which it fails to identify uniquely because the properties
given by you in the code matches with many of the objects
present at that time.
So, the ExitAction cannot throw such an error and this
error must be thrown by some line code before you are
actually exiting the action.
Please confirm it n then reply in case you find it nt the
case.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

how to get the object property

4 Answers   Covansys,


can i compare two databases using QTP ?

0 Answers  


How to create Reusable and Multiple Actions?

0 Answers  


How to get line numbers in your editor in expert view?

2 Answers  


What exactly a frame Work means?what are the different type of frameworks done in QTP?why the caption for QTP given as advanced keyword driven?

4 Answers   Satyam,






Hi, I will provide perticular age,it needs to enter date in text box (MM/DD/YYYY) compare to system date. or already exist data in the text box.

2 Answers   Virtusa,


Test script is generated and it is enhanced.It is required to be saved.But the disk space is insufficient.You are not permitted to delete any scripts.How are you going to save?

1 Answers   Accenture, DELL,


IF there are seven browsers with same name open. I want to close one particular browser thru QTP. how can i do this?

3 Answers   Polaris,


Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.

0 Answers   Logix,


How to find the path of folder in which the test is saved in qtp?

0 Answers  


For which type of project the iterative model is suitable?

0 Answers  


how to do regression testing in qtp? plz give ans with examples

6 Answers   TCS,


Categories