Functions and Actions With Examples, What is the difference between functions and actions in QTP



Functions and Actions With Examples, What is the difference between functions and actions in QTP

What is the difference between functions and actions in QTP?

Actions: Yes actions have their own Data Table and Object Repository. Generally Actions helps us to increase reusability and To test modular. For a simple example -: If we divide our script into actions only based on logical functionality or example like Log out, Log in etc.

Functions:- Yes functions are the programming concept of VB script and they never have their own data table or object repository. Functions always help to reuse of our code. For a simple example:- Like if you have create a function to concatenate of two strings or numerical then once it developed you can use is any where in script without writing a code again and again.

Difference between Action and Function?


No comments:

Post a Comment

Popular Posts