Quantcast
Viewing all articles
Browse latest Browse all 14708

Re: How to get the attachment file on OTA Client API for HP ALM 11 ? Adding image to document

Two points to address:

First, given the value you receive for ServerFileName reference a drive on the server, you would need to convert the information to make the path resolvable from the system where you code executes. When the system executing the code attempts to resolve the path and it contains a drive letter, the system will interpret that as a drive accessible on that system, not as a reference to a drive on another system. So, you cannot use the ServerFileName value as it is to get the file, unless your code is executing on the ALM server itself.

Second, please provide a new copy of your code since you implemented the Load method. If you have not changed it from trying to use the ServerFileName value to using the location where you downloaded the file, then of course it won't work. Also, provide the exact text of the error message you are getting, and indicate which line of code is raising the error.


Viewing all articles
Browse latest Browse all 14708

Trending Articles