01-17-2012, 02:42 PM
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?
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
~
~
~