Forum Discussion
tristaanogre
12 years agoEsteemed Contributor
The index in TestItem is zero based... so, ItemCount is always going to be one too high.
Change to
and see if that helps
Change to
if Project.TestItems.Current.Name = Project.TestItems.Current.Parent.TestItem(Project.TestItems.Current.Parent.ItemCount-1).Nameand see if that helps