what is diff b/w function and action?

Answer Posted / siqtp

1.Action is QTP specific whereas Function is VBScript
specific
2.A function can be called from an Action,But an Action
cannot eb caleed from Function
3.Actions can be associated with OR,DataTables etc where as
Functions cannot
4.Actions can be created and stored only from QTP where as
Functions can be created and saved anywhere inside or
outside QTP
5.Functions can be loaded to memory and then execute which
makes the performance of functions better whereas Actions
cannot be loaded to memory

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1605


Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris

1941


What is the latest version of qtp?

759


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

1944


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

1641


Where you are storing your script?

813


What is Unicode Compatibility?

1635


How to interact tool & application build in QTP?

1655


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3416


hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?

3175


What is test object model in quicktest professional (qtp)?

735


Where you get the run time data table?

761


When to use descriptive programming?

780


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1654


Where to use function or action?

839