Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function to Unload previous loaded DLL
#9
Not Solved
I guess you are trying to implement this particular script in QTP, in which you have Close_DLL function and you are not able to do that. Am I right?
in that case I can say dont bother for unloading the dll. once you open a new test QTP unloads the dll itself.
you can use the dll in your script wherever you need to kill the application, using Extern.Declare or createobject (whatever applicable)
Now whenever you need to Kill the application just call your function dll_Kill.
once your application is killed, You will have to reopen your Application to proceed further, for this check your application is open or not each time your test case begins and if not open it.
does this help?

Reply


Messages In This Thread
RE: Function to Unload previous loaded DLL - by Saket - 08-28-2009, 10:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a function in a Test Script from a function library anupam4j 3 5,908 06-26-2015, 12:31 AM
Last Post: babu123
Exclamation How to verify whether pdf is completely loaded or not in webpage nmakkena 1 2,501 08-27-2014, 04:09 PM
Last Post: vinod123
  How to call testscript after executing previous one. upadhyay40 3 3,553 04-27-2014, 10:14 PM
Last Post: Wigi
  Using QTP with dynamically loaded swf QDev 0 1,799 01-18-2013, 08:37 PM
Last Post: QDev
  Verify images get properly loaded or not(Broken Images) in respective pages nilanjans 4 3,822 01-17-2013, 10:51 AM
Last Post: nilanjans

Forum Jump:


Users browsing this thread: 1 Guest(s)