how to create user defined functions in QTP? can any one
expalin me with example..
Thanks in Advance for help
Answer Posted / chandu
u can create user defined functions by saving the file
as .vbs..just open notepad and write as below and save the
file with the ext .vbs
public function test
x=6
For i= 1 to x-1
x=i*x
Next
msgbox x
end function
then in QTP goto
File>settings>resources tab..add the .vbs file u created..
and then write call test.....in ur editor.
thanks
chandu
Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
When should I use smart identification?
How to handle the exceptions using the recovery scenario manager in qtp?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
what is test scheduleling?
How can you exit from an action?
What is Distributed testing? How does UFT support it?
How to remove associated function library?
who QTP recognizes the object stored in object repository?
How to use actions in qtp ?
What is a programmatic description?
what are the limitations of smart identification in qtp 9.0
What are the features supported by UFT?
How to analyzing test results using quicktest professional (qtp)?
What test you perform mostly? Regression or retesting in your testing process?
Explain the qtp test phases.