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
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
why should we give deliver good quality software?
What is a checkpoint? How many check points are there in qtp?
Why we load add-ins in qtp?
In Remote acess server how u run a test?
What are main panes available in qtp test browser?
What are the types of object repositories? Which one is you using?
how interviews will be on QTP?
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
could any help me please, how to work on visual foxpro application using UFT
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
what is the frame work in J-meter?
Are Shared ORs read-only?
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
What is difference in global and action sheet in qtp?