This runs for only 1st row in global sheet.
So this is a serious bug?
ImortSheet works perfectly well though!
P.S:I have set "Run on all rows" option in File>Settings.
<font color="blue">[i]If there is no struggle, there is no progress!
Buy the NEW QTP Descriptive Programming Unplugged Book
** Download QTP Unplugged 2nd Edition eBook for FREE **
Thanks, that's a silly mistake from me
on the contrary, when we use "ImportSheet", the currentRow is not reset everytime the sheet is loaded , so that should be the bug then
Not a bug. Just load it only once.
<font class="small">Code:</font><hr /><pre>
If Environment("ActionIteration") = 1 Then
DataTable.ImportSheet "E:\Testing\Framework\Data\dt.xls" ,1 ,"Global"
End If</pre><hr />
what i meant is, if i write
It works perfectly though in every iteration same sheet is copied. In other words CurrentRow is NOT reset unlike Import method
Sorry, I don't understand your issue :-)
Can't call it as bug as the behavior is not documented.