QTP Question 26: How to Import data from a ".xls" file to Data table during Runtime
How to Import data from a ".xls" file to Data table during Runtime?
Datatable.Import "...XLS file name..."
DataTable.ImportSheet(FileName, SheetSource, SheetDest)
DataTable.ImportSheet "C:\name.xls" ,1 ,"name"
Datatable.Import "...XLS file name..."
DataTable.ImportSheet(FileName, SheetSource, SheetDest)
DataTable.ImportSheet "C:\name.xls" ,1 ,"name"
3 Comments:
Nice info on qtp. I have created a blgo for automation testing. http://testautomationconcepts.blogspot.com/
By Razor, at 9:13 AM
If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?
By chitra, at 4:48 AM
nice qtp blog. jus started a blog (partly about testing) and I had no idea there was so much info to find (I'm more of a forum guy). if only I had known some years ago.
my blog: http://the-koala-egg.blogspot.com/
By PartyPete, at 8:51 AM
Post a Comment
<< Home