How to create Userdefined Function.Please write the steps
ans also provide example where exatcly we use it.
Answer / chandu
Hi,
u can create user defined functions in notepad by saving
the file with .vbs extention.
eg:
public function add
x= 20
y= 30
z= x+y
msgbox z
end function
paste the above code in notepad and save it as .vbs ext.
then go to QTP file>settings>resources tab
add the .vbs file there. and then write-- call add---in ur
QTp editor.the use of this is u can reuse the same function
wherever u want. so u can call it multiple times in ur
test.
| Is This Answer Correct ? | 5 Yes | 0 No |
How to execute a winrunner script in quicktest professional (qtp)?
if you run one test script in internetexplorer the same test you run in mozilla ffirefox is it possible or not how is it.
How to handle Run-time errors?
Pls anyone, tell me the script in QTP to find the number of links, and images in a webpage. Verry very urgent. I shall really be very thankful
How to create an Action Template?
Difference between action & Reusable action?
Can you expect major bugs in Net banking Application?
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
could any help me please, how to work on visual foxpro application using UFT
How to find the name of the machine where you are running your automation scripts in qtp?
what is a file system object in QTP
How to Test Dynamic links ?