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
While creating Recovery Scenario for Pop-up 
window..In 'Recovery operation' we have to call a function.
Can u tell me that function.
 Question Submitted By :: Srikanth
I also faced this Question!!     Rank Answer Posted By  
 
  Re: While creating Recovery Scenario for Pop-up window..In 'Recovery operation' we have to call a function. Can u tell me that function.
Answer
# 1
Generally for recovery scenarios I dont use functions. I 
rather use the keyword or mouse operation which is much 
simple.
However based on the question -  In order to use the 
defined function (RegisterUserFunc) we need to register the 
function such that all the objects/methods descrivbed  in 
the functions are understood.

I may be wrong too...
 
Is This Answer Correct ?    1 Yes 0 No
Dj
 
  Re: While creating Recovery Scenario for Pop-up window..In 'Recovery operation' we have to call a function. Can u tell me that function.
Answer
# 2
1. Go to TOOLS -> Recovery scenario manager.
2. Select the trigger event that caused the error(it may be 
a pop up window).
3. Identify the name of the window with the help of 
POINTING HAND.
4. Choose the operation type : KEYBOARD OR MOUSE OPERATION.
5. Select the action with the help of POINTING HAND.(e.g. 
Click on OK button to close the window.)
6. If you want to add another action then keep "Add another 
recovery scenario" check box selected else de select it.
7. In the "Post recovery test run option" select "Proceed 
to next test iteration"
8. Give scenario name & description & click on finish 
button.
9. Save the scenario.
10. Go to TEST->SETTINGS->SCENARIO TAB....and add the saved 
scenario.
11. Click on APPLY & OK button......now your test run 
smoothly.
 
Is This Answer Correct ?    1 Yes 0 No
Sreenivas.burri
 
 
 
  Re: While creating Recovery Scenario for Pop-up window..In 'Recovery operation' we have to call a function. Can u tell me that function.
Answer
# 3
see... generally we can handle those pop up window exeptions
by writing If then statement and using exist method.

for example...

If window("skdhja").dialog("text:=fahda").exist then
window("skdhja").dialog("text:=fahda").winbutton("text:=OK(or)Cancel").click
window("akdhja").close
else
<write remaining script here..
end if
like this we can handle Pop Up window exceptions...try to
get control on script rather than QTP tool..

If any queries..
nanda.dreddy@gmail.com
 
Is This Answer Correct ?    1 Yes 0 No
Nanda
 
  Re: While creating Recovery Scenario for Pop-up window..In 'Recovery operation' we have to call a function. Can u tell me that function.
Answer
# 4
If you select “Function call" option we have to select the 
file containing our library functions.
then we will have two radio buttons
1.Select function
2.Define new function
if we select the 'select function' radio button then we 
have to use the following syntax
Function (Object)
‘ recovery information and code goes here
End Function 

Example:
‘ Close the About Notepad window.
Function AboutWindow(Object)
Object.Highlight
Object.Close
End Function 


if we choose 'Define new function' then Create a new 
function by specifying a unique name for it, and defining 
the function in the Function Name box according to the 
displayed function prototype. The new function is added to 
the library file you selected.
 
Is This Answer Correct ?    0 Yes 0 No
Janani Santharaman
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Plz send one Tracebilitymatrix example? Anybody working on Realtime QTP Plz give contact deatils?  1
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop (i.e. I first connect to remote desktop from my machine in order to run the application). I am able to record the script successfully with QTP running on my machine and application running on remote. However, when i run the recorded script, system fails to run it and indicates me that it does not identify the object. Is it possible to record and play while QTP and AUT are not on same machine?  6
What is the difference between "Call to copy of action", "Call to existing action" & "Call to winrunner action"?  2
what is compiled module?  1
is qtp 9.2 supported for firefox browser3.0?bcoz when i tried to create scripts with the application run on firefox browser 3.0 then qtp 9.2 didn't ct=reate the scripts?  2
what is the difference between image and bitmap check point  3
4. what is the use of Text output value in Qtp? Wipro1
what are the metrics in general we use in testing. TCS5
HOW MANY WAYS ARE THERE TO CPY TEST IN TEST LAB IGT2
Is there any vbscript in QTP for Data Driven Test instead of using the option provided by QTP?  2
what is difference between normal mode and fast mode?  1
What is driver script and driver script in qtp frame work???? IBM1
What is the vb script when the url enter into the browser Satyam1
Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.  2
can any one explain with an example how to test Web application using qtp  2
in process of project exaplnation the defects are says frequently r not?  1
tell me about framework types and most used framework in real time. types of output value in details. diff between wr and qtp in detail.  2
How can you connect the database with QTP?  2
Explain about merging of two repositories?  3
Pls anyone, tell me the script in QTP to find the number of links, and images in a webpage. Verry very urgent. I shall really be very thankful  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