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

How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

566


What is Unicode Compatibility?

1451


i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet

1759


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

1629


What is the script for database check point, bitmapchek point, regular expression ?

1553






What is test object model in quicktest professional?

623


What is difference between design time and run time data table?

587


If I change the object name in one action will it be updated in all the actions? Or not?

597


What is keyword view?

562


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

1606


What the differences are and best practical application of Object Repository?

584


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

1802


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

2055


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

1448


what is command for executing files?

1512