How the exception handling can be done using QTP

Answers were Sorted based on User's Feedback



How the exception handling can be done using QTP..

Answer / mukesh

QTP provides Recovery Scenario manager for exception
handing..its open a wizard u just go through that wizard
step by step and save ur recovery scenario for that current
test or for all.

Is This Answer Correct ?    1 Yes 0 No

How the exception handling can be done using QTP..

Answer / mogal

Exception Handling is done in QTP by using

1.Recovery scenorios(Resources-->Recovery scenario Manager-->)
a.Triggered Event
b.Recovery operation
c.post recovery operation

2.synchronization methods(wait,wait property,exists like methods etc)

3. conditional statements( if,for,while etc)

4. on error resume next and on error goto 0.

Is This Answer Correct ?    1 Yes 0 No

How the exception handling can be done using QTP..

Answer / ycy

If u don't want use Recovery scenario
You create the exception steps as an reusabel action and u
call that action whereever u need to handle the exception
in the script.

Is This Answer Correct ?    1 Yes 1 No

How the exception handling can be done using QTP..

Answer / rafi

Using recovery scenario we can handle all types of
exception handling

Is This Answer Correct ?    0 Yes 0 No

How the exception handling can be done using QTP..

Answer / raghu

Recovery scenario is the best solution to handle the
Expceptional Handling. Previously in Winrunner there is a
concept of expceptional handling but in QTP it is overcomed
by Recovery Scenario concept.

Is This Answer Correct ?    0 Yes 0 No

How the exception handling can be done using QTP..

Answer / sreeprasad

It can be done Using the Recovery Scenario Manager which

provides a wizard that gudies you through the process of

defining a recovery scenario. FYI.. The wizard could be

accesed in QTP> Tools-> Recovery Scenario Manager .......

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More QTP Interview Questions

What is object state in trigger events,in recovery scenario.write a script to handle this.

0 Answers  


Have you done batch testing in qtp? If yes how you are doing?

0 Answers  


i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression

0 Answers  


can we run the scripts of QTP8.2 in QTP7.0?

1 Answers  


I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?

5 Answers   Rogers,






how to call multiple scripts in QTP at a time

3 Answers   IBM,


Give a comment on Regular Expressions using QTP?

4 Answers  


How to add a page checkpoint to your test?

1 Answers  


If you are using descriptive programming and you have two objects with the same name, so you are identiying them by name and index, how can you avoid errors if a third object with the same name is added at the begining of the page?

4 Answers  


How to capture a window in QTP?

0 Answers   IBM, Mphasis,


what are the different kinds of frameworks in automation?

1 Answers   Accenture,


1. What is diffrence between Analog Recording And Lomlevel Recording ?

4 Answers  


Categories