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 |
The string is like POWER STAR PAVAN , write a script for this how to findout the number of "A" in the string ?
what is ODC and GDC?
how your doing reporting in your script?
In QTP, Which are the concepts are needed to do Functional testing and Regression testing?
how do u plan test automation?
Explain script generated at the time of setting runtime property?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
Login to flight app, in window flight reservation set the date field and select flyfrom as Frankfurt and verify whether flyto list box has the item FrankFurt, log the results.
Given a string variable contain a full name (last name, first name), using vbscripting, how can you extract first and last name and save them into two different variables.
Hi,All How to change background color of a cell in excel using qtp and that too with out using Excel Object.(I am importing the excel sheet by using ImportSheet method)
what is test scheduleling?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!