Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP DataTable.Import Issue
#1
Not Solved
Hi,

I am trying to import data from xls file using DataTable.Import statement.

But while running it is executing for first row only.
eg: if my xls contains 4 rows then it will run 4 times for first row only.

Settings:
In run settings I have selected "Run for all rows" then also same pronlem

And I have tried below mentioned code also but I can not use that becuase I am using Recovery Scenario, in which I am closing all browser & giving "Proceed to next iteration"
rowcount = Datatable.Getrowcount
For i = 1 to rowcount
Datatable.SetCurrentrow(i)
****Code*****
Next


Thanks & Regards,
Neha Singh
Reply


Messages In This Thread
QTP DataTable.Import Issue - by Neha Singh - 09-13-2010, 12:37 PM
RE: QTP DataTable.Import Issue - by Prafulla - 09-13-2010, 12:42 PM
RE: QTP DataTable.Import Issue - by Neha Singh - 09-13-2010, 01:36 PM
RE: QTP DataTable.Import Issue - by Prafulla - 09-13-2010, 03:51 PM
RE: QTP DataTable.Import Issue - by jsknight1969 - 09-13-2010, 09:27 PM
RE: QTP DataTable.Import Issue - by uma87 - 08-26-2011, 04:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  DataTable Import or Excel Object Automation_learner 1 1,678 11-15-2017, 03:56 PM
Last Post: Ankur
  Getting unexpected Pop up message while using Datatable.import Punam K 2 3,980 08-20-2011, 08:48 PM
Last Post: Arul
  Code to export and import tests in qtp tpragnya 0 2,916 08-17-2011, 08:06 PM
Last Post: tpragnya
  how to import xls file from qc frebuffi 0 3,115 04-27-2011, 07:38 PM
Last Post: frebuffi
  Import automated test cases from Excel VladVin 0 3,942 09-09-2009, 01:09 AM
Last Post: VladVin

Forum Jump:


Users browsing this thread: 4 Guest(s)