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 |
What are Test case selection criteria for Automation?
What is the difference between Client/Server application and Web application ?
What is a Patch in QTP?
difference between GetRoProperry and GetToProperty.and where we've to use exactly those properties
Associated files in QTP?
what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
i want click on a link which is in 3rd row and 2nd column of a web table.write script to execute
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
HI, Based On The Information Below Write A Data Driven test Script Edit Box 1 Should take Value From Num1 Column Edit Box 2 Should take Value From Num2 Column Click On Add Button, Get The Value Of Exp res Column, Get Value From Actual Result Edit Box , Compare Two Values, Write Pass / Fail Value Into Result Column Thanks In Advance... Kavitha Input.Xls Num1 Num2 Exp res Act res Result 10 30 40 40 Pass 50 40 90 90.5 - - - - - - - - - - - - - - - -
if anyone has idea of the interview procedure in covansys, plz send me a mail?
What is accessibility check point?