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 |
Hi, When iam trying to import sheet to the QTP Global data table at the run time using the Importsheet method.It is able to import the sheet but no data is present after the import due to which the test is failing.Could anyone suggest what should be done. When I open the actual excel sheet data is present and is not corrupted.
I need to know how to Automate a Username and Password for a Web-based product? I'm scripting 3 different types of surveys but each Survey requires a Username and Password which is always the same. I can I do this using QTP?
how to do regression testing in qtp? plz give ans with examples
Can we do server automation by QTP? If you have any helpful links ,pls post it. Thanks Uma
Can we create test script with out Step Generator?
How to map the test cases to requirements in QC?
What is descriptive Programming in qtp.
how can i call an external action,which is not added external action of an action?
How to test the login page in different ways in automation testing and i need code?
How many number of actions possible in qtp?
in qtp wha t is synchronisatin pt,what is the maximam time out
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
0 Answers Sapient, Satyam, TCS,