Where we write the FUNCTIONS, in Expert view (or) in any
textfiles like Notepad and save it in Library functions
folder? How to cal that functions to our script? How to
save that functions to Function generator?
Answer Posted / abhesheke
it very easy dude
i will tell u
assume i have written a function in notepad and save it with
.vbs extension
"assume this is the function written in notepad"
function Testing
msgbox("welcome to testing world")
end Function
now add this to the library
navigation is test->setting->resources (add this file there)
and in ur expert view just write the function name i.e
Testing run the script it will work
i hope u understood dude any doubt ping me
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How do we handle run-time errors?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
Hi, how can we check or avoid the memory leakage in QTP9.2?
How can I import environment from a file on disk?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
Explain about datafile/verification of date file when file is not available in local system?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
With what extension you can save the list of tests in a file to run in test batch runner?
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
What is a programmatic description?
Can we write winrunner language i.e TSL in QTP tool?
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
In qtp, how you can exit for loop?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible