Arunpradeep Anbuselvan
unread,Aug 2, 2011, 9:31:49 AM8/2/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to QTP - HP Quick Test Professional - Automated Software Testing
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.