Interview Questions

What is the difference between an Action and a function?

QuickTest Professional (QTP) Questions and Answers


(Continued from previous question...)

What is the difference between an Action and a function?

Action is a thing specific to QTP while functions are a generic thing which is a feature of VB Scripting. 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.

(Continued on next question...)

Other Interview Questions