in qtp we have the function called datatable.importsheet
datatable.ImportSheet "C:raja.xls",2,global
first parameter is path of the file, second parameter is in that file which sheet i.e. 2 means second sheet, third parameter is in our datatable which sheet u want in global sheet so i wrote global, if u want in action1 u can write there as action1 or that action name.
In QTP, How to Import data from an external files (I want to display external file data's into Global Sheet)....?
Profile Answers by JasmineRaj Questions by JasmineRaj
Questions by JasmineRaj