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

What is positive test case and Negative Test case? What is the meaning of Real World Scenario's?

2 Answers   TCS,


suppose i can done the project in automation tool with QTP in that time what i can say?

3 Answers  


what is recovery manager and recovey scenerio?

2 Answers   BirlaSoft,


1. In build1 there is a page with two check boxes and a submit button. You have prepared a script for that page and its working fine. In Build 2 the developers have added two checkboxes in the page. Will the script prepared for Build 1 work for Build 2 or not. If yes, why and if No, why. Remember the developers have not touched the object properties of the textboxes in the page.

3 Answers   ADP,


What is the difference between Recover Scenario(screen) and on Error Resume Next(code)

4 Answers  






How do you find out whether the string is Numeric or Alpha numenric.Suppose..'QTP is an automation testing tool 12345' How should I know it is alphanumeric.Can any one please write the code for this

4 Answers  


Hi All, I am a beginner in QTP and have understood the basics of QTP by going through tutorial. I am trying to Automate a HRMIS application, What is the right approach to Automate this application. Kindly answer. Thanks in advance

1 Answers  


whare exactly we have to use functions and sub routain

0 Answers  


How can we disable smart identification at the time of recording? Ideally, smart identification should be enabled only at the run-time.

3 Answers  


Thanks....But can u tell me how i use the QTP for GIS with one Example...

0 Answers  


Could any one explain about the nested actions in QTP? This question is asked by Qualitree and CA

3 Answers   CA, Qualtree Solutions,


Whats the realtime QTP testing process

0 Answers   IBM,


Categories