in QuickTest Professional (QTP) by
Q:

What is the difference between functions and actions in QTP?

► Click here to show 1 Answer

0 votes
by

Actions have their own Object Repository & Data Table. Actions help make your Test modular and increase reuse. Example: You can divide your script into Actions based on functionality like Login, Logout etc.

Functions is a VB Script programming concept and do not have their own Object Repository or Data Table. Functions help in re-use of your code. Ex:  You can create a Function in your script to concatenate two strings.

Learn More with Madanswer

Related questions

+1 vote
asked Sep 12, 2020 in QuickTest Professional (QTP) by JackTerrance
...