Results 1 to 2 of 2

Thread: how to Load a new Function library from the script in QTP

  1. #1
    Junior Member
    Join Date
    Feb 2008
    Answers
    1

    how to Load a new Function library from the script in QTP

    I am interested in loading my function library from the script instead of doing it manually from File>Settings. Has anyone performed this action before?

    Also looking to load the Shared Object Repository in the same manner.

    Thanks


  2. #2

    Re: how to Load a new Function library from the script in QTP

    Did you try using ExecuteFile?

    For Shared Repository:

    Set qtApp = CreateObject("QuickTest.Application")
    Set qtResourcesTab = qtApp.Test.Settings.Resources
    qtTestResourcesTab.ObjectRepositoryPath = "RepositoryName.tsr"


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact