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

If u r using library files (Instead of Check Points) , How do u do bitmap check ?

0 Answers  


Hi, Can anyone tell me what type questions can be ashed in interview on QTP?

1 Answers  


how many maximum number of virtual users we can create?

0 Answers  


what is the difference between IE & Netscape in web testing on a log in page

0 Answers   TCS,


difference Between LowLevel and Normal Recording Modes?

4 Answers  


Have you ever written a compiled module? If yes tell me about some of the functions that you wrote.

1 Answers  


What is output value?

3 Answers  


1>How to get the browser name by writing the VBScript. 2>How did you used the GetROProperty and GetTOproperty .give real time scenario. 2>Give and real time ex for the bug having "High Severity and low priority"on banking doamin web based application.

2 Answers   Nous,


hi i need to learn qtp its very urgent..pls tell me who is the best faculty for qtp in hyd..... and i plan to go foe mindq nageshwar rao? its good or not?

2 Answers  


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

0 Answers  


i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself

4 Answers   TCS,


What is the quicktest professional (qtp) testing process?

0 Answers  


Categories