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
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 93 of 648    Print  
Hi,
Lets say i generate QTP scripts and save the scripts in D:QTP1.
Now on an other PC if i copy the scripts to say C:QTP2 folder i cannot see the reusable action nor can call any other action. Can some one explain me why this happens and a way in which i can make my scripts independent of location where it is stored.

  
Total Answers and Comments: 5 Last Update: April 25, 2007     Asked by: Mahendra 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 11, 2006 15:48:37   #1  
Lingaraj Member Since: July 2006   Contribution: 7    

RE: Hi,Lets say i generate QTP scripts and save ...
Hello,I am facing same problem!!!Any answer(s)???
 
Is this answer useful? Yes | No
July 12, 2006 03:57:59   #2  
dsharma Member Since: February 2006   Contribution: 59    

RE: Hi,Lets say i generate QTP scripts and save ...

Whenever you copy the files, function do not get copied. In that case use Call to Copy of action and try to zip the whole folder and then move to another location.

Tell me if this worked for you or not.


 
Is this answer useful? Yes | No
July 18, 2006 15:31:11   #3  
Lingaraj Member Since: July 2006   Contribution: 7    

RE: Hi,Lets say i generate QTP scripts and save ...
Hello, thanks for the suggestion.It works fine. But, still thinking of how to use "insert a call to external action"with its relative path!Please tell me if anyone knows this.
 
Is this answer useful? Yes | No
April 25, 2007 05:11:22   #4  
venkatprasad Member Since: April 2007   Contribution: 2    

RE: Hi,Lets say i generate QTP scripts and save ...

There is one more alternative way to resolve this problem using relative path.

Setting the relative path as .... before the folder which contains the action.

Eg: Let us assume you saved in D:QTPACTIONSTest1

      You need to give the path as ....ACTIONSTest1 whenever you are calling the action which is reusable.


Let me know if you have any issues.


 
Is this answer useful? Yes | No
April 25, 2007 05:16:18   #5  
venkatprasad Member Since: April 2007   Contribution: 2    

RE: Hi,Lets say i generate QTP scripts and save ...

There is one more alternative way to resolve this problem using relative path.

Setting the relative path as ..forwardslash.. forwardslash before the folder which contains the action.

Eg: Let us assume you saved in D:QTPACTIONSTest1

      You need to give the path as ..forwardslash..forwardslash ACTIONSTest1 whenever you are calling the action which is reusable.


Let me know if you have any issues.

Note:Use symbol inplace of forward slash


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape