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

Answer Posted / umasankar

I don't know about Function Generator, i am sending you
info on step generator:

You can use the Step Generator to insert steps in tests and
function libraries. However, in function libraries, you
cannot use the Step Generator to access test object names
or collections, or to access the list of library functions.


After you open the Step Generator, you first select the
category for the step operation (test object, Utility
object or function) and the required object or the function
library source (for example, built-in or local script
functions). You can then select the appropriate method or
function and define the arguments and return values,
parameterizing them if required.

The Step Generator then inserts a step with the correct
syntax into your test. You can continue to add further
steps at the same location without closing the Step
Generator.

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the frame work in J-meter?

1605


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

661


Does QTP record on Objects created on XWindows Environment?

1666


Explain the concept of object repository and how QTP recognizes objects?

554


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3253






What does it mean when a check point is in red color? What do you do?

570


Can we create user defined functions in qtp?

561


What is parameter in qtp?

682


In qtp, explain what is keyword driven automation framework?

619


How many types of recording modes in qtp? Describe each type with an example where we use them?

619


Explain the difference between call to action and copy action?

525


Describe how Smart Identification is used

1700


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

1767


What is the use of running the scripts in Hidden-mode in UFT?

688


In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls

1449