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

Where to use function or action?

1179


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

3444


By using QTP can we record any log files written by the application which is in execution?

1945


Explain data driven framework?

1087


i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer

4037


If the objects hierarchy is changing from build to build, then how you will handle that condition?

1053


Can you brief the hurdles you faced during Automation testing?

1053


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1849


How we can import data from database?

1227


How to create a standard checkpoint ?

1081


What is the difference between keyword view and expert view?

1064


How many types of recording modes in qtp? Which will be used when?

983


How qtp recognizes the object?

1193


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

1178


What are the types of properties that quick test learns while recording?

1047