Posts: 5
Threads: 2
Joined: Sep 2010
Reputation:
0
05-16-2011, 09:58 AM
Hi ,
In our QTP(Ver 10) scripts we used relative paths for all scripts(Object repositories, Library's and others). When I execute the scripts from QC it is failing. but able to execute without any issues, when executed locally.
Seems there is some problem with the Path. How can I resolve the issues.
Thanks in Advance,
Naresh
Posts: 79
Threads: 1
Joined: Apr 2011
Reputation:
0
05-16-2011, 10:36 AM
set QC path in tools-->folder option..
Posts: 5
Threads: 2
Joined: Sep 2010
Reputation:
0
05-16-2011, 06:51 PM
Hi Jay,
Thanks for your reply.
I tried with your solution but it is saying that when we execute the script from QC it will search in the QC folders not local folders. Sure my scripts will fail. Any solution for this?
All my scripts, repositories and libraries are in Local machine. QC in different server.
I have to finish it ASAP. Please help me on this.
Thanks & Regards,
Naresh
Posts: 79
Threads: 1
Joined: Apr 2011
Reputation:
0
05-17-2011, 12:36 PM
you can set two path in folder option. if you want QTP to find path first from QC then provide QC path first and then local system path. if you are connected with QC then QTP will always takes files from QC and if you are not connected then it takes from file system.
Posts: 5
Threads: 2
Joined: Sep 2010
Reputation:
0
05-17-2011, 02:13 PM
Yes Jay, What you are saying is correct. Any solution for my problem?