what is the difference between action and function

Answer Posted / pratap

Following are simple and easy to understand how function
differs from Action .Go through

I)
Actions : actions are more specific to tool ex : qtp
Functions : functions are generic and feature of programing
language Ex : vb or java or C , C++.

II)
Actions : actions are associated with object Repositry (
Per action or shared dependnds )
Functions : functions don have object repositry associated
with them .

III)
Actions : Actions can be called by syntax :
RunAction "ActionName",OneIteration
Functions : functions can be call by syntax
Call Function(FunctionName)

Is This Answer Correct ?    31 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance

1498


please any one can explain the keyword driven framework. with gmail example.

1622


1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)

1720


Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)

1548


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1687






Have you used xml check point in your project? How?

543


Is it possible to switch between recording modes during a test creation?

588


How do know the number of browsers opened?

622


RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?

2176


Explain quicktest professional testing process?

558


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1358


What is action split and the purpose of using this in qtp?

533


In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls

1442


i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework

1604


Suppose I want fail that check point? How can you do that?

596