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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

1673


What is quick test pro?

590


After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.

5885


How to use parameterization in qtp?

622


What is recovery scenario manager? When you go for recovery scenario manager?

595






hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1426


banking domain description for software tester for interview

3469


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

2388


What is qtpro? What is a quick test professional?

585


Explain calling sub procedure.

624


How is test case write?

576


How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?

3501


Plz Explain AUTOMATION REFERENCE MODEL?

1681


How to change the priorities of the recovery scenario properties?

595


How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

1691