I have Test data sheet attached in the QC test plan module as attachment in one folder.I want to import sheet to local drive using QTP script.
Thanks for your help in advance.
For example i have smoke_test1 script attached in the testdata folder in test plan module. I want to import that seet into local drive in my PC using QTP Script.
Using Attachments and AttachmentFactory on TestFactory object, you can get reference to your attachment. Then use LoadEx or Load method to download to local drive.
I do not have code handy but there is an example in OTA documentation.