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

What are the methods of the TextStream object that are used for reading from a text file?

1690


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

1630


can test automation improve test effectiveness?

1489


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

1510


Difference between test object and run time object?

596






Which functionalities of QTP used in banking project?

1931


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

1734


What is checkpoint in qtp?

556


What is keyword view in qtp?

554


What is the virtual object?

649


How to import a test case present in ".xls" file to TD under a Test set?

753


hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale

1511


What is a quick test professional?

638


Explain runtime dynamic settings?

2028


What is the difference between call to existing action and copy of an action?

606