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 |
Batch testing in howmany ways u perfrom in QTP
how to disable the pop ups through QTP using a script
What expansion of "MIC" in MICPASS (TEST ReportPAGE)
Please tell me the steps to record the test in Analog recording mode in QTP version 9.2???
what testing activities u may want to automate in a project?
how to use command prompt using qtp?
Define virtual object?
How to test background color and dynamic images during run time can you put the check point for moving objects?
if you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?
what type of test cases tou will automate?
How to add a page checkpoint to your test?
could any help me please, how to work on visual foxpro application using UFT