I've been try to use OTA ExtendedStorage to download a specific test result from QC 11 to my PC. I need to get this component working as it's part of a larger solution I'm working on. What I am trying to do is:
I want to be able to download a specified file from the quality center repository to my local machine. I know the exact filepath where the file is saved on the repository so this should be simple using OTA, however nothing is happening when I execute the code below:
I've only ever saved things to QC with the extendedstorage object, but putting a watch on serverpath does show it as a local drive letter from the server's point of view, so I don't think that's the problem. It doesn't include a trailing \ at the end of the test dir, maybe that's it?
Has your QC admin enabled ExtendedStorageAccess? Requires a setting in the admin panel called DISABLE_EXTENDED_STORAGE set to "N".
Try just doing a TestStorage.Load "", True to get the entire directory, to see if it's just not liking the file filter.
You could also use LoadEx instead of just Load and see if it spits out an error.
Thanks for your suggestions - I'll also post in the QC forum to see if anyone there has an idea.
As per my understanding (although the OTA documentation is rather poor) the ExtendedStorage.ServerPath should be the folder path on the QC server where the repository item is located, so the value in there is correct.
I've added the DISABLE_EXTENDED_STORAGE, I know this is working because previously it was throwing an error saying it wasn't enabled.
I've tried this with various combinaitons of the "\", including what you've suggested but not had any luck. Load or LoadEx doesn't seem to work either. It's not throwing any errors which is not helping me get any further in resolving this!