GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  QTP

 Print  |  
Question:  How to use automation object to load the library files in QTP. I tried to use this stmt" set App = createobject("Quicktest.Application")
App.Test.Settings.Resources.Libraries.Add ("F:QTPrepository.vbs"),1 ".could u pls help how to add it by script itself? what is executefile concept? is it workaround to my question?




April 04, 2006 00:05:47 #3
 Venkat   Member Since: Visitor    Total Comments: N/A 

RE: How to use automation object to load the library f...
 

Hi,

when ever you want to add library files(.VBS) files to the script, use th following function.

Executfile(" Path of file ")

the above fucntion load the VBS file to your script and you can use the fucntions in VBS file using

Call Functionname(arg list)

Venkat

     

 

Back To Question