WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?

Answer Posted / umasankar

QuickTest provides a Function Definition Generator, which
enables you to generate definitions for new user-defined
functions and add header information to them. You can then
register these functions to a test object, if needed. You
fill in the required information and the Function
Definition Generator creates the basic function definition
for you. After you define the function definition, you can
insert the definition in your function library and
associate it with your test, or you can insert the
definition directly in a test script in the Expert View.
Finally, you complete the function by adding its content
(code).

If you insert the function directly in the Expert View, the
test will be able to access the function anywhere within
the specific action.

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is QTP and the use of QTP in TD?

602


How many types of run modes are there in qtp?

591


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1479


Explain object spy in qtp.

589


How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")

1425






Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

1740


What is the expert view?

557


Explain different type of event trigger option.

544


Does QTP run in any environment?

615


how to post xml data from QTP scripts to any application?

1506


QTP script is not working on other's machine..

1541


What is a data driven test in qtp?

591


What is keyword view?

566


what is supply chain management?

2091


What is the difference in the global and action sheet in qtp?

571