What is the exact difference bet function and action in QTP
Anybody can explain it in detail..Thanks in advance..
Answer Posted / vijay
Actions can Return mutiple values, where as function will
return one value
Check points insertion wont be possible in functions where
it can be possible in Actions .
functions can be called outside the tool , where as Actios
are called only within QTP
scripts written in higher version of qtp wont be compatable
with Actions , where as functions since they are not QTP
related can be work in any version
functions can be even written in notepad , wiht .vbs file
name
ex :
Public Function F1
msgbox(" I am function")
end function
call F1
run the code in notepad and verify
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Tell some commonly used Excel VBA functions?
How to use reporter.report event in qtp ?
What is data driver in qtp? Where we use it?
assume i have few url link how will i dynamically call then using descriptive programming?
In qtp, explain what is qrs file?
Explain the types of properties that quick test learns while recording?
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company
What is qtpro?
Explain in brief about the quicktest professional (qtp) automation object model?
If object is not recognized by qtp but the object is standard object what is your approach?
Explain the benefits of quick test pro(qtp)?
Is it possible to call from one action to another action in qtp?
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints