10-13-2010, 07:08 PM
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:
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
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