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 6,113 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,671 08-27-2014, 04:09 PM
Last Post: vinod123
  How to call testscript after executing previous one. upadhyay40 3 3,701 04-27-2014, 10:14 PM
Last Post: Wigi
  Using QTP with dynamically loaded swf QDev 0 1,903 01-18-2013, 08:37 PM
Last Post: QDev
  Verify images get properly loaded or not(Broken Images) in respective pages nilanjans 4 4,055 01-17-2013, 10:51 AM
Last Post: nilanjans

Forum Jump:


Users browsing this thread: 2 Guest(s)