how to call a funtion in a script? i have saved the login
scipt in notepad. with extension .vbs. But when i am
calling the function with the keyword CALL <Function Name>.
its not working out. can any one give me a clue how to call
the external functions. with example.

Answer Posted / supriya

you have to associate the library function using file--
>settings-->resources

and then just call the function using its name
It will work

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find the path of folder in which the test is saved in qtp?

761


Hybrid framework supports Descriptive programming. Is it true?

892


What is the syntax to call one script from another?

806


How may types of defects identify application or your currently working application?pls give me answer..

1749


How do you create new test sets in td?

742


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

1781


What is the default add-ins in qtp?

762


What is the use of an object spy tool in qtp?

780


What are the features of quick test pro(qtp)?

745


How to find the name of the machine where you are running your automation scripts in qtp?

780


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1729


How to handle the exceptions using recovery secnario manager in quicktest professional?

901


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1747


What are the various types of Actions in UFT?

817


What are the methods of the TextStream object that are used for reading from a text file?

1913