Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I register/use a vbs-VBS .dll with QTP?
06-17-2009, 02:10 AM (This post was last modified: 06-17-2009 02:11 AM by myarbro.)
Post: #1
Can I register/use a vbs-VBS .dll with QTP?

Hi folks!

I have a very handy DLL which I've been using with WinRunner to pull emails from a mail server and extract their contents - totally without using any gui.

My question is: does QTP require it's dlls to be written in vbs? That seems to be all anyone talks about so I just wanted to confirm.

Thanks in advance for your help!
Mark
I misstyped the subject. It should have been "NON-vbs"


(06-17-2009 02:10 AM)myarbro Wrote:  Hi folks!

I have a very handy DLL which I've been using with WinRunner to pull emails from a mail server and extract their contents - totally without using any gui.

My question is: does QTP require it's dlls to be written in vbs? That seems to be all anyone talks about so I just wanted to confirm.

Thanks in advance for your help!
Mark
Find all posts by this user
Quote this message in a reply
06-17-2009, 11:02 AM
Post: #2
RE: Can I register/use a vbs-VBS .dll with QTP?
Nopes. It can be written in any of the languages.

QTP Articles | QTP Training | QTP Jobs
Find all posts by this user
Quote this message in a reply
06-17-2009, 05:56 PM
Post: #3
RE: Can I register/use a vbs-VBS .dll with QTP?
(06-17-2009 11:02 AM)Ankur Wrote:  Nopes. It can be written in any of the languages.

Thanks! Does anyone have any tips on getting a DLL to work properly? I'm new to QTP and this feature operates very differently than WinRunner.
Find all posts by this user
Quote this message in a reply
07-01-2009, 06:20 AM
Post: #4
RE: Can I register/use a vbs-VBS .dll with QTP?
You can call your .dll by using CreateObject, but make sure that it is COM visible. Also, you cannot create a dll in VBScript.

Regards,
Anshoo Arora

Relevant Codes - Test Automation Articles, Tips & Tricks
LinkedIn
AdvancedQTP
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  VBS to DLL to QTP ssco77 5 2,641 12-16-2011 01:21 PM
Last Post: prashants1
  Calling dll C# in VBScript nacchio 0 349 10-11-2011 07:32 PM
Last Post: nacchio
  How to get ChildObjects to register table? Tonya S 0 378 09-09-2011 03:00 AM
Last Post: Tonya S
Exclamation how to Pass Optional Parameters in VBS? ShrikantBiradar3449 1 1,193 06-13-2011 03:12 AM
Last Post: Skepsis
  DP and called .vbs make for slow runtime wheelercha 0 410 01-05-2011 02:39 AM
Last Post: wheelercha

Forum Jump:


User(s) browsing this thread: 1 Guest(s)