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 / sunnyk8

If it still wont work with either of these 2 options of
file-setings-resources & executefile "path of file" then the
problem is with the naming conventions

Naming conventions should b function functionname
---------------
---------
-----
End function

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1730


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

1577


what the difference between shared repository and per action repository?

554


write script for bitmap image?

1547


How can you identify the browser and its information using the qtp script?

587






How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

706


What is action split and the purpose of using this in qtp?

537


What is the difference between run time object and test object?

585


What are some test assets and related extensions of qtp?

561


What contains Data Driven Framework document in qtp?

1473


What is Test Fusion Report in QTP?

626


How can you pass value one action to another action?

559


Explain the parameter in qtp?

585


I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me

1426


What are the key points to create a framework in QTP for oracle forms?

1819