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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / a.thirumalareddy@gmail.com
we can save that library files in our local folder and by using "executefile" method we can directly associate those files
for e.g executefile "path of the library file"
Is This Answer Correct ? | 0 Yes | 0 No |
What is use of object spy?
Why u don’t like recording the script and writing the script
Explain the terms test and business component?
what is meant by Implicit and explicit requirements?
where we are going to write the descriptive programming.for example we are invoking qtp application where we are going to write that code
Explain in brief about the QTP Automation Object Model.
what are the cases in which we use XML and accessibility check points.
Tell me few important difference Between QTP and WinRunner?
what is retesting?
HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?
HOW DO U CALL A ACTION IN QTP?
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page