Answer Posted / deven
♦It returns single value.
♦ we can call functions within actions but we can't call
actions within functions
♦ Generally functions are saved with ".vbs" extension
whereas actions will save with ".mts".
♦ Every Action will have its own Datatable whereas function
does not.
♦ Action can have a object repository associated with it
while a function can't. A function is just lines of code
with
some/none parameters and a single return value while an
action can have more than one output parameters.
♦ Action can contain Object Repository, Data table, Active
screen etc. whereas function do not have these features.
♦ Action is internal to QTP whereas Function is just lines
of code with some/none parameters and a single return value.
♦ Action can/cannot be resuable whereas functions are
always reusable.
♦ Action Parameter have default values whereas VB script
functions do not have any default values.
♦ Action parameter type are byvalue only where vbscript
functions can be passed byref.
♦ Action can have multiple output(returning) values whereas
function can return only single value.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to give a call to another action from one action?
What is the quicktest professional testing process?
terminal services client
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
How will you handle java tree in qtp?
why should we give deliver good quality software?
Hai anyone please "Explain about Framework in QTP?"
I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?
In qtp, how you can exit for loop?
What contains Data Driven Framework document in qtp?
Can we record an application running on a remote machine using qtp?
How to Test the mainframe application?