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 |
Explain the Different types of QTP test assets and their extensions?
What is Performance testing?
how can i call function (which has link with excell sheet at a remote location) within another function
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
What are the different attribute used with regular expression?
If requirments changed then how we can teach the QTP this is the new requirment
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?
What is TOM in QTP?
What all challenges you have faced during automation and how you have resolved it?
How do u retrieve data from a text file into different variables. i.e. in a text file named "source" , the data is like : india,1000,japan,200,china,50,singapore,45050 this is given in the first line of the text file. in the second line of the text file the dta is: sun,moon,planet,river,earth,water if u use "readline" method by using FSO concept u can retrieve the entire line in to a variable. but i want to import each field (ex: "india" in one variable, "1000" in another variable etc..). Apprecitae proper replies.
What is the use of "Step Generator" in QTP??for what purpose we are using??explain with an example
If some requirements r changed during the testing process ,then how can u handle this in frame work?