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
There is an excel file of 1 to 100 sheets how you will iterate through it?
How to define array in qtp?
What are the key elements available in test result window?
Explain sub procedure of vbscript.
How many number of actions possible in qtp?
What are benefits of qtp?
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
Can you write a script to check if the folder exists or not?
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
How you will rate urself in QTP in the range of 0 to 5
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?
If created one virtual object? Next time I changed the window position will it work?
How you can delete excel file in qtp?
What is the difference between keyword view and expert view?