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 / uday kumar_anem

Both Actions and Functions are used to access a peace of
code, that is frequetly used.

The main difference is :
Functions have only application logic, means that we dont
have access to the resources of a test.
For ex: we need to write a script to access Object
Repository, Data Table etc....

Actions also have application logic and the resources
associated with that action.

For Ex:
Say if you want to call a function, here you need to pass
function name and all other resources like(OR, Data Table
etc...).
Where as if you call an action, all these resources come
with action(based on the type of the action).

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the extension of the qtp local repository?

1147


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

1039


How to use output values in qtp ?

1061


What is Unicode Compatibility?

2085


How many types of actions are there in quicktest professional (qtp)?

1021


Which scripting language used by quicktest professional?

1022


can any body give the banking domain concepts/links

4112


What are the different types of functions available in qtp and explain ?

1055


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

2179


what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?

2047


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

2269


Mention the test steps of qtp.

1059


Will down time for server and content maintenance/upgrades be allowed? how much?

1132


How would you directly trigger javascript in a test?

1930


How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

1216