What is the difference between Functions and Action ?
Answer Posted / anshuman
functions are encapsulation of segments of code which is
used several times in the script.They can be either within
the QTP script or can be maintained in external .VBS or .TXT
files.
Action is a thing specific to QTP while functions are a
generic thing which is a feature of VB Scripting. Action can
have a object repository associated with it while a function
can’t. 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.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is quicktest professional (qtp)?
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
Explain the difference between check point and output value?
how to post xml data from QTP scripts to any application?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
How to handle the exceptions using recovery secnario manager in quicktest professional?
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
What is the Difference between test object and run time object?
Write a script to customize the test results in PDF and HTML format.
How to analyzing test results using quicktest professional (qtp)?
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak
How is a Step generator used in UFT?
Where we can use the analog mode and where we can use the low – level mode?
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?