anyone can explain Diff B/w Actions and Functions

Answers were Sorted based on User's Feedback



anyone can explain Diff B/w Actions and Functions..

Answer / 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

anyone can explain Diff B/w Actions and Functions..

Answer / aruna

we can pass values in functions ,but not in actions

functions are faster than actiions

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More QTP Interview Questions

What is meant by Environmental variables?2 types r there know…can u pls explain clearly?

1 Answers  


what is meant by source control?

0 Answers   Ordain Solutions,


In qtp,how to interact tool & application build?

1 Answers   Polaris,


How to handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?

2 Answers   TCS,


when i perametarization of the test through outputcheckpoint,i have seen run time error i.e outputcheckpoint mismatch .Plz tell anybody to me(qtp).How to clear that?

1 Answers  






regular expression in qtp standar check point for months from accepting months from january to december only

0 Answers  


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

0 Answers  


Are u place all QTP Framework folders in VSS?

4 Answers   TCS,


Is there any thing that we can replace recovery scenario manager in QTP.

3 Answers  


want to learn real time automation project(QTP)?

1 Answers  


is qtp 9.2 supported for firefox browser3.0?bcoz when i tried to create scripts with the application run on firefox browser 3.0 then qtp 9.2 didn't ct=reate the scripts?

2 Answers  


.qfl extension for which file? where vl use it

1 Answers   iFlex,


Categories