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 do you to script when objects are removed from application?

0 Answers  


In qtp, how you can remove the spaces from string?

0 Answers  


What is the difference between driver-script and AOM-script?

2 Answers   IBM, Value Labs,


Why you have to add the specific add in in QTP? My answer is to recognize the specific objects we have to add the add-in in QTP...but he asked again after adding addin how qtp recognize the objects successfully? what is there in the add-in ?

1 Answers   CTS,


What are metrics and matrix?

0 Answers  


Hi Friends, Every one is posting the Answers for the existing questions.Try to post the questions that are asked in Recent Interviews.It will be useful to the other Job seekers.

1 Answers  


Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak

0 Answers  


Can we test GUI of the application using QTP.? How.?If possible briefly explain process.?

1 Answers   Wipro,


i can done the project with QTP in that time i can say how many members in my team size?

0 Answers  


can i automate java web application using qtp web addin only not using java addin

1 Answers   Infosys,


Why we are going for descriptive programming ? I answered as 'If objects are not present in OR we will go for descriptive Programming'? Is this correct ?

3 Answers   Polaris,


Which property will you use to check the object state? (Exist)

2 Answers   Symphony,


Categories