Question: what is the difference between action and function in qtp?
Answer: Action can contains 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/can not be resuable whereas functions are always reusable.