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


Please Help Members By Posting Answers For Below Questions

What are test settings and global settings?

575


Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

1659


Mention the different actions types of qtp.

569


How many types of trigger events are there in qtp?

544


Analyzing the checpoint results?

595






Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

1556


How to use checkpoints in qtp ?

576


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

645


What are the Test design techniques you uses in ur project?

1479


What are the different properties of an web object

1421


What is the use of text output value in quicktest professional (qtp)?

592


How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

1680


what is run action?

1429


A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

1268


What are main panes available in qtp test browser?

528