ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
Please explain me in detail! How to handle runtime errors 
in QTP useing recovery senario or with out scenario
 Question Submitted By :: Jaya
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with out scenario
Answer
# 1
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 ?    1 Yes 1 No
Sesha Sai Shivanaresh
 
  Re: Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with out scenario
Answer
# 2
Good Naresh Keep it on.
 
Is This Answer Correct ?    1 Yes 3 No
Nani
 
 
 
  Re: Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with out scenario
Answer
# 3
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 ?    3 Yes 2 No
Nanda
 
  Re: Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with out scenario
Answer
# 4
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 ?    3 Yes 0 No
Sathish Reddy
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How to enter table check points?  2
I have test cases in excel sheet but i am using quality center.How can i copy the testcases from excel sheet to quality center?explain this process. TCS2
What are the problems / difficulties faced when you used Smart Identification ? Keane-India-Ltd1
. My application is updating the user information in the application. Every time it is Adding on record in my application and Validating the information like “Record has added successfully”. Which Check point I have to put in this situation? Why? Polaris4
can we test an windows application using qtp  1
How to connect to the Database from QTP? Thatavarti-Technologies7
is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?  1
Hi all, I am New to QTP . I am Now in critical situtaion. I want to know How to create our own object respository for our application. please say the answer with example.  3
What is keyword view and Expert view in QTP? Ordain-Solutions5
In Object Repository, two actions r there. Action1 name is A.tsr, Action2 name is B.tsr. Is it Possible? if Yes, what is the out put of A+B? if No, why? Kanbay2
Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!  2
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??? HCL4
setroproperty and getroproperty difference Ordain-Solutions3
Hi Friends, If you got one Bug , and you are insert that bug in bug tracking tool , and you need to attach SC's (screen shots) also. how to tae SC's , in your organization any separate tools available to take SC's. please provide Ans. its urgent... Thanx in advance  3
Why do you choose only QTP for your project automation among remaining tools like Rational robot and silk test? CTS1
with out object repository i need to launch IE and then navigate to a login page and then operate the objects within the page. How will be the script? Ordain-Solutions2
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME Ordain-Solutions3
How to load object properties to object repository through scripting.give one example IBM6
What is the extension of script and object repositary files?  2
How to record right click of a context menu and click on the selection ?  2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com