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
What are the different recording modes and how do they work?
what is the difference btn risks & Therads in the Test plan documentation?
How do know the number of browsers opened?
What is Test Fusion Report in QTP?
what is object and child object.. explain ..if possible give some example for better understanding ..
what is output value in QTP and how it can be used in automation testing
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
What is checkpoints for quicktest professional?
What is the difference between run time object and test object in QTP?
Describe synchronization point.
what type of run time errors you get while you ar edoing rpg program?
Can anybody post some real time scenario in qtp? please its very urgent.
How to carry out bit map check points in QTP
How you can replace string in qtp?