what is functions in qtp?i know the userdefind &bulit
funation or i know that Private public function ?plz tell
me what is funations in qtp?how to create a funation in qtp
Answer Posted / pankaj sharma
1.Function in QTP : Function in QTP if nothing but the set
of line of code written in .vbs , .txt or in .qfl format to
which we pass n number of parameters and it return one
value .
You can add function in QTP using navigation as :
Setting > Resources
Where we can add user defined function which will be
accesible every where in QTP Suite .
To create funtion in QTP we can use funtion generator
option given in in QTP where we can set input and output
values also insert > Function Defination Genetator
Check a small example below
Call sum(8,4)
Function sum(x,y)
sum=x+Y
MsgBox sum
End Function
For any further doubt you can directly come to me on my
blog
http://quality2deliver.blogspot.com/
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
How can you give wait up to 10 seconds in qtp?
what is the frame work in J-meter?
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
Is text area check point supports for web applications?
What are the flaws in water fall model and how to overcome it?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
Discuss quicktest professional (qtp) environment?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
Plz Explain AUTOMATION REFERENCE MODEL?
How do Parameterization and Data-Driving relate to each other in QTP?
Can anybody post some real time scenario in qtp? please its very urgent.
Is it possible to merge two object repository files in qtp?