Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Please explain me in detail! How to handle runtime errors
in QTP useing recovery senario or with out scenario

Answers were Sorted based on User's Feedback



Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with o..

Answer / sathish reddy

Hi friends


We can also Stop the error by using below lines

MsgBox ("Error # " & CStr(Err.Number) & " " &
Err.Description)'this lines given the error number and
Description

Err.Clear 'this will clear the Error

Is This Answer Correct ?    4 Yes 0 No

Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with o..

Answer / nanda

Let me explain with out recovery scenario,

we can handle exeptions like pop windows by using IF
ELSE statements.

for example..

if window("XXXX").dialog("XXXX").exist then

window("XXXX").dialog("XXXX").winbutton("text:=XXXX").click
window(("XXXX)).winbutton("XXXX").click
else
<put remaining script here>

end if

and also by using methods like "on error resume next,
err.number, err.raise, err.information" methods.

if any queries on this..

nanda.dreddy@gmail.com

Is This Answer Correct ?    4 Yes 2 No

Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with o..

Answer / sesha sai shivanaresh

There are 4 trigger events during which a recovery scenario
should be activated. They are
A pop up window appears in an opened application during the
test run.
A property of an object changes its state or value.
A step in the test does not run successfully.
An open application fails during the test run.
These triggers are considered as exceptions and more
details regarding how to use Recovery Manager is given in
the QTP User Guide. Since there is hardly any space to put
up snapshots

Is This Answer Correct ?    3 Yes 2 No

Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with o..

Answer / pramod mallick

and also...

If any un-expected popup window appears
Then we can close all popup windows by using kill process
by window name. There is a QTP Utility function to kill the
window by process. We can use this also.

Is This Answer Correct ?    1 Yes 1 No

Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with o..

Answer / nani

Good Naresh Keep it on.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More QTP Interview Questions

Hi Friends, Iam Beginner in QTP and i want to Try the software QTP. I checked the mercury site for QTP Trial version and i found QTP 9.0. The thing is that it supports windows 2000,Xp but not windows 98.And Iam using Windows 98 onlu and it's not possible for me to upgrade to windows 2000. Pls. guide me how to get the trial version of QTP which supports windows 98 Operating System The version may be 6.5 is ok for me.Thanks in Advance

2 Answers  


An object is created, i dont know the methods available for that object, i want to find methods available for that object and use the required method. How i can do this???

4 Answers   HCL,


Explain the concept of Output values in Quick Test Professional?

1 Answers   Crea,


where is the bitmap checkpoint be saved

3 Answers  


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

0 Answers  


Hi all , I am new at QTP I want a sample script to check validation messages(For java script or VB script) for login page with for web based application.. Any one can Help. I have to complete it in two days I need urgent help.. Ex. if I want to check mail.yahoo.com 1 > If user doed not exist it display "Username does not exist" 2> if invalid Uname and password then it display" Invalid Uname or pass" 3> Loing Sucssessfully. I want to check this types of application by using data table to give values of username and password.. Thanks

2 Answers  


What is method name to compare two XML files.

0 Answers  


wht is the difference between action and functio?

3 Answers  


WHAT AREV THE STEPS BETWEEN TEST cASE AND Script generation?

2 Answers  


How to get line numbers in your editor in expert view?

1 Answers  


Difference between image checkpoint and bitmap checkpoint

4 Answers  


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

0 Answers   Accenture,


Categories