Micro Focus QTP (UFT) Forums
QTP to default to a path - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: QTP to default to a path (/Thread-QTP-to-default-to-a-path)

Pages: 1 2


RE: QTP to default to a path - Sathiya - 03-15-2012

i want to run the code which is saved in qc...
so without qc we cant able to open those scripts right?


RE: QTP to default to a path - sshukla12 - 03-15-2012

Hi,
Yes, to open the script saved in QC u must connect to QC first. There are addins to connect to QC via QTP use them, ur problem will be resolved.

Regards,
Sankalp


RE: QTP to default to a path - Sathiya - 03-15-2012

will you please explain me in detail....


RE: QTP to default to a path - sshukla12 - 03-15-2012

Hi,
1)First install the addin required to connect to QC.
2)Navigate to File->Quality centre connection.
3) Enter the details like QC url, username & password, domain & project.

Once done u are connected to QC.
If u don't have addin, google it u will find it very easily.

Regards,
Sankalp


RE: QTP to default to a path - Sathiya - 03-15-2012

are trying to say the below one?


RE: QTP to default to a path - sshukla12 - 03-15-2012

yes


RE: QTP to default to a path - Sathiya - 03-15-2012

Hello,
qc is connected to qtp. now i want to run those scripts which are saved in QC and i want the results path to be the mapped to QC (dont go for descriptive and all).

please go through the previous post for the result folder shapshot


RE: QTP to default to a path - sshukla12 - 03-15-2012

Hi,
When your QTP and QC are connected, open the test script via qtp which is saved in QC. Add that same test script in ant test set under Test Lab in QC and then try to run the script. It will definitely work.
But before this please close the qtp and open it again.
I had tried this at my end and successfully overdone it.

Regards,
Sankalp


RE: QTP to default to a path - Sathiya - 03-28-2012

Hi Friends,
Kindly let me know whether the "WritePrivateProfileStringA" have impact on "C" drive name....
because the current name of the c drive is "osdisk". i am getting erroe while executing the function related to WritePrivateProfileStringA


RE: QTP to default to a path - vinod123 - 09-03-2014

I have seen all answers why you need to modify the registry key setting when there is an option in the QTP to set default path.

Goto Tools -> Folders -> Click on + icon -> Click on dots icon