What is the difference between Action and a Function in QTP?

Showing Answers 1 - 1 of 1 Answers

Action is internal to QTP whereas functions are generic and are coded in VBscript. The main difference between an action and a function is that "an actions contains an Object repository." An action can also be shared; it can also use different shared reposiroties. A function on the other hand doesn't have an object repository and is just merely a code that returns some desired value(s).

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions