Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to create a suitable loop
#5
Solved: 11 Years, 3 Months, 3 Weeks ago
The file has stored the correct numbers. And the local column is also ok in default.xls.
There seems to be a problem with the import line. If I comment out this line, QTP is working correctly. But I need this external sheet, because it is a working number, which is always regenerated.

How can I avoid this problem?


Code:
DataTable.ImportSheet "C:\Programme\HP\QuickTest Professional\Tests\erzeugteAuftragsnr.xls","auftrag_erstellen",Global  <--- <--- <--- <--- <--- <---

Dim intAuftragsnr, intZeilenGesamt, intAktuelleEORI

intAuftragsnr = DataTable("erzeugte_nr",Global)
intTestnr = Right (intAuftragsnr,4)

intZeilenGesamt = DataTable.GetSheet("Action_eori_schleife").GetRowCount
msgbox intZeilenGesamt
~
~
~
Reply


Messages In This Thread
how to create a suitable loop - by zivit_i14 - 01-13-2012, 11:25 PM
RE: how to create a suitable loop - by sshukla12 - 01-16-2012, 10:37 AM
RE: how to create a suitable loop - by zivit_i14 - 01-16-2012, 07:55 PM
RE: how to create a suitable loop - by Saket - 01-17-2012, 11:40 AM
RE: how to create a suitable loop - by zivit_i14 - 01-17-2012, 02:42 PM
RE: how to create a suitable loop - by anil2u - 01-20-2012, 10:30 AM
RE: how to create a suitable loop - by zivit_i14 - 01-20-2012, 01:37 PM
RE: how to create a suitable loop - by anil2u - 01-20-2012, 07:12 PM
RE: how to create a suitable loop - by zivit_i14 - 01-23-2012, 01:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is QTP suitable for banking apps? hulan 1 3,318 10-20-2016, 05:16 PM
Last Post: Ankur
  FOR LOOP shayk1985 1 5,301 12-13-2012, 11:35 AM
Last Post: sams001
  How to exit from a for loop silpavinod 2 9,873 10-17-2012, 12:55 AM
Last Post: agarwl.anurag
  for loop sia sharma 1 3,340 09-13-2012, 11:44 AM
Last Post: ksrikanth2k9
  Help with Loop LJENNE 1 3,187 08-10-2012, 12:32 PM
Last Post: Ankesh

Forum Jump:


Users browsing this thread: 2 Guest(s)