While creating Recovery Scenario for Pop-up
window..In 'Recovery operation' we have to call a function.
Can u tell me that function.

Answer Posted / janani santharaman

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 ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain features of the latest version of qtp/ uft 12.1?

827


Both static and dynamic arrays are handled by the vb script. Is it true?

801


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

1804


tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?

1841


Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation

1824


When to use shared and local object repository?

825


What is the difference between analog and low level recording?

848


after click on compose mail how can we attached a file in qtp with vbscript code

1888


What is Cross browser testing? Does UFT support it?

809


What is TOM in QTP?

2003


What is the difference between the keyword view and expert view?

734


Is QTP supports Unix. If yes, then how the test automation is done?

1955


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

2357


Sql questions to find second max salary and how to use joins

1265


What are the differences between table and db checkpoints?

746