How to do excception handling ( error handling ) in QTP

Answers were Sorted based on User's Feedback



How to do excception handling ( error handling ) in QTP..

Answer / nanda

Generally we do the exception handling by using IF..Then
statement.

for example..

If Browser("XXXX").Window("Text:=XXXXX").Exist Then
Browser("XXXX").Window("Text:=XXXXX").Close
End If

Like this..

If any queries...

nanda.dreddy@gmail.com

Is This Answer Correct ?    9 Yes 2 No

How to do excception handling ( error handling ) in QTP..

Answer / sdfs

In fact, we don't use recover scenarios much, we use them
very very rare.

We should write our own code to handle them.
Depends on the situation we should write
PopUPClose function etc.

Regards
Patil
Jai Ganesh Maharaj Ki...

Is This Answer Correct ?    5 Yes 1 No

How to do excception handling ( error handling ) in QTP..

Answer / qtp tester

Using Recovery Scenario method we can handle
unexpected /expected popups at run time.Always writing
<IF...Exist> condition code is not good.

Is This Answer Correct ?    4 Yes 1 No

How to do excception handling ( error handling ) in QTP..

Answer / hariknows

Using recovery scenarios, we can capture the error pop up
windows , and handle the errors and procced to next step
during the recording session.

Is This Answer Correct ?    8 Yes 6 No

How to do excception handling ( error handling ) in QTP..

Answer / anu

In middle of the coding means where that error foud after
that we r using on error go to EXIT

Is This Answer Correct ?    2 Yes 4 No

How to do excception handling ( error handling ) in QTP..

Answer / raja

Using recovery scenarios, we can capture the error pop up
windows , and handle the errors and procced to next step
during the recording session.

Is This Answer Correct ?    3 Yes 8 No

Post New Answer

More QTP Interview Questions

how to write xml output check point bu useing descriptive programing .means without useing output check point

0 Answers  


in Qtp,how to display user name and pwd (script)in data table(global sheet).

2 Answers  


how to call a funtion in a script? i have saved the login scipt in notepad. with extension .vbs. But when i am calling the function with the keyword CALL <Function Name>. its not working out. can any one give me a clue how to call the external functions. with example.

3 Answers  


give the code to count child objects (Total) in the page

1 Answers  


how to know no.of mails in our g mail by using vb-script

0 Answers   HP, Thinking Hats,






Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?

3 Answers  


In an output value text checkpoint, where does the output value stored by default ?

4 Answers   Ordain Solutions,


Hi Can u plz suggest who is the Best Faculty for Advanced QTP Scripting in Hyderabad ,plz suggest me..... or send me a replay to satheesh.goli@gmail.com, r make me a call 9866335752

1 Answers   AppLabs,


Give the syntax to load function at run time.

0 Answers  


WHO IS THE BEST FACULTY FOR QTP IN HYDERABAD? A) NAGESHWAR RAO- MINDQ B) SURESH REDDY -SMART SOLUTIONS C) SURESH BABU- Q EDGE D) VENKAT - LIVE TECH E) GC.REDDY - HI-TECH CITY F) NONE OR OTHERS

7 Answers  


How do u write script in qtp? where do u write?

2 Answers  


does QTP provides any tools for parametrisation?

4 Answers  


Categories