What is the difference between functions and actions in
QTP?
Answer Posted / buvan
Action can contain Object Repositary, Data Table and Active
Screen etc....
Function doesn't have these features
Action is Internal to QTP
Function is Just Lines of code.
Action Can/Can't be Resuable
Functions are always Resuable
Action Paramenter have default values
Function don't have any default value
Action parameter type are ByValue
Functions can be passed ByRef
Action can have multiple returning values
Function can return only single value
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what is impact analysis on regression testing?
Why is action split used by qtp?
What is qtpro? What is quick test pro? What is a quick test professional?
give me an example where u used good judgement and logic in solving a problem
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
What will be happen if i load object repository at run time, but it has already associated.
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
Explain about datafile/verification of date file when file is not available in local system?
How to release all resources file from the QTP?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
could any help me please, how to work on visual foxpro application using UFT
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
How you debug your script?
In qtp, how you can exit for loop?
What is keyword driven framework?