Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QC Issue : Qtp Scripts relative path
#1
Not Solved
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
Reply
#2
Not Solved
set QC path in tools-->folder option..
Reply
#3
Not Solved
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
Reply
#4
Not Solved
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.
Reply
#5
Not Solved
Yes Jay, What you are saying is correct. Any solution for my problem?

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Issue in winbutton.click while executing qtp scripts on a locked machine anjanah 4 5,065 12-20-2013, 03:17 PM
Last Post: basanth27
  Issue with running scripts developed in qtp10 using qtp11 fghiremath 0 3,049 03-14-2012, 05:37 PM
Last Post: fghiremath
  Test Result Path when I run TestSet from Quality Center Ashish Parmar 3 4,367 02-01-2012, 08:44 PM
Last Post: basanth27
  Relative path when you expect other users to open your test. vibhakhandelwal 0 2,046 11-14-2011, 11:44 AM
Last Post: vibhakhandelwal
  Relative path in Recovery Scenario kamalteja 1 3,371 06-11-2008, 05:11 PM
Last Post: Neeraj

Forum Jump:


Users browsing this thread: 2 Guest(s)