Hi,

I want to import the data from the QC Test Resources to QTP datasheet.
I have used below piece of code but getting the error message saying
"The DataTable.ImportSheet operation failed. Invalid file." The
"strExcelPath" string is displaying the local path.

strExcelPath=PathFinder.Locate("[QualityCenter\Resources] Resources
\BPT Resources\AutoTestscript3_POC.xls")
Msgbox strExcelPath
DataTable.ImportSheet strExcelPath ,"CA" ,"StateSpecific"

Could somone help me out to get rid of this error.

Earlier I tried with importing excelsheet from QC Test Plan
attachments section but it didnt worked.

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to