Ans:
Loading Object repository at runtime
Repositoriescollection.Add "Path of the TSR file", position
Loading function library at runtime
ExecuteFile "path of the Vbs or Qfl file"
LoadFunctionLibrary "Path of the Vbs or Qfl file" (This works only in QTP11 and later versions)
Follow @TestingQ
Loading Object repository at runtime
Repositoriescollection.Add "Path of the TSR file", position
Loading function library at runtime
ExecuteFile "path of the Vbs or Qfl file"
LoadFunctionLibrary "Path of the Vbs or Qfl file" (This works only in QTP11 and later versions)