Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
difference between loadfunctionlibrary and executefile
#1
Solved: 11 Years, 4 Months, 3 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: 11 Years, 4 Months, 3 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 2,081 12-06-2013, 07:08 PM
Last Post: Nagaraju6
  difference b/w Activex & delphi environment hello 0 2,614 01-10-2012, 03:38 PM
Last Post: hello
Exclamation What is the Difference between Standard, Maintenance and Update Run mode kai07 2 18,332 10-13-2011, 08:52 AM
Last Post: kai07
  Anyone know the difference of the 2 statements martinlam 3 4,037 08-31-2010, 02:44 PM
Last Post: QTPLearn
  identification difference between descriptive prog and repository gerfred 3 4,127 07-28-2010, 02:45 PM
Last Post: bfakruddin

Forum Jump:


Users browsing this thread: 1 Guest(s)