Micro Focus QTP (UFT) Forums
Not able to open Longpath in QTP - 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: Not able to open Longpath in QTP (/Thread-Not-able-to-open-Longpath-in-QTP)



Not able to open Longpath in QTP - upadhyay40 - 11-30-2009

Hello All,

I save my test script into below path,

Path:--C:\Program Files\HP\QuickTest Professional\CompanyProjects\project1\ModulesForProject1\ModuleOne\TabsForModuleOne\TabOne\Publishtab\TestScript\Publish.qfl.

But when i click on open and browse upto the folder and select .qfl file it wont open and QTP crashed and stop working,
Can anybody please let me know hoe to handle this

Thanks
Mahesh


RE: Not able to open Longpath in QTP - sreekanth chilam - 11-30-2009

Hi Upadhyay40,

Fyi , you have saved the Quick Test Functional library(.qfl) not the Test script.

Hope You might have done the following:
After opening QTPFile-->New-->Function Library& wrote some code and saved into your location and hence it got stored as .qfl(Quick Test Functional library).
Then you tried to open a .qfl file which infact is not a test script from File-->Open-->Test and hence QTP crashed and stop working.

Instead do the following:
After opening QTPFile-->New-->Test & write some code and saved into required location.
Test script would be saved as an folder.
Now you Open the test script from File-->Open-->Test & browse the test script from required location, it opens the test script which you have created Smile


RE: Not able to open Longpath in QTP - Saket - 12-01-2009

In Addition to Sreekanth's reply

make sure you are opening a library file (.qfl) using File > Open > Function Library
select your publish.qfl file.

It should open the file.


RE: Not able to open Longpath in QTP - upadhyay40 - 12-02-2009

Hello Saket/Shreekant

Thanks for the reply, I saved the test script in particular testscript folder & .qfl(Quick Test Functional library) into function liabrary folder, but the problem is just because of long path which i mentioned, when i put the same folder into C:\ drive i am able to open the script and .qfl(Quick Test Functional library).

Thanks

Mahesh


RE: Not able to open Longpath in QTP - Saket - 12-02-2009

bit strange for me, on which QTP version you are working on.
I am on 10.0 and able to open a library file from the location which path is quite more longer than yours.


RE: Not able to open Longpath in QTP - upadhyay40 - 12-03-2009

Hi saket,

I am working on QTP 10.0 the same, but its evaluation version so may be they gave some limited functionality.

Thanks
Mahesh


RE: Not able to open Longpath in QTP - Saket - 12-03-2009

I dont think it is restricted there in evaluation version.
you can raise a case at HP for this.


RE: Not able to open Longpath in QTP - upadhyay40 - 12-03-2009

Ok, thanks saket.