How to call the userdefined functions to script? If i am
stored 'add()' function in Library functions folder. i want
to cal that function in my script.

Answer Posted / umesh

Save your functions in a notepad and save it as a .vbs file.

Under Test Settings - Resources tab, Associate your .vbs
file as a Library.

Call the .vbs file as a header in your script and use all
the functions.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to creating an output value using quicktest professional (qtp)?

782


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

2047


How many lines of code in each script of QTP?

4234


What is the process of synchronizing qtp and aut?

766


What are the differences between qtp and winrunner?

741


What is the purpose of loading qtp add-ins?

840


What are the technics follow in writing VB script?

1706


What is text/text area checkpoint?

812


wht type of User defined functions or Java Releated functions Do we write in VB scripting

1578


please post the interview questions for QA position in FACTSET

4195


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

1278


Where is the Bitmap checkpoint information stored?

1980


how will load the object during runtime?

1814


Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.

1797


please any one can explain the keyword driven framework. with gmail example.

1839