Box.net is a premium online file storage service and provides its API free of cost to developers. After having used a free SMS API for sending SMS via QTP, I was now destined to upload files using Box.net's API in Quick Test Professional. It took me a few days to figure out the entire process as the sample codes were not available for use in vb-script.
Before we begin to understand the code, i will discuss as to how you can get the free API access from Box.net. All you need is to visit http://www.box.net/developers
and signup and once you have logged in, click on the "Start New Application" from the right hand side navigation bar and follow the instructions. This will ask you about the application you wish to develop and some other information. Fill all the details after which you will see the listed API key there. Note down the API key.