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 active screen?

564


Tell me one scenario, the complex functionality you have automated in your project?

1475


Explain the difference between check point and output value?

494


what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?

1554


How to analyzing test results using quicktest professional?

568






How to get the particular property value?

612


Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

1560


what is vmodel?advantages and disadvantages of vmodel?

1614


How to change the priorities of the recovery scenario properties?

595


What is smart identification in QTP?

630


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

1771


Can any one send me the QTP Basic Coding Samples?

1614


What is the qtp testing process?

596


What is an expert view and keyword view?

570


How to write business scripts using object repository with different scenarios

1388