anyone can explain Diff B/w Actions and Functions

Answers were Sorted based on User's Feedback



anyone can explain Diff B/w Actions and Functions..

Answer / anil

1.Action is a thing specific to QTP while functions are a
generic thing which is a feature of VB Scripting.

2.Action have a object repository, Data table etc
associated with it while a function can't.

3.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.

4.We can write a function in an Action...But in Function we
can't..

5. We can't call an Action in a function, But we can call a
function in an Action.

Is This Answer Correct ?    4 Yes 0 No

anyone can explain Diff B/w Actions and Functions..

Answer / aruna

we can pass values in functions ,but not in actions

functions are faster than actiions

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More QTP Interview Questions

Which Databases supports for QTP?

2 Answers  


I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail. Could you please any assist in this?

2 Answers  


WHAT IS THE SIZE OF OBJECT REPOSITORY USING IN YOUR COMPANY? Can any body tell me answer of this quation........

11 Answers   Ness Technologies,


How to save your test using quicktest professional (qtp)?

0 Answers  


What is parameterization? What is syncronization pt.?

3 Answers   Semantic Space, SRM,


How does qtp recognize objects in aut?

0 Answers  


Greetings friends , Hope all of you are doing well. When I run a test, is it possible for me to for me to take each row from the data table , once at a time. In other words,if i have 10 rows in the global data table, say data1,data2, data 3...and so on up to data10. Can I have the value of data1 when I run a test, and next time when I run the same test (say next day), it should skip data1 as it has already used it and go directly to data 2 ??? Would be great if anybody can help me out know in this issue. Thanks & Regards !!

4 Answers   CTS,


how to do spell check in QTP? reply please

8 Answers  


What is Virtual Object? Plz Explain me with an example?

2 Answers   Ordain Solutions,


will QTP 9.2 run successfully on Linux(gui) operating system

1 Answers  


write code to read and write data from file?

1 Answers   IBM,


What are the recording modes and executing modes avialble in QTP?

3 Answers   Polaris,


Categories