Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
difference between loadfunctionlibrary and executefile
#1
Solved: 10 Years, 8 Months, 4 Weeks ago
can anybody plz let me knw the difference between exceutefile statement (when used for attaching function library at run-time) and loadfunctionlibrary (new function in qtp11)

also how to load or at run-time
if i m using qtpapp.test.actions(1).addObjectRepository then or remains associated with the test even after test execution is done.

bt i want tht or should get attach only at run-time
Reply
#2
Solved: 10 Years, 8 Months, 4 Weeks ago
loadfunctionlibrary - Loads the specified function library when this step runs
Executefile - Executes a vbs file. when you run this, the definitions (functions, subroutines, classes, etc.) in the file are available from the global scope of the action's script. I think the main difference would be you can not debug with the statements when you use executefile.

answer to your second ques - at the end of your test execution before quitting QTP, remove the objectrepository you added .


Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Difference in Window Identification Nagaraju6 0 1,976 12-06-2013, 07:08 PM
Last Post: Nagaraju6
  difference b/w Activex & delphi environment hello 0 2,455 01-10-2012, 03:38 PM
Last Post: hello
Exclamation What is the Difference between Standard, Maintenance and Update Run mode kai07 2 17,930 10-13-2011, 08:52 AM
Last Post: kai07
  Anyone know the difference of the 2 statements martinlam 3 3,855 08-31-2010, 02:44 PM
Last Post: QTPLearn
  identification difference between descriptive prog and repository gerfred 3 3,715 07-28-2010, 02:45 PM
Last Post: bfakruddin

Forum Jump:


Users browsing this thread: 1 Guest(s)