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 are the advantages of Object Repository?

0 Answers  


WE ARE PLANING TO DESIGN AUTOMATION FRAME WORK. HOW TO CALL CONFIGURATION SCRIPT FILE(.VBS) FROM DRIVE SCRIPT FILE(.VBS)

1 Answers  


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

0 Answers  


when do we write a script in qtp?(plz give me more then 2 reasons)

1 Answers  


what kind of frame work you used in your last project?

0 Answers   Deloitte,






How open an excel sheet in QTP(not a run time )?

4 Answers   Tech Mahindra,


How many actions we can write in a test?

7 Answers   TCS,


i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet

0 Answers   IBM,


What are Error handling other than Recovery scenario manager?

3 Answers  


how will b the questions if we keep one QTP project in CV.please tell me iam attending an interview.

3 Answers   IBM, Questacon,


What is Object Spy?

7 Answers   JKH, Ordain Solutions,


actually how many hours per one day we will work on automation (qtp) in real time

1 Answers   Synechron,


Categories