Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
usage of custom dll's
#1
Not Solved
Hello,

I am still very new to QTP, however I am in the following situation:

Our team has programmed an automated UI test in C# and created a DLL containing a method to run this UI test. Now we would like to start this from QTP and get a proper report back to QTP. My code looks as follows:

Code:
Set v = DotNetFactory.CreateInstance("AutoTester", "C:\Projects\AutoTester\AutoTester.dll")

v.runUITest()

Now there is a little problem with loading this dll. It seems as if everything is working, however, when the test finished the dll file is still loaded by QTP. So I cannot delete/override the dll file. The file will only be released when I shut down QTP and restart it.

Is there a way of freeing the dll from within QTP?
"Set v = nothing" does not do the trick :/

I also have a second question (not related to this question):
Is it possible to start the VBScript from above from within HP Quality Center? So that I do not need to install QuickTest Professional?

Best wishes
Christian
Reply


Messages In This Thread
usage of custom dll's - by bruegge - 10-13-2010, 07:08 PM
RE: usage of custom dll's - by Cassin - 10-19-2010, 09:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  telnet usage in qtp? smitapawar610 1 1,375 01-04-2019, 11:11 AM
Last Post: pranalimane
  GWT Add-In usage in UFT 12.51 santhosh kumar 0 1,658 03-26-2016, 02:51 AM
Last Post: santhosh kumar
  How to set value to custom property ? Ranu 0 2,045 11-14-2013, 02:58 AM
Last Post: Ranu
  Custom CheckPoint rajrkodeep 0 3,958 09-06-2012, 11:19 PM
Last Post: rajrkodeep
  How to get custom formatted date from qtp sailakshmi 4 17,154 07-20-2012, 12:36 PM
Last Post: ravi.gajul

Forum Jump:


Users browsing this thread: 1 Guest(s)