Iam storing Results in QTP Global data sheet,at the end of the test am using the code
But this is working fine till yesterday,But today its throwing an error saying "A General error occured while exporting data to...."
And the err.number output is <font color="red"> -2147467259
Can any body clarify this.
DataTable.Exportsheet "C:\a.xls", "Action1"
DataTable.Exportsheet "C:\a.xls", tdLocalSheet
Delete the existing sheet and then try to run it.
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **
General run error
error # -2147467259, how to fix it??
You may be calling a function with incorrect parameters. Please cross check your script. http://aqtptutorial.blogspot.com/
I have posted about the same on my blog... please go through it. http://automatingsap.blogspot.in/201...ortimport.html
I'm not sure if the column names have to match when doing an export to a workbook. Maybe that has something to do with it.
When in Florida, Don't Tampa with the code. I made this up.