Hello Every one ,
I am facing issues for the below scenario:
Import two excel, one after another
I used - DataTable.Import(FileName) method to execute the above scenario ,however , while importing test2.xls , QTP throws an error " a general error occured while importing file"
I have already double checked the file path/name & nothing seems to look wrong .
Experts please advise !
Why not try using test1.xls and close the same file. Then open test2.xls and extract the value.
Winds of Change
Clear all formatting from your excel sheet and then try to import again.
Note that you will have to restart QTP every time you get this General Error.
Ganesh/Raj - thanks for the suggestions . It was an excel formatting issue ..