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...

anyone can explain Diff B/w Actions and Functions

Answer Posted / anil

1.Action is a thing specific to QTP while functions are a
generic thing which is a feature of VB Scripting.

2.Action have a object repository, Data table etc
associated with it while a function can't.

3.A function is just lines of code with some/none
parameters and a single return value while an action can
have more than one output parameters.

4.We can write a function in an Action...But in Function we
can't..

5. We can't call an Action in a function, But we can call a
function in an Action.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",

1877


How many types of recording modes are there?

1036


How to use conditional loops in qtp ?

1046


What is keyword driven framework?

1078


What are the steps involved in the recovery scenario wizard?

1010


distinguish between old version and new version QTP features.

2336


With what extension you can save the list of tests in a file to run in test batch runner?

1012


What is the difference between a Function and Procedure in QTP?

1188


Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!

2985


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1825


How QTP support all types of applications (platforms)?

4533


What is the syntax to call one action in another?

1033


Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,

1865


How you can delete excel file in qtp?

1063


What are the types of environment variables in qtp?

1038