Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between functions and actions in

QTP?

Answer Posted / sreeprasad

Reusable Action is peice of code that perform an action on

the application , which has application logic.

On the other hand , Functions does not have the application

logic . It performs a specific action on the data retrieved

from the application and returns the result to the calling

action.

For Ex: Your application has TextBox and Button,

Input : In the textbox we need to enter a numeric value

say 5.

Action : Calculate the Factorial

Expected : Factorial value should be displayed in the

textbox.

Here setting a value to textbox , performing the click

operation and corresponding verification is maintained in

the Action , calculation of the factorial value to arrive

at the expected output we use a Function.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference in testing a client-server application and a web application?

1041


How can I import environment from a file on disk?

1009


Get the count of files of similar types from a folder.

1417


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

3363


what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

1892


How to test background color and dynamic images during run time can you put the check point for moving objects?

1858


What is quicktest professional?

961


How to use parameterization in qtp?

1020


Differentiate the type of test cases which can be automated and which cannot be automated?

961


What is text check point and text area check point?

1048


what is the difference btn risks & Therads in the Test plan documentation?

2066


How many types of Automation frameworks are there in UFT? Describe them.

966


How to release all resources file from the QTP?

1492


How to delete an object from the object repository?

1035


Differences between text and test area checkpoints?

1032