How to call a funtion present in dll file in QTP Script.

Showing Answers 1 - 3 of 3 Answers

mahesh

  • Jul 10th, 2006
 

Execute_File "Path of the .vbs file "

  Was this answer useful?  Yes

Uday Kumar. A

  • Sep 28th, 2006
 

We can call the functions in .vbs file by using ExecuteFile method.

Here is the example: Assume in my .vbs file i have function called Printing, then

public function Printing()
 msgbox("Hello Uday")
end function

Now i can the function in this file as:

ExecuteFile "C:Documents and SettingsukumarDesktopSample.vbs"
Printing()

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions