Results 1 to 3 of 3

Thread: Functions were stored in different location.

  1. #1
    Junior Member
    Join Date
    Jan 2007
    Answers
    1

    Functions were stored in different location.

    I have added all vbscript code in function library and have associated these library function with the test.
    I have given the test to someone else in his system to run but it is showing error as function cant be associated as function were stored in different location.

    What should i do ??
    Is there any other thing which i could do so that i could write function within QTP test and associate function with it .


  2. #2
    Contributing Member
    Join Date
    Feb 2006
    Answers
    33

    Re: Functions were stored in different location.

    He also has to associate that particular vbs file when he trie sto run the tests. For this he has to save th evbs file at some location in his disk & then point to it in Associate Libraries option.
    Another Alternative can be storing all your tests & vbs files on Quality Center rather than on any local hard disk.


  3. #3
    Expert Member
    Join Date
    Apr 2007
    Answers
    147
    One thing can be...
    Remove the added Lib file from Test->Settings->Resources->
    and add it again form the location where it is stored in the new system.

    Otherwise....
    you can just give this command at the starting of the Script .........
    Executefile (file path)
    eg - Executefile "D:/QTP.vbs"

    Last edited by jainbrijesh; 07-06-2007 at 04:42 AM.

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