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 many types of parameters are available in quicktest professional?

738


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

1890


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

1806


Is it possible to split an action? How?

853


Who uses qtp tool?

761


Explain how Does Run time data (Parameterization) is handled in QTP?

761


Mention the test steps of qtp.

749


whare exactly we have to use functions and sub routain

2036


What is the architecture of your project? Can any one answer for this question plz........

1595


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


Explain the check points in quicktest professional?

773


How you can make an action as re-usable action?

874


What are the views available in qtp?

813


When to use descriptive programming?

810


what is the difference between development and testing

2956