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 is the extension for Recovery scenario?
How many types of parameters are available in quicktest professional?
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
0 Answers Tavant Technologies,
how to recall a function in QTP?
What are the ways you can synchronize?
Tell me one scenario, the complex functionality you have automated in your project?
where the check points are stored ?
i have read that "non-reusable actions can not be called in any other test".but in 'call to copy action' copies non-reusable action in other test also..can u pls help to understand this..
Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance
What is positive test case and Negative Test case? What is the meaning of Real World Scenario's?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
How to build scripts that access data from external sources?