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 between the modular framework and datadriven frame work

2521


How do you perform Regreession Testing?

1997


How often were they executed?

2499


How to add synchronisation points in qtp?

1140


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

1645


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1961


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

2029


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

2499


How to use checkpoints in qtp ?

1099


What is qtpro?

1114


Is qtp supports uni-code?

1074


How many ways is to parameterize the value?

1183


how can we compare descriptive programing with a regular expression

2452


How to modify object property in qtp ?

1050


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

2291